Revision 0b6157e2
Von Jan Büren vor fast 10 Jahren hinzugefügt
SL/DO.pm | ||
---|---|---|
403 | 403 |
name_prefix => 'ic_', |
404 | 404 |
name_postfix => "_$i", |
405 | 405 |
dbh => $dbh); |
406 |
# link order items with doi |
|
407 |
if ($form->{"converted_from_order_orderitems_id_$i"}) { |
|
408 |
RecordLinks->create_links('dbh' => $dbh, |
|
409 |
'mode' => 'ids', |
|
410 |
'from_table' => 'orderitems', |
|
411 |
'from_ids' => $form->{"converted_from_order_orderitems_id_$i"}, |
|
412 |
'to_table' => 'delivery_order_items', |
|
413 |
'to_id' => $form->{"delivery_order_items_id_$i"}, |
|
414 |
); |
|
415 |
delete $form->{"converted_from_order_orderitems_id_$i"}; |
|
416 |
} |
|
406 | 417 |
} |
407 | 418 |
|
408 | 419 |
# 1. search for orphaned dois; processed_dois may be empty (no transfer) TODO: be supersafe and alter same statement for doi and oi |
Auch abrufbar als: Unified diff
Positionen verknüpfen Auftrag -> Lieferschein