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