]> wagnertech.de Git - kivitendo-erp.git/blobdiff - SL/DB/MetaSetup/Inventory.pm
Drucken: Variablen in Positionen interpolieren
[kivitendo-erp.git] / SL / DB / MetaSetup / Inventory.pm
index b9df3fb08f0dc3d79f3ed4f98884eb84cba9e3fa..25530047b630759343e5ad9ea7dd45afdecbd2dc 100644 (file)
@@ -4,7 +4,7 @@ package SL::DB::Inventory;
 
 use strict;
 
-use base qw(SL::DB::Object);
+use parent qw(SL::DB::Object);
 
 __PACKAGE__->meta->table('inventory');
 
@@ -23,7 +23,7 @@ __PACKAGE__->meta->columns(
   parts_id                      => { type => 'integer', not_null => 1 },
   project_id                    => { type => 'integer' },
   qty                           => { type => 'numeric', precision => 25, scale => 5 },
-  shippingdate                  => { type => 'date' },
+  shippingdate                  => { type => 'date', not_null => 1 },
   trans_id                      => { type => 'integer', not_null => 1 },
   trans_type_id                 => { type => 'integer', not_null => 1 },
   warehouse_id                  => { type => 'integer', not_null => 1 },