Revision 3bcd9c94
Von Sven Schöling vor etwa 10 Jahren hinzugefügt
SL/Controller/PriceSource.pm | ||
---|---|---|
72 | 72 |
|
73 | 73 |
my $class = { |
74 | 74 |
sales_order => 'OrderItem', |
75 |
purchase_oder => 'OrderItem',
|
|
75 |
purchase_order => 'OrderItem',
|
|
76 | 76 |
sales_quotation => 'OrderItem', |
77 | 77 |
request_quotation => 'OrderItem', |
78 | 78 |
invoice => 'InvoiceItem', |
... | ... | |
117 | 117 |
purchase_oder => 'Order', |
118 | 118 |
sales_quotation => 'Order', |
119 | 119 |
request_quotation => 'Order', |
120 |
invoice => 'Invoice', |
|
121 |
purchase_invoice => 'PurchaseInvoice', |
|
120 | 122 |
purchase_delivery_order => 'DeliveryOrder', |
121 | 123 |
sales_delivery_order => 'DeliveryOrder', |
122 | 124 |
}->{$::form->{type}}; |
Auch abrufbar als: Unified diff
PriceSource: record objekte im Einkauf korrekt bauen