X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FDB%2FMetaSetup%2FDeliveryOrderItemsStock.pm;h=a3f87fbdf4f0722d20810fbee887e48c30e8c6c9;hb=4270e94242a347cfd105f876d52d1e38b5ca6a19;hp=52e78e8eca4f002a82ee0e7537aa5b44fc41fecf;hpb=b8b112a39bd601b0bc717646d78de470631da22a;p=kivitendo-erp.git diff --git a/SL/DB/MetaSetup/DeliveryOrderItemsStock.pm b/SL/DB/MetaSetup/DeliveryOrderItemsStock.pm index 52e78e8ec..a3f87fbdf 100644 --- a/SL/DB/MetaSetup/DeliveryOrderItemsStock.pm +++ b/SL/DB/MetaSetup/DeliveryOrderItemsStock.pm @@ -4,21 +4,21 @@ 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'); __PACKAGE__->meta->columns( - id => { type => 'integer', not_null => 1, sequence => 'id' }, - delivery_order_item_id => { type => 'integer', not_null => 1 }, - qty => { type => 'numeric', not_null => 1, precision => 5, scale => 15 }, - unit => { type => 'varchar', length => 20, not_null => 1 }, - warehouse_id => { type => 'integer', not_null => 1 }, + bestbefore => { type => 'date' }, bin_id => { type => 'integer', not_null => 1 }, chargenumber => { type => 'text' }, + delivery_order_item_id => { type => 'integer', not_null => 1 }, + id => { type => 'integer', not_null => 1, sequence => 'id' }, itime => { type => 'timestamp', default => 'now()' }, mtime => { type => 'timestamp' }, - bestbefore => { type => 'date' }, + 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 }, ); __PACKAGE__->meta->primary_key_columns([ 'id' ]); @@ -42,7 +42,5 @@ __PACKAGE__->meta->foreign_keys( }, ); -# __PACKAGE__->meta->initialize; - 1; ;