Revision 89b26688
Von Sven Schöling vor fast 10 Jahren hinzugefügt
SL/DB/MetaSetup/DeliveryOrderItem.pm | ||
---|---|---|
9 | 9 |
__PACKAGE__->meta->table('delivery_order_items'); |
10 | 10 |
|
11 | 11 |
__PACKAGE__->meta->columns( |
12 |
base_qty => { type => 'float', scale => 4 }, |
|
13 |
cusordnumber => { type => 'text' }, |
|
14 |
delivery_order_id => { type => 'integer', not_null => 1 }, |
|
15 |
description => { type => 'text' }, |
|
16 |
discount => { type => 'float', scale => 4 }, |
|
17 |
id => { type => 'integer', not_null => 1, sequence => 'delivery_order_items_id' }, |
|
18 |
itime => { type => 'timestamp', default => 'now()' }, |
|
19 |
lastcost => { type => 'numeric', precision => 15, scale => 5 }, |
|
20 |
longdescription => { type => 'text' }, |
|
21 |
marge_price_factor => { type => 'numeric', default => 1, precision => 15, scale => 5 }, |
|
22 |
mtime => { type => 'timestamp' }, |
|
23 |
ordnumber => { type => 'text' }, |
|
24 |
parts_id => { type => 'integer', not_null => 1 }, |
|
25 |
price_factor => { type => 'numeric', default => 1, precision => 15, scale => 5 }, |
|
26 |
price_factor_id => { type => 'integer' }, |
|
27 |
pricegroup_id => { type => 'integer' }, |
|
28 |
project_id => { type => 'integer' }, |
|
29 |
qty => { type => 'numeric', precision => 25, scale => 5 }, |
|
30 |
reqdate => { type => 'date' }, |
|
31 |
sellprice => { type => 'numeric', precision => 15, scale => 5 }, |
|
32 |
serialnumber => { type => 'text' }, |
|
33 |
transdate => { type => 'text' }, |
|
34 |
unit => { type => 'varchar', length => 20 }, |
|
35 |
active_price_source => { type => 'text', default => '', not_null => 1 }, |
|
12 |
active_discount_source => { type => 'text', default => '', not_null => 1 }, |
|
13 |
active_price_source => { type => 'text', default => '', not_null => 1 }, |
|
14 |
base_qty => { type => 'float', scale => 4 }, |
|
15 |
cusordnumber => { type => 'text' }, |
|
16 |
delivery_order_id => { type => 'integer', not_null => 1 }, |
|
17 |
description => { type => 'text' }, |
|
18 |
discount => { type => 'float', scale => 4 }, |
|
19 |
id => { type => 'integer', not_null => 1, sequence => 'delivery_order_items_id' }, |
|
20 |
itime => { type => 'timestamp', default => 'now()' }, |
|
21 |
lastcost => { type => 'numeric', precision => 15, scale => 5 }, |
|
22 |
longdescription => { type => 'text' }, |
|
23 |
marge_price_factor => { type => 'numeric', default => 1, precision => 15, scale => 5 }, |
|
24 |
mtime => { type => 'timestamp' }, |
|
25 |
ordnumber => { type => 'text' }, |
|
26 |
parts_id => { type => 'integer', not_null => 1 }, |
|
27 |
price_factor => { type => 'numeric', default => 1, precision => 15, scale => 5 }, |
|
28 |
price_factor_id => { type => 'integer' }, |
|
29 |
pricegroup_id => { type => 'integer' }, |
|
30 |
project_id => { type => 'integer' }, |
|
31 |
qty => { type => 'numeric', precision => 25, scale => 5 }, |
|
32 |
reqdate => { type => 'date' }, |
|
33 |
sellprice => { type => 'numeric', precision => 15, scale => 5 }, |
|
34 |
serialnumber => { type => 'text' }, |
|
35 |
transdate => { type => 'text' }, |
|
36 |
unit => { type => 'varchar', length => 20 }, |
|
36 | 37 |
); |
37 | 38 |
|
38 | 39 |
__PACKAGE__->meta->primary_key_columns([ 'id' ]); |
Auch abrufbar als: Unified diff
PriceSource: Rabattbehandlung