Revision 16748495
Von Sven Schöling vor fast 3 Jahren hinzugefügt
- ID 167484953aa8b39ba4cc5a87739d0f10713c4ef3
- Vorgänger 718eaa6d
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