X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FDB%2FMetaSetup%2FDefault.pm;h=20610fd3b8c2ac504b4d73dace86670730861f82;hb=0310ce713a5de3a825e8e8f7b3a9a0476d9ee7f1;hp=5671a4bb0e3a3ae7b6fed9be5d948e4886896483;hpb=3624b119556731da41e4ad395491ebb067f26565;p=kivitendo-erp.git diff --git a/SL/DB/MetaSetup/Default.pm b/SL/DB/MetaSetup/Default.pm index 5671a4bb0..20610fd3b 100644 --- a/SL/DB/MetaSetup/Default.pm +++ b/SL/DB/MetaSetup/Default.pm @@ -4,7 +4,7 @@ package SL::DB::Default; use strict; -use base qw(SL::DB::Object); +use parent qw(SL::DB::Object); __PACKAGE__->meta->table('defaults'); @@ -41,12 +41,12 @@ __PACKAGE__->meta->columns( datev_check_on_purchase_invoice => { type => 'boolean', default => 'true' }, datev_check_on_sales_invoice => { type => 'boolean', default => 'true' }, delivery_plan_calculate_transferred_do => { type => 'boolean', default => 'false', not_null => 1 }, - delivery_plan_show_value_of_goods => { type => 'boolean', default => 'false', not_null => 1 }, disabled_price_sources => { type => 'array' }, dunning_ar => { type => 'integer' }, dunning_ar_amount_fee => { type => 'integer' }, dunning_ar_amount_interest => { type => 'integer' }, duns => { type => 'text' }, + email_journal => { type => 'integer', default => 2 }, expense_accno_id => { type => 'integer' }, fxgain_accno_id => { type => 'integer' }, fxloss_accno_id => { type => 'integer' }, @@ -69,13 +69,17 @@ __PACKAGE__->meta->columns( mtime => { type => 'timestamp' }, normalize_part_descriptions => { type => 'boolean', default => 'true' }, normalize_vc_names => { type => 'boolean', default => 'true' }, + order_always_project => { type => 'boolean', default => 'false' }, parts_image_css => { type => 'text', default => 'border:0;float:left;max-width:250px;margin-top:20px:margin-right:10px;margin-left:10px;' }, parts_listing_image => { type => 'boolean', default => 'true' }, parts_show_image => { type => 'boolean', default => 'true' }, payments_changeable => { type => 'integer', default => '0', not_null => 1 }, pdonumber => { type => 'text' }, ponumber => { type => 'text' }, + precision => { type => 'numeric', precision => 15, scale => 5, default => '0.01', not_null => 1 }, profit_determination => { type => 'text' }, + project_status_id => { type => 'integer' }, + project_type_id => { type => 'integer' }, purchase_delivery_order_show_delete => { type => 'boolean', default => 'true' }, purchase_order_show_delete => { type => 'boolean', default => 'true' }, reqdate_interval => { type => 'integer', default => '0' }, @@ -84,6 +88,8 @@ __PACKAGE__->meta->columns( revtrans => { type => 'boolean', default => 'false' }, rfqnumber => { type => 'text' }, rmanumber => { type => 'text' }, + rndgain_accno_id => { type => 'integer'}, + rndloss_accno_id => { type => 'integer'}, sales_delivery_order_show_delete => { type => 'boolean', default => 'true' }, sales_order_show_delete => { type => 'boolean', default => 'true' }, sales_purchase_order_ship_missing_column => { type => 'boolean', default => 'false' }, @@ -91,6 +97,7 @@ __PACKAGE__->meta->columns( sepa_creditor_id => { type => 'text' }, servicenumber => { type => 'text' }, show_bestbefore => { type => 'boolean', default => 'false' }, + show_longdescription_select_item => { type => 'boolean', default => 'false' }, show_weight => { type => 'boolean', default => 'false', not_null => 1 }, signature => { type => 'text' }, sonumber => { type => 'text' }, @@ -132,6 +139,16 @@ __PACKAGE__->meta->foreign_keys( key_columns => { currency_id => 'id' }, }, + project_status => { + class => 'SL::DB::ProjectStatus', + key_columns => { project_status_id => 'id' }, + }, + + project_type => { + class => 'SL::DB::ProjectType', + key_columns => { project_type_id => 'id' }, + }, + requirement_spec_section_order_part => { class => 'SL::DB::Part', key_columns => { requirement_spec_section_order_part_id => 'id' },