Revision f3842deb
Von Tamino Steinert vor etwa 1 Jahr hinzugefügt
SL/Controller/DeliveryOrder.pm | ||
---|---|---|
182 | 182 |
# make new order from given orders |
183 | 183 |
my @multi_orders = map { SL::DB::DeliveryOrder->new(id => $_)->load } @multi_ids; |
184 | 184 |
$self->{converted_from_oe_id} = join ' ', map { $_->id } @multi_orders; |
185 |
my $target_type = "sales_delivery_order";
|
|
185 |
my $target_type = SALES_DELIVERY_ORDER_TYPE();
|
|
186 | 186 |
my $delivery_order = SL::Model::Record->new_from_workflow_multi(\@multi_orders, $target_type, sort_sources_by => 'transdate'); |
187 | 187 |
$self->order($delivery_order); |
188 | 188 |
|
Auch abrufbar als: Unified diff
TypeData: nutzte Konstanten anstatt String für Typen