Revision f228ac9b
Von Moritz Bunkus vor mehr als 5 Jahren hinzugefügt
SL/DB/MetaSetup/Assembly.pm | ||
---|---|---|
16 | 16 |
mtime => { type => 'timestamp' }, |
17 | 17 |
parts_id => { type => 'integer', not_null => 1 }, |
18 | 18 |
position => { type => 'integer' }, |
19 |
qty => { type => 'float', scale => 4 }, |
|
19 |
qty => { type => 'float', precision => 4, scale => 4 },
|
|
20 | 20 |
); |
21 | 21 |
|
22 | 22 |
__PACKAGE__->meta->primary_key_columns([ 'assembly_id' ]); |
SL/DB/MetaSetup/AssortmentItem.pm | ||
---|---|---|
15 | 15 |
mtime => { type => 'timestamp' }, |
16 | 16 |
parts_id => { type => 'integer', not_null => 1 }, |
17 | 17 |
position => { type => 'integer', not_null => 1 }, |
18 |
qty => { type => 'float', not_null => 1, scale => 4 }, |
|
18 |
qty => { type => 'float', not_null => 1, precision => 4, scale => 4 },
|
|
19 | 19 |
unit => { type => 'varchar', length => 20, not_null => 1 }, |
20 | 20 |
); |
21 | 21 |
|
SL/DB/MetaSetup/Business.pm | ||
---|---|---|
11 | 11 |
__PACKAGE__->meta->columns( |
12 | 12 |
customernumberinit => { type => 'text' }, |
13 | 13 |
description => { type => 'text' }, |
14 |
discount => { type => 'float', scale => 4 }, |
|
14 |
discount => { type => 'float', precision => 4, scale => 4 },
|
|
15 | 15 |
id => { type => 'integer', not_null => 1, sequence => 'id' }, |
16 | 16 |
itime => { type => 'timestamp', default => 'now()' }, |
17 | 17 |
mtime => { type => 'timestamp' }, |
SL/DB/MetaSetup/DeliveryOrderItem.pm | ||
---|---|---|
11 | 11 |
__PACKAGE__->meta->columns( |
12 | 12 |
active_discount_source => { type => 'text', default => '', not_null => 1 }, |
13 | 13 |
active_price_source => { type => 'text', default => '', not_null => 1 }, |
14 |
base_qty => { type => 'float', scale => 4 }, |
|
14 |
base_qty => { type => 'float', precision => 4, scale => 4 },
|
|
15 | 15 |
cusordnumber => { type => 'text' }, |
16 | 16 |
delivery_order_id => { type => 'integer', not_null => 1 }, |
17 | 17 |
description => { type => 'text' }, |
18 |
discount => { type => 'float', scale => 4 }, |
|
18 |
discount => { type => 'float', precision => 4, scale => 4 },
|
|
19 | 19 |
id => { type => 'integer', not_null => 1, sequence => 'delivery_order_items_id' }, |
20 | 20 |
itime => { type => 'timestamp', default => 'now()' }, |
21 | 21 |
lastcost => { type => 'numeric', precision => 15, scale => 5 }, |
SL/DB/MetaSetup/InvoiceItem.pm | ||
---|---|---|
11 | 11 |
__PACKAGE__->meta->columns( |
12 | 12 |
active_discount_source => { type => 'text', default => '', not_null => 1 }, |
13 | 13 |
active_price_source => { type => 'text', default => '', not_null => 1 }, |
14 |
allocated => { type => 'float', scale => 4 }, |
|
14 |
allocated => { type => 'float', precision => 4, scale => 4 },
|
|
15 | 15 |
assemblyitem => { type => 'boolean', default => 'false' }, |
16 |
base_qty => { type => 'float', scale => 4 }, |
|
16 |
base_qty => { type => 'float', precision => 4, scale => 4 },
|
|
17 | 17 |
cusordnumber => { type => 'text' }, |
18 | 18 |
deliverydate => { type => 'date' }, |
19 | 19 |
description => { type => 'text' }, |
20 |
discount => { type => 'float', scale => 4 }, |
|
20 |
discount => { type => 'float', precision => 4, scale => 4 },
|
|
21 | 21 |
donumber => { type => 'text' }, |
22 | 22 |
fxsellprice => { type => 'numeric', precision => 15, scale => 5 }, |
23 | 23 |
id => { type => 'integer', not_null => 1, sequence => 'invoiceid' }, |
... | ... | |
35 | 35 |
price_factor_id => { type => 'integer' }, |
36 | 36 |
pricegroup_id => { type => 'integer' }, |
37 | 37 |
project_id => { type => 'integer' }, |
38 |
qty => { type => 'float', scale => 4 }, |
|
38 |
qty => { type => 'float', precision => 4, scale => 4 },
|
|
39 | 39 |
sellprice => { type => 'numeric', precision => 15, scale => 5 }, |
40 | 40 |
serialnumber => { type => 'text' }, |
41 | 41 |
subtotal => { type => 'boolean', default => 'false' }, |
SL/DB/MetaSetup/OrderItem.pm | ||
---|---|---|
11 | 11 |
__PACKAGE__->meta->columns( |
12 | 12 |
active_discount_source => { type => 'text', default => '', not_null => 1 }, |
13 | 13 |
active_price_source => { type => 'text', default => '', not_null => 1 }, |
14 |
base_qty => { type => 'float', scale => 4 }, |
|
14 |
base_qty => { type => 'float', precision => 4, scale => 4 },
|
|
15 | 15 |
cusordnumber => { type => 'text' }, |
16 | 16 |
description => { type => 'text' }, |
17 |
discount => { type => 'float', scale => 4 }, |
|
17 |
discount => { type => 'float', precision => 4, scale => 4 },
|
|
18 | 18 |
id => { type => 'integer', not_null => 1, sequence => 'orderitemsid' }, |
19 | 19 |
itime => { type => 'timestamp', default => 'now()' }, |
20 | 20 |
lastcost => { type => 'numeric', precision => 15, scale => 5 }, |
... | ... | |
30 | 30 |
price_factor_id => { type => 'integer' }, |
31 | 31 |
pricegroup_id => { type => 'integer' }, |
32 | 32 |
project_id => { type => 'integer' }, |
33 |
qty => { type => 'float', scale => 4 }, |
|
33 |
qty => { type => 'float', precision => 4, scale => 4 },
|
|
34 | 34 |
reqdate => { type => 'date' }, |
35 | 35 |
sellprice => { type => 'numeric', precision => 15, scale => 5 }, |
36 | 36 |
serialnumber => { type => 'text' }, |
37 |
ship => { type => 'float', scale => 4 }, |
|
37 |
ship => { type => 'float', precision => 4, scale => 4 },
|
|
38 | 38 |
subtotal => { type => 'boolean', default => 'false' }, |
39 | 39 |
trans_id => { type => 'integer' }, |
40 | 40 |
transdate => { type => 'text' }, |
SL/DB/MetaSetup/PaymentTerm.pm | ||
---|---|---|
17 | 17 |
itime => { type => 'timestamp', default => 'now()' }, |
18 | 18 |
mtime => { type => 'timestamp' }, |
19 | 19 |
obsolete => { type => 'boolean', default => 'false' }, |
20 |
percent_skonto => { type => 'float', scale => 4 }, |
|
20 |
percent_skonto => { type => 'float', precision => 4, scale => 4 },
|
|
21 | 21 |
sortkey => { type => 'integer', not_null => 1 }, |
22 | 22 |
terms_netto => { type => 'integer' }, |
23 | 23 |
terms_skonto => { type => 'integer' }, |
SL/DB/MetaSetup/Vendor.pm | ||
---|---|---|
26 | 26 |
department_2 => { type => 'text' }, |
27 | 27 |
depositor => { type => 'text' }, |
28 | 28 |
direct_debit => { type => 'boolean', default => 'false' }, |
29 |
discount => { type => 'float', scale => 4 }, |
|
29 |
discount => { type => 'float', precision => 4, scale => 4 },
|
|
30 | 30 |
email => { type => 'text' }, |
31 | 31 |
fax => { type => 'text' }, |
32 | 32 |
gln => { type => 'text' }, |
Auch abrufbar als: Unified diff
Rose: MetaSetups bzgl. Fließkommazahlen erneuert