Revision 6c8fcdb1
Von Bernd Bleßmann vor mehr als 1 Jahr hinzugefügt
SL/DB/Manager/Order.pm | ||
---|---|---|
30 | 30 |
|
31 | 31 |
return (and => [ "!${prefix}customer_id" => undef, "${prefix}quotation" => 1 ]) if $type eq 'sales_quotation'; |
32 | 32 |
return (and => [ "!${prefix}vendor_id" => undef, "${prefix}quotation" => 1 ]) if $type eq 'request_quotation'; |
33 |
return (and => [ "!${prefix}customer_id" => undef, "${prefix}intake" => 1 ]) if $type eq 'sales_order_intake'; |
|
33 | 34 |
return (and => [ "!${prefix}customer_id" => undef, or => [ "${prefix}quotation" => 0, "${prefix}quotation" => undef ] ]) if $type eq 'sales_order'; |
34 | 35 |
return (and => [ "!${prefix}vendor_id" => undef, or => [ "${prefix}quotation" => 0, "${prefix}quotation" => undef ] ]) if $type eq 'purchase_order'; |
35 | 36 |
|
Auch abrufbar als: Unified diff
Auftrags-Eingang: DB und Nummernkreis