X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/6cde4d1d7e444d3471f7329153c2d18f8daac85f..ba802064109d19f3488e5555ec04491681e37b51:/SL/DB/MetaSetup/OrderItem.pm diff --git a/SL/DB/MetaSetup/OrderItem.pm b/SL/DB/MetaSetup/OrderItem.pm index e3a66d531..85bf5bee6 100644 --- a/SL/DB/MetaSetup/OrderItem.pm +++ b/SL/DB/MetaSetup/OrderItem.pm @@ -9,29 +9,29 @@ use base qw(SL::DB::Object); __PACKAGE__->meta->table('orderitems'); __PACKAGE__->meta->columns( - base_qty => { type => 'float', precision => 4 }, + base_qty => { type => 'float', scale => 4 }, cusordnumber => { type => 'text' }, description => { type => 'text' }, - discount => { type => 'float', precision => 4 }, + discount => { type => 'float', scale => 4 }, id => { type => 'integer', not_null => 1, sequence => 'orderitemsid' }, itime => { type => 'timestamp', default => 'now()' }, - lastcost => { type => 'numeric', precision => 5, scale => 15 }, + lastcost => { type => 'numeric', precision => 15, scale => 5 }, longdescription => { type => 'text' }, - marge_percent => { type => 'numeric', precision => 5, scale => 15 }, - marge_price_factor => { type => 'numeric', default => 1, precision => 5, scale => 15 }, - marge_total => { type => 'numeric', precision => 5, scale => 15 }, + marge_percent => { type => 'numeric', precision => 15, scale => 5 }, + marge_price_factor => { type => 'numeric', default => 1, precision => 15, scale => 5 }, + marge_total => { type => 'numeric', precision => 15, scale => 5 }, mtime => { type => 'timestamp' }, ordnumber => { type => 'text' }, parts_id => { type => 'integer' }, - price_factor => { type => 'numeric', default => 1, precision => 5, scale => 15 }, + price_factor => { type => 'numeric', default => 1, precision => 15, scale => 5 }, price_factor_id => { type => 'integer' }, pricegroup_id => { type => 'integer' }, project_id => { type => 'integer' }, - qty => { type => 'float', precision => 4 }, + qty => { type => 'float', scale => 4 }, reqdate => { type => 'date' }, - sellprice => { type => 'numeric', precision => 5, scale => 15 }, + sellprice => { type => 'numeric', precision => 15, scale => 5 }, serialnumber => { type => 'text' }, - ship => { type => 'float', precision => 4 }, + ship => { type => 'float', scale => 4 }, subtotal => { type => 'boolean', default => 'false' }, trans_id => { type => 'integer' }, transdate => { type => 'text' },