Revision 78d813b9
Von G. Richardson vor etwa 7 Jahren hinzugefügt
SL/DB/Part.pm | ||
---|---|---|
413 | 413 |
sum map { $_->linetotal_lastcost } @{$self->items}; |
414 | 414 |
}; |
415 | 415 |
|
416 |
sub assortment_lastcost_sum { |
|
417 |
my ($self) = @_; |
|
418 |
|
|
419 |
return unless $self->is_assortment; |
|
420 |
sum map { $_->linetotal_lastcost } @{$self->assortment_items}; |
|
421 |
}; |
|
422 |
|
|
423 | 416 |
1; |
424 | 417 |
|
425 | 418 |
__END__ |
... | ... | |
562 | 555 |
Please note, that this is a write only accessor, the original Buchungsgruppe can |
563 | 556 |
not be retrieved from an article once set. |
564 | 557 |
|
565 |
=item C<assembly_sellprice_sum> |
|
566 |
|
|
567 |
Non-recursive sellprice sum of all the assembly item sellprices. |
|
568 |
|
|
569 |
=item C<assortment_sellprice_sum> |
|
570 |
|
|
571 |
Non-recursive sellprice sum of all the assortment item sellprices. |
|
572 |
|
|
573 |
=item C<assembly_lastcost_sum> |
|
574 |
|
|
575 |
Non-recursive lastcost sum of all the assembly item lastcosts. |
|
576 |
|
|
577 |
=item C<assortment_lastcost_sum> |
|
558 |
=item C<items_lastcost_sum> |
|
578 | 559 |
|
579 |
Non-recursive lastcost sum of all the assortment item lastcosts.
|
|
560 |
Non-recursive lastcost sum of all the items in an assembly or assortment.
|
|
580 | 561 |
|
581 | 562 |
=item C<get_stock %params> |
582 | 563 |
|
Auch abrufbar als: Unified diff
Part.pm - alte Funktion entfernt und POD angepasst
assortment_lastcost_sum und assembly_sellprice_sum wurden durch
items_lastcost_sum ersetzt.