161 |
161 |
payment_terms => $payment_term,
|
162 |
162 |
delivery_term => $delivery_term,
|
163 |
163 |
taxincluded => 0,
|
164 |
|
is_sales => 1,
|
165 |
164 |
orderitems => [ SL::Dev::Record::create_delivery_order_item(part => $parts[0], qty => 3, sellprice => 70),
|
166 |
165 |
SL::Dev::Record::create_delivery_order_item(part => $parts[1], qty => 10, sellprice => 50),
|
167 |
166 |
]
|
... | ... | |
175 |
174 |
payment_terms => $payment_term,
|
176 |
175 |
delivery_term => $delivery_term,
|
177 |
176 |
taxincluded => 0,
|
178 |
|
is_sales => 0,
|
179 |
177 |
orderitems => [ SL::Dev::Record::create_delivery_order_item(part => $parts[0], qty => 3, sellprice => 70),
|
180 |
178 |
SL::Dev::Record::create_delivery_order_item(part => $parts[1], qty => 10, sellprice => 50),
|
181 |
179 |
]
|
... | ... | |
241 |
239 |
# clean different values
|
242 |
240 |
foreach (qw(
|
243 |
241 |
customer_id vendor_id
|
244 |
|
id is_sales order_type
|
|
242 |
id order_type
|
245 |
243 |
donumber salesman_id
|
246 |
244 |
transaction_description
|
247 |
245 |
itime mtime
|
... | ... | |
291 |
289 |
"sales_delivery_order to sales_reclamation",
|
292 |
290 |
qw(
|
293 |
291 |
id employee_id itime mtime reqdate
|
294 |
|
is_sales order_type ordnumber oreqnumber
|
|
292 |
order_type ordnumber oreqnumber
|
295 |
293 |
amount exchangerate netamount
|
296 |
294 |
cp_id contact_id
|
297 |
295 |
cusordnumber cv_record_number
|
... | ... | |
311 |
309 |
"sales_reclamation to sales_delivery_order",
|
312 |
310 |
qw(
|
313 |
311 |
id employee_id itime mtime delivered reqdate
|
314 |
|
is_sales order_type ordnumber oreqnumber
|
|
312 |
order_type ordnumber oreqnumber
|
315 |
313 |
amount exchangerate netamount
|
316 |
314 |
cp_id contact_id
|
317 |
315 |
cusordnumber cv_record_number
|
... | ... | |
333 |
331 |
"purchase_delivery_order to purchase_reclamation",
|
334 |
332 |
qw(
|
335 |
333 |
id employee_id itime mtime reqdate
|
336 |
|
is_sales order_type ordnumber oreqnumber
|
|
334 |
order_type ordnumber oreqnumber
|
337 |
335 |
amount exchangerate netamount
|
338 |
336 |
cp_id contact_id
|
339 |
337 |
cusordnumber cv_record_number
|
... | ... | |
353 |
351 |
"purchase_reclamation to purchase_delivery_order",
|
354 |
352 |
qw(
|
355 |
353 |
id employee_id itime mtime delivered reqdate
|
356 |
|
is_sales order_type ordnumber oreqnumber
|
|
354 |
order_type ordnumber oreqnumber
|
357 |
355 |
amount exchangerate netamount
|
358 |
356 |
cp_id contact_id
|
359 |
357 |
cusordnumber cv_record_number
|
Refs #490: Lieferschein: entferne alle Verweise auf 'is_sales'