Revision d658ca1a
Von Bernd Bleßmann vor fast 2 Jahren hinzugefügt
SL/Controller/Order.pm | ||
---|---|---|
103 | 103 |
my $target_type = $reclamation->is_sales ? SALES_ORDER_TYPE() |
104 | 104 |
: PURCHASE_ORDER_TYPE(); |
105 | 105 |
my $order = SL::Model::Record->new_from_workflow($reclamation, ref($self->order), $target_type); |
106 |
$self->{converted_from_reclamation_id} = $::form->{from_id}; |
|
106 |
|
|
107 |
$self->{converted_from_reclamation_id} = $order->{ RECORD_ID() }; |
|
108 |
$_ ->{converted_from_reclamation_items_id} = $_ ->{ RECORD_ITEM_ID() } for @{ $order->items_sorted }; |
|
107 | 109 |
|
108 | 110 |
$self->order($order); |
109 | 111 |
|
Auch abrufbar als: Unified diff
Order-Controller: Reklamation -> Auftrag: Positions-Verknüpfungen gefixt