X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FDB%2FMetaSetup%2FVendor.pm;h=067e21adadbdcc7e82b2c03115a001c1d3841e2b;hb=1af50c02794dc8b5e495de1e5b8c739bb94f7dc5;hp=aa44b133b3dbed9141d41b2a3a6742288b447c1c;hpb=4ad83535d690476c4d279eb57741612835a3bc60;p=kivitendo-erp.git diff --git a/SL/DB/MetaSetup/Vendor.pm b/SL/DB/MetaSetup/Vendor.pm index aa44b133b..067e21ada 100644 --- a/SL/DB/MetaSetup/Vendor.pm +++ b/SL/DB/MetaSetup/Vendor.pm @@ -19,14 +19,14 @@ __PACKAGE__->meta->columns( city => { type => 'varchar', length => 75 }, contact => { type => 'varchar', length => 75 }, country => { type => 'varchar', length => 75 }, - creditlimit => { type => 'numeric', precision => 5, scale => 15 }, + creditlimit => { type => 'numeric', precision => 15, scale => 5 }, currency_id => { type => 'integer', not_null => 1 }, delivery_term_id => { type => 'integer' }, department_1 => { type => 'varchar', length => 75 }, department_2 => { type => 'varchar', length => 75 }, depositor => { type => 'text' }, direct_debit => { type => 'boolean', default => 'false' }, - discount => { type => 'float', precision => 4 }, + discount => { type => 'float', scale => 4 }, email => { type => 'text' }, fax => { type => 'varchar', length => 30 }, greeting => { type => 'text' }, @@ -85,11 +85,6 @@ __PACKAGE__->meta->foreign_keys( class => 'SL::DB::PaymentTerm', key_columns => { payment_id => 'id' }, }, - - salesman => { - class => 'SL::DB::Employee', - key_columns => { salesman_id => 'id' }, - }, ); 1;