X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/3eb3d1b144adb92e62de08e67dc6ff3d39bf7483..826f6eb2b3e:/SL/DB/MetaSetup/PaymentTerm.pm diff --git a/SL/DB/MetaSetup/PaymentTerm.pm b/SL/DB/MetaSetup/PaymentTerm.pm index cba2de7d2..bc0587e7c 100644 --- a/SL/DB/MetaSetup/PaymentTerm.pm +++ b/SL/DB/MetaSetup/PaymentTerm.pm @@ -4,17 +4,18 @@ package SL::DB::PaymentTerm; use strict; -use base qw(SL::DB::Object); +use parent qw(SL::DB::Object); __PACKAGE__->meta->table('payment_terms'); __PACKAGE__->meta->columns( + auto_calculation => { type => 'boolean', not_null => 1 }, description => { type => 'text' }, description_long => { type => 'text' }, id => { type => 'integer', not_null => 1, sequence => 'id' }, itime => { type => 'timestamp', default => 'now()' }, mtime => { type => 'timestamp' }, - percent_skonto => { type => 'float', precision => 4 }, + percent_skonto => { type => 'float', scale => 4 }, ranking => { type => 'integer' }, sortkey => { type => 'integer', not_null => 1 }, terms_netto => { type => 'integer' },