mtime => { type => 'timestamp' },
parts_id => { type => 'integer', not_null => 1 },
position => { type => 'integer' },
- qty => { type => 'float', scale => 4 },
+ qty => { type => 'float', precision => 4, scale => 4 },
);
__PACKAGE__->meta->primary_key_columns([ 'assembly_id' ]);
mtime => { type => 'timestamp' },
parts_id => { type => 'integer', not_null => 1 },
position => { type => 'integer', not_null => 1 },
- qty => { type => 'float', not_null => 1, scale => 4 },
+ qty => { type => 'float', not_null => 1, precision => 4, scale => 4 },
unit => { type => 'varchar', length => 20, not_null => 1 },
);
__PACKAGE__->meta->columns(
customernumberinit => { type => 'text' },
description => { type => 'text' },
- discount => { type => 'float', scale => 4 },
+ discount => { type => 'float', precision => 4, scale => 4 },
id => { type => 'integer', not_null => 1, sequence => 'id' },
itime => { type => 'timestamp', default => 'now()' },
mtime => { type => 'timestamp' },
__PACKAGE__->meta->columns(
active_discount_source => { type => 'text', default => '', not_null => 1 },
active_price_source => { type => 'text', default => '', not_null => 1 },
- base_qty => { type => 'float', scale => 4 },
+ base_qty => { type => 'float', precision => 4, scale => 4 },
cusordnumber => { type => 'text' },
delivery_order_id => { type => 'integer', not_null => 1 },
description => { type => 'text' },
- discount => { type => 'float', scale => 4 },
+ discount => { type => 'float', precision => 4, scale => 4 },
id => { type => 'integer', not_null => 1, sequence => 'delivery_order_items_id' },
itime => { type => 'timestamp', default => 'now()' },
lastcost => { type => 'numeric', precision => 15, scale => 5 },
__PACKAGE__->meta->columns(
active_discount_source => { type => 'text', default => '', not_null => 1 },
active_price_source => { type => 'text', default => '', not_null => 1 },
- allocated => { type => 'float', scale => 4 },
+ allocated => { type => 'float', precision => 4, scale => 4 },
assemblyitem => { type => 'boolean', default => 'false' },
- base_qty => { type => 'float', scale => 4 },
+ base_qty => { type => 'float', precision => 4, scale => 4 },
cusordnumber => { type => 'text' },
deliverydate => { type => 'date' },
description => { type => 'text' },
- discount => { type => 'float', scale => 4 },
+ discount => { type => 'float', precision => 4, scale => 4 },
donumber => { type => 'text' },
fxsellprice => { type => 'numeric', precision => 15, scale => 5 },
id => { type => 'integer', not_null => 1, sequence => 'invoiceid' },
price_factor_id => { type => 'integer' },
pricegroup_id => { type => 'integer' },
project_id => { type => 'integer' },
- qty => { type => 'float', scale => 4 },
+ qty => { type => 'float', precision => 4, scale => 4 },
sellprice => { type => 'numeric', precision => 15, scale => 5 },
serialnumber => { type => 'text' },
subtotal => { type => 'boolean', default => 'false' },
__PACKAGE__->meta->columns(
active_discount_source => { type => 'text', default => '', not_null => 1 },
active_price_source => { type => 'text', default => '', not_null => 1 },
- base_qty => { type => 'float', scale => 4 },
+ base_qty => { type => 'float', precision => 4, scale => 4 },
cusordnumber => { type => 'text' },
description => { type => 'text' },
- discount => { type => 'float', scale => 4 },
+ discount => { type => 'float', precision => 4, scale => 4 },
id => { type => 'integer', not_null => 1, sequence => 'orderitemsid' },
itime => { type => 'timestamp', default => 'now()' },
lastcost => { type => 'numeric', precision => 15, scale => 5 },
price_factor_id => { type => 'integer' },
pricegroup_id => { type => 'integer' },
project_id => { type => 'integer' },
- qty => { type => 'float', scale => 4 },
+ qty => { type => 'float', precision => 4, scale => 4 },
reqdate => { type => 'date' },
sellprice => { type => 'numeric', precision => 15, scale => 5 },
serialnumber => { type => 'text' },
- ship => { type => 'float', scale => 4 },
+ ship => { type => 'float', precision => 4, scale => 4 },
subtotal => { type => 'boolean', default => 'false' },
trans_id => { type => 'integer' },
transdate => { type => 'text' },
itime => { type => 'timestamp', default => 'now()' },
mtime => { type => 'timestamp' },
obsolete => { type => 'boolean', default => 'false' },
- percent_skonto => { type => 'float', scale => 4 },
+ percent_skonto => { type => 'float', precision => 4, scale => 4 },
sortkey => { type => 'integer', not_null => 1 },
terms_netto => { type => 'integer' },
terms_skonto => { type => 'integer' },
department_2 => { type => 'text' },
depositor => { type => 'text' },
direct_debit => { type => 'boolean', default => 'false' },
- discount => { type => 'float', scale => 4 },
+ discount => { type => 'float', precision => 4, scale => 4 },
email => { type => 'text' },
fax => { type => 'text' },
gln => { type => 'text' },