]> wagnertech.de Git - mfinanz.git/blobdiff - SL/DB/MetaSetup/Default.pm
kivitendo 3.9.2-0.2
[mfinanz.git] / SL / DB / MetaSetup / Default.pm
index 295c6e778f6e180eebef3895fcf088538e70d022..0a609c81eb529567e6f8535dab3bae2cd575a210 100644 (file)
@@ -22,14 +22,15 @@ __PACKAGE__->meta->columns(
   allow_new_purchase_invoice                => { type => 'boolean', default => 'true', not_null => 1 },
   allow_sales_invoice_from_sales_order      => { type => 'boolean', default => 'true', not_null => 1 },
   allow_sales_invoice_from_sales_quotation  => { type => 'boolean', default => 'true', not_null => 1 },
+  allowed_documents_with_no_positions       => { type => 'array' },
   always_record_links_from_order            => { type => 'boolean', default => 'false' },
   ap_add_doc                                => { type => 'boolean', default => 'false', not_null => 1 },
   ap_changeable                             => { type => 'integer', default => 2, not_null => 1 },
-  ap_chart_id                               => { type => 'integer' },
+  ap_chart_id                               => { type => 'integer', not_null => 1 },
   ap_show_mark_as_paid                      => { type => 'boolean', default => 'true' },
   ar_add_doc                                => { type => 'boolean', default => 'false', not_null => 1 },
   ar_changeable                             => { type => 'integer', default => 2, not_null => 1 },
-  ar_chart_id                               => { type => 'integer' },
+  ar_chart_id                               => { type => 'integer', not_null => 1 },
   ar_paid_accno_id                          => { type => 'integer' },
   ar_show_mark_as_paid                      => { type => 'boolean', default => 'true' },
   articlenumber                             => { type => 'text' },
@@ -41,6 +42,7 @@ __PACKAGE__->meta->columns(
   bin_id_ignore_onhand                      => { type => 'integer' },
   businessnumber                            => { type => 'text' },
   carry_over_account_chart_id               => { type => 'integer' },
+  check_bt_duplicates_endtoend              => { type => 'boolean', default => 'false' },
   closedto                                  => { type => 'date' },
   cnnumber                                  => { type => 'text' },
   co_ustid                                  => { type => 'text' },
@@ -79,11 +81,23 @@ __PACKAGE__->meta->columns(
   dunning_ar_amount_fee                     => { type => 'integer' },
   dunning_ar_amount_interest                => { type => 'integer' },
   dunning_creator                           => { type => 'enum', check_in => [ 'current_employee', 'invoice_employee' ], db_type => 'dunning_creator', default => 'current_employee' },
+  dunning_original_invoice_creation_mode    => { type => 'enum', check_in => [ 'create_new', 'use_last_created_or_create_new' ], db_type => 'invoice_creation_mode', default => 'create_new' },
   duns                                      => { type => 'text' },
   email_attachment_part_files_checked       => { type => 'boolean', default => 'true' },
   email_attachment_record_files_checked     => { type => 'boolean', default => 'true' },
   email_attachment_vc_files_checked         => { type => 'boolean', default => 'true' },
   email_journal                             => { type => 'integer', default => 2 },
+  email_sender_dunning                      => { type => 'text', default => '' },
+  email_sender_invoice                      => { type => 'text', default => '' },
+  email_sender_letter                       => { type => 'text', default => '' },
+  email_sender_purchase_delivery_order      => { type => 'text', default => '' },
+  email_sender_purchase_invoice             => { type => 'text', default => '' },
+  email_sender_purchase_order               => { type => 'text', default => '' },
+  email_sender_request_quotation            => { type => 'text', default => '' },
+  email_sender_sales_delivery_order         => { type => 'text', default => '' },
+  email_sender_sales_order                  => { type => 'text', default => '' },
+  email_sender_sales_quotation              => { type => 'text', default => '' },
+  email_subject_transaction_description     => { type => 'boolean', default => 'false' },
   expense_accno_id                          => { type => 'integer' },
   fa_bufa_nr                                => { type => 'text' },
   fa_dauerfrist                             => { type => 'text' },
@@ -96,9 +110,9 @@ __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_assortment           => { type => 'boolean', default => 'true', not_null => 1 },
-  feature_experimental_order                => { type => 'boolean', default => 'true', not_null => 1 },
   feature_ustva                             => { type => 'boolean', default => 'true', not_null => 1 },
+  fuzzy_skonto                              => { type => 'boolean', default => 'true' },
+  fuzzy_skonto_percentage                   => { type => 'float', default => '0.5', precision => 4, scale => 4 },
   fxgain_accno_id                           => { type => 'integer' },
   fxloss_accno_id                           => { type => 'integer' },
   gl_add_doc                                => { type => 'boolean', default => 'false', not_null => 1 },
@@ -110,7 +124,6 @@ __PACKAGE__->meta->columns(
   inventory_system                          => { type => 'text' },
   invnumber                                 => { type => 'text' },
   invoice_mail_settings                     => { type => 'enum', check_in => [ 'cp', 'invoice_mail', 'invoice_mail_cc_cp' ], db_type => 'invoice_mail_settings', default => 'cp' },
-  invoice_prevent_browser_back              => { type => 'boolean', default => 'false', not_null => 1 },
   ir_add_doc                                => { type => 'boolean', default => 'false', not_null => 1 },
   ir_changeable                             => { type => 'integer', default => 2, not_null => 1 },
   ir_show_mark_as_paid                      => { type => 'boolean', default => 'true' },
@@ -119,23 +132,30 @@ __PACKAGE__->meta->columns(
   is_transfer_out                           => { type => 'boolean', default => 'false', not_null => 1 },
   itime                                     => { type => 'timestamp', default => 'now()' },
   language_id                               => { type => 'integer' },
+  layout_style                              => { type => 'text' },
   letternumber                              => { type => 'integer' },
+  lock_oe_subversions                       => { type => 'boolean', default => 'false', not_null => 1 },
   loss_carried_forward_chart_id             => { type => 'integer' },
   max_future_booking_interval               => { type => 'integer', default => 360 },
   mtime                                     => { type => 'timestamp' },
+  no_bank_proposals                         => { type => 'boolean', default => 'false' },
   normalize_part_descriptions               => { type => 'boolean', default => 'true' },
   normalize_vc_names                        => { type => 'boolean', default => 'true' },
   order_always_project                      => { type => 'boolean', default => 'false' },
+  order_item_input_position                 => { type => 'integer', default => '0', not_null => 1 },
   order_warn_duplicate_parts                => { type => 'boolean', default => 'true' },
   order_warn_no_cusordnumber                => { type => 'boolean', default => 'false' },
   order_warn_no_deliverydate                => { type => 'boolean', default => 'true' },
+  p_reclamation_record_number               => { type => 'text', default => '0', not_null => 1 },
   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' },
   partsgroup_required                       => { type => 'boolean', default => 'false', not_null => 1 },
   payments_changeable                       => { type => 'integer', default => '0', not_null => 1 },
   pdonumber                                 => { type => 'text' },
+  pocnumber                                 => { type => 'text' },
   ponumber                                  => { type => 'text' },
+  pqinumber                                 => { type => 'text' },
   precision                                 => { type => 'numeric', default => '0.01', not_null => 1, precision => 15, scale => 5 },
   print_interpolate_variables_in_positions  => { type => 'boolean', default => 'true', not_null => 1 },
   produce_assembly_same_warehouse           => { type => 'boolean', default => 'true' },
@@ -148,8 +168,14 @@ __PACKAGE__->meta->columns(
   purchase_delivery_order_check_stocked     => { type => 'boolean', default => 'false' },
   purchase_delivery_order_show_delete       => { type => 'boolean', default => 'true' },
   purchase_order_show_delete                => { type => 'boolean', default => 'true' },
+  purchase_reclamation_show_delete          => { type => 'boolean', default => 'true', not_null => 1 },
+  qrbill_copy_invnumber                     => { type => 'boolean', default => 'false' },
   quick_search_modules                      => { type => 'array' },
   rdonumber                                 => { type => 'text' },
+  reclamation_warn_duplicate_parts          => { type => 'boolean', default => 'true', not_null => 1 },
+  reclamation_warn_no_reqdate               => { type => 'boolean', default => 'true', not_null => 1 },
+  record_links_from_order_with_myself       => { type => 'boolean', default => 'false' },
+  record_links_from_order_with_quotations   => { type => 'boolean', default => 'false' },
   reqdate_interval                          => { type => 'integer', default => '0' },
   reqdate_on                                => { type => 'boolean', default => 'true' },
   require_transaction_description_ps        => { type => 'boolean', default => 'false', not_null => 1 },
@@ -159,15 +185,18 @@ __PACKAGE__->meta->columns(
   rmanumber                                 => { type => 'text' },
   rndgain_accno_id                          => { type => 'integer' },
   rndloss_accno_id                          => { type => 'integer' },
+  s_reclamation_record_number               => { type => 'text', default => '0', not_null => 1 },
   sales_delivery_order_check_service        => { type => 'boolean', default => 'true' },
   sales_delivery_order_check_stocked        => { type => 'boolean', default => 'false' },
   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' },
   sales_purchase_record_numbers_changeable  => { type => 'boolean', default => 'false', not_null => 1 },
+  sales_reclamation_show_delete             => { type => 'boolean', default => 'true', not_null => 1 },
   sales_serial_eq_charge                    => { type => 'boolean', default => 'false', not_null => 1 },
   sdonumber                                 => { type => 'text' },
   sepa_creditor_id                          => { type => 'text' },
+  sepa_export_xml                           => { type => 'boolean', default => 'true' },
   sepa_reference_add_vc_vc_id               => { type => 'boolean', default => 'false' },
   sepa_set_duedate_as_default_exec_date     => { type => 'boolean', default => 'false' },
   sepa_set_skonto_date_as_default_exec_date => { type => 'boolean', default => 'false' },
@@ -175,9 +204,16 @@ __PACKAGE__->meta->columns(
   servicenumber                             => { type => 'text' },
   shipped_qty_require_stock_out             => { type => 'boolean', default => 'false', not_null => 1 },
   show_bestbefore                           => { type => 'boolean', default => 'false' },
+  show_invoice_for_advance_payment          => { type => 'boolean', default => 'true', not_null => 1 },
   show_longdescription_select_item          => { type => 'boolean', default => 'false' },
+  show_purchase_order_confirmation          => { type => 'boolean', default => 'true', not_null => 1 },
+  show_purchase_quotation_intake            => { type => 'boolean', default => 'true', not_null => 1 },
+  show_purchase_reclamation                 => { type => 'boolean', default => 'true', not_null => 1 },
+  show_sales_order_intake                   => { type => 'boolean', default => 'true', not_null => 1 },
+  show_sales_reclamation                    => { type => 'boolean', default => 'true', not_null => 1 },
   show_weight                               => { type => 'boolean', default => 'false', not_null => 1 },
   signature                                 => { type => 'text' },
+  soinumber                                 => { type => 'text' },
   sonumber                                  => { type => 'text' },
   sqnumber                                  => { type => 'text' },
   stocktaking_bin_id                        => { type => 'integer' },
@@ -191,6 +227,7 @@ __PACKAGE__->meta->columns(
   transfer_default_ignore_onhand            => { type => 'boolean', default => 'false' },
   transfer_default_services                 => { type => 'boolean', default => 'true' },
   transfer_default_use_master_default_bin   => { type => 'boolean', default => 'false' },
+  transit_items_chart_id                    => { type => 'integer' },
   transport_cost_reminder_article_number_id => { type => 'integer' },
   undo_transfer_interval                    => { type => 'integer', default => 7 },
   vc_greetings_use_textfield                => { type => 'boolean' },
@@ -203,8 +240,13 @@ __PACKAGE__->meta->columns(
   warn_no_delivery_order_for_invoice        => { type => 'boolean', default => 'false' },
   webdav                                    => { type => 'boolean', default => 'false' },
   webdav_documents                          => { type => 'boolean', default => 'false' },
+  webdav_sync_extern                        => { type => 'boolean', default => 'false' },
+  webdav_sync_extern_login                  => { type => 'text' },
+  webdav_sync_extern_pass                   => { type => 'text' },
+  webdav_sync_extern_url                    => { type => 'text' },
   weightunit                                => { type => 'varchar', length => 5 },
   workflow_po_ap_chart_id                   => { type => 'integer' },
+  yearend_method                            => { type => 'text', default => 'default', not_null => 1 },
 );
 
 __PACKAGE__->meta->primary_key_columns([ 'id' ]);