X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/kivitendo-erp.git/blobdiff_plain/2ea07c13e111b88478827bf621d41df3eec19dac..040aa711a11c32b18e08f048a4014310bddf074f:/SL/DB/MetaSetup/Part.pm diff --git a/SL/DB/MetaSetup/Part.pm b/SL/DB/MetaSetup/Part.pm index 2008fef80..f3c33a606 100644 --- a/SL/DB/MetaSetup/Part.pm +++ b/SL/DB/MetaSetup/Part.pm @@ -9,7 +9,6 @@ use parent qw(SL::DB::Object); __PACKAGE__->meta->table('parts'); __PACKAGE__->meta->columns( - alternate => { type => 'boolean', default => 'false' }, assembly => { type => 'boolean', default => 'false' }, bin_id => { type => 'integer' }, bom => { type => 'boolean', default => 'false' }, @@ -67,6 +66,21 @@ __PACKAGE__->meta->foreign_keys( key_columns => { buchungsgruppen_id => 'id' }, }, + expense_account => { + class => 'SL::DB::Chart', + key_columns => { expense_accno_id => 'id' }, + }, + + income_account => { + class => 'SL::DB::Chart', + key_columns => { income_accno_id => 'id' }, + }, + + inventory_account => { + class => 'SL::DB::Chart', + key_columns => { inventory_accno_id => 'id' }, + }, + partsgroup => { class => 'SL::DB::PartsGroup', key_columns => { partsgroup_id => 'id' },