X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/3eb3d1b144adb92e62de08e67dc6ff3d39bf7483..04caff2d7309da75f53424675795addff173f32c:/SL/DB/MetaSetup/DeliveryOrderItemsStock.pm diff --git a/SL/DB/MetaSetup/DeliveryOrderItemsStock.pm b/SL/DB/MetaSetup/DeliveryOrderItemsStock.pm index 4263531f6..a3f87fbdf 100644 --- a/SL/DB/MetaSetup/DeliveryOrderItemsStock.pm +++ b/SL/DB/MetaSetup/DeliveryOrderItemsStock.pm @@ -4,7 +4,7 @@ package SL::DB::DeliveryOrderItemsStock; use strict; -use base qw(SL::DB::Object); +use parent qw(SL::DB::Object); __PACKAGE__->meta->table('delivery_order_items_stock'); @@ -16,7 +16,7 @@ __PACKAGE__->meta->columns( id => { type => 'integer', not_null => 1, sequence => 'id' }, itime => { type => 'timestamp', default => 'now()' }, mtime => { type => 'timestamp' }, - qty => { type => 'numeric', not_null => 1, precision => 5, scale => 15 }, + qty => { type => 'numeric', not_null => 1, precision => 15, scale => 5 }, unit => { type => 'varchar', length => 20, not_null => 1 }, warehouse_id => { type => 'integer', not_null => 1 }, );