Revision c7c4191a
Von Sven Schöling vor fast 3 Jahren hinzugefügt
SL/DB/DeliveryOrder.pm | ||
---|---|---|
167 | 167 |
my $items = delete($params{items}) || $source->items_sorted; |
168 | 168 |
my %item_parents; |
169 | 169 |
|
170 |
my @items = map { |
|
170 |
# do not copy items when converting to supplier delivery order |
|
171 |
my @items = $delivery_order->is_type(SUPPLIER_DELIVERY_ORDER_TYPE) ? () : map { |
|
171 | 172 |
my $source_item = $_; |
172 | 173 |
my $source_item_id = $_->$item_parent_id_column; |
173 | 174 |
my @custom_variables = map { _clone_orderitem_cvar($_) } @{ $source_item->custom_variables }; |
Auch abrufbar als: Unified diff
DeliveryPlan: bei Umwandlung zu Beistelllieferschein die Positionen ignorieren