X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/edfac813ea5dd184e35d9b5a7aaf9364c3083871..639066d179464ead41625a9a901b165ce9a5eb06:/SL/DB/MetaSetup/Default.pm diff --git a/SL/DB/MetaSetup/Default.pm b/SL/DB/MetaSetup/Default.pm index c3016be71..b6a3af539 100644 --- a/SL/DB/MetaSetup/Default.pm +++ b/SL/DB/MetaSetup/Default.pm @@ -26,7 +26,7 @@ __PACKAGE__->meta->columns( assemblynumber => { type => 'text' }, assortmentnumber => { type => 'text' }, balance_startdate_method => { type => 'text' }, - bcc_to_login => { type => 'boolean' }, + bcc_to_login => { type => 'boolean', default => 'false', not_null => 1 }, bin_id => { type => 'integer' }, bin_id_ignore_onhand => { type => 'integer' }, businessnumber => { type => 'text' }, @@ -49,12 +49,13 @@ __PACKAGE__->meta->columns( doc_database => { type => 'boolean', default => 'false' }, doc_delete_printfiles => { type => 'boolean', default => 'false' }, doc_files => { type => 'boolean', default => 'false' }, - doc_files_rootpath => { type => 'text', default => '' }, - doc_max_filesize => { type => 'integer', default => 1000000 }, + doc_files_rootpath => { type => 'text', default => './documents' }, + doc_max_filesize => { type => 'integer', default => 10000000 }, doc_storage => { type => 'boolean', default => 'false' }, doc_storage_for_attachments => { type => 'text', default => 'Filesystem' }, doc_storage_for_documents => { type => 'text', default => 'Filesystem' }, doc_storage_for_images => { type => 'text', default => 'Filesystem' }, + doc_storage_for_shopimages => { type => 'text', default => 'Filesystem' }, doc_webdav => { type => 'boolean', default => 'false' }, dunning_ar => { type => 'integer' }, dunning_ar_amount_fee => { type => 'integer' }, @@ -73,6 +74,7 @@ __PACKAGE__->meta->columns( feature_datev => { type => 'boolean', default => 'true', not_null => 1 }, feature_erfolgsrechnung => { type => 'boolean', default => 'false', not_null => 1 }, feature_eurechnung => { type => 'boolean', default => 'true', not_null => 1 }, + feature_experimental => { type => 'boolean', default => 'true', not_null => 1 }, feature_ustva => { type => 'boolean', default => 'true', not_null => 1 }, fxgain_accno_id => { type => 'integer' }, fxloss_accno_id => { type => 'integer' }, @@ -125,12 +127,18 @@ __PACKAGE__->meta->columns( sepa_creditor_id => { type => 'text' }, sepa_reference_add_vc_vc_id => { type => 'boolean', default => 'false' }, servicenumber => { type => 'text' }, + shipped_qty_fill_up => { type => 'boolean', default => 'true', not_null => 1 }, + shipped_qty_item_identity_fields => { type => 'array', default => '{parts_id}', not_null => 1 }, + shipped_qty_require_stock_out => { type => 'boolean', default => 'false', not_null => 1 }, 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' }, sqnumber => { type => 'text' }, + stocktaking_bin_id => { type => 'integer' }, + stocktaking_cutoff_date => { type => 'date' }, + stocktaking_warehouse_id => { type => 'integer' }, taxnumber => { type => 'text' }, templates => { type => 'text' }, transfer_default => { type => 'boolean', default => 'true' }, @@ -194,6 +202,16 @@ __PACKAGE__->meta->foreign_keys( key_columns => { requirement_spec_section_order_part_id => 'id' }, }, + stocktaking_bin => { + class => 'SL::DB::Bin', + key_columns => { stocktaking_bin_id => 'id' }, + }, + + stocktaking_warehouse => { + class => 'SL::DB::Warehouse', + key_columns => { stocktaking_warehouse_id => 'id' }, + }, + warehouse => { class => 'SL::DB::Warehouse', key_columns => { warehouse_id => 'id' },