Revision a4ab1662
Von Sven Schöling vor fast 3 Jahren hinzugefügt
SL/DO.pm | ||
---|---|---|
333 | 333 |
$query = qq|SELECT nextval('id')|; |
334 | 334 |
($form->{id}) = selectrow_query($form, $dbh, $query); |
335 | 335 |
|
336 |
$query = qq|INSERT INTO delivery_orders (id, donumber, employee_id, currency_id, taxzone_id) VALUES (?, '', ?, (SELECT currency_id FROM defaults LIMIT 1), ?)|;
|
|
337 |
do_query($form, $dbh, $query, $form->{id}, conv_i($form->{employee_id}), $form->{taxzone_id}); |
|
336 |
$query = qq|INSERT INTO delivery_orders (id, donumber, employee_id, currency_id, taxzone_id, order_type) VALUES (?, '', ?, (SELECT currency_id FROM defaults LIMIT 1), ?, ?)|;
|
|
337 |
do_query($form, $dbh, $query, $form->{id}, conv_i($form->{employee_id}), $form->{taxzone_id}, SALES_DELIVERY_ORDER_TYPE);
|
|
338 | 338 |
} |
339 | 339 |
|
340 | 340 |
my $project_id; |
Auch abrufbar als: Unified diff
DO: order_type beim initialen anlegen