Mandantenkonfiguration: Schalter für experimentelle Features
[kivitendo-erp.git] / SL / DB / MetaSetup / Default.pm
1 # This file has been auto-generated. Do not modify it; it will be overwritten
2 # by rose_auto_create_model.pl automatically.
3 package SL::DB::Default;
4
5 use strict;
6
7 use parent qw(SL::DB::Object);
8
9 __PACKAGE__->meta->table('defaults');
10
11 __PACKAGE__->meta->columns(
12   accounting_method                         => { type => 'text' },
13   address                                   => { type => 'text' },
14   allow_new_purchase_delivery_order         => { type => 'boolean', default => 'true', not_null => 1 },
15   allow_new_purchase_invoice                => { type => 'boolean', default => 'true', not_null => 1 },
16   allow_sales_invoice_from_sales_order      => { type => 'boolean', default => 'true', not_null => 1 },
17   allow_sales_invoice_from_sales_quotation  => { type => 'boolean', default => 'true', not_null => 1 },
18   ap_changeable                             => { type => 'integer', default => 2, not_null => 1 },
19   ap_chart_id                               => { type => 'integer' },
20   ap_show_mark_as_paid                      => { type => 'boolean', default => 'true' },
21   ar_changeable                             => { type => 'integer', default => 2, not_null => 1 },
22   ar_chart_id                               => { type => 'integer' },
23   ar_paid_accno_id                          => { type => 'integer' },
24   ar_show_mark_as_paid                      => { type => 'boolean', default => 'true' },
25   articlenumber                             => { type => 'text' },
26   assemblynumber                            => { type => 'text' },
27   assortmentnumber                          => { type => 'text' },
28   balance_startdate_method                  => { type => 'text' },
29   bcc_to_login                              => { type => 'boolean', default => 'false', not_null => 1 },
30   bin_id                                    => { type => 'integer' },
31   bin_id_ignore_onhand                      => { type => 'integer' },
32   businessnumber                            => { type => 'text' },
33   closedto                                  => { type => 'date' },
34   cnnumber                                  => { type => 'text' },
35   co_ustid                                  => { type => 'text' },
36   coa                                       => { type => 'text' },
37   company                                   => { type => 'text' },
38   create_part_if_not_found                  => { type => 'boolean', default => 'false' },
39   currency_id                               => { type => 'integer', not_null => 1 },
40   customer_hourly_rate                      => { type => 'numeric', precision => 8, scale => 2 },
41   customer_projects_only_in_sales           => { type => 'boolean', default => 'false', not_null => 1 },
42   customernumber                            => { type => 'text' },
43   datev_check_on_ap_transaction             => { type => 'boolean', default => 'true' },
44   datev_check_on_ar_transaction             => { type => 'boolean', default => 'true' },
45   datev_check_on_gl_transaction             => { type => 'boolean', default => 'true' },
46   datev_check_on_purchase_invoice           => { type => 'boolean', default => 'true' },
47   datev_check_on_sales_invoice              => { type => 'boolean', default => 'true' },
48   disabled_price_sources                    => { type => 'array' },
49   doc_database                              => { type => 'boolean', default => 'false' },
50   doc_delete_printfiles                     => { type => 'boolean', default => 'false' },
51   doc_files                                 => { type => 'boolean', default => 'false' },
52   doc_files_rootpath                        => { type => 'text', default => './documents' },
53   doc_max_filesize                          => { type => 'integer', default => 10000000 },
54   doc_storage                               => { type => 'boolean', default => 'false' },
55   doc_storage_for_attachments               => { type => 'text', default => 'Filesystem' },
56   doc_storage_for_documents                 => { type => 'text', default => 'Filesystem' },
57   doc_storage_for_images                    => { type => 'text', default => 'Filesystem' },
58   doc_webdav                                => { type => 'boolean', default => 'false' },
59   dunning_ar                                => { type => 'integer' },
60   dunning_ar_amount_fee                     => { type => 'integer' },
61   dunning_ar_amount_interest                => { type => 'integer' },
62   duns                                      => { type => 'text' },
63   email_journal                             => { type => 'integer', default => 2 },
64   expense_accno_id                          => { type => 'integer' },
65   fa_bufa_nr                                => { type => 'text' },
66   fa_dauerfrist                             => { type => 'text' },
67   fa_steuerberater_city                     => { type => 'text' },
68   fa_steuerberater_name                     => { type => 'text' },
69   fa_steuerberater_street                   => { type => 'text' },
70   fa_steuerberater_tel                      => { type => 'text' },
71   fa_voranmeld                              => { type => 'text' },
72   feature_balance                           => { type => 'boolean', default => 'true', not_null => 1 },
73   feature_datev                             => { type => 'boolean', default => 'true', not_null => 1 },
74   feature_erfolgsrechnung                   => { type => 'boolean', default => 'false', not_null => 1 },
75   feature_eurechnung                        => { type => 'boolean', default => 'true', not_null => 1 },
76   feature_experimental                      => { type => 'boolean', default => 'true', not_null => 1 },
77   feature_ustva                             => { type => 'boolean', default => 'true', not_null => 1 },
78   fxgain_accno_id                           => { type => 'integer' },
79   fxloss_accno_id                           => { type => 'integer' },
80   gl_changeable                             => { type => 'integer', default => 2, not_null => 1 },
81   global_bcc                                => { type => 'text', default => '' },
82   id                                        => { type => 'serial', not_null => 1 },
83   income_accno_id                           => { type => 'integer' },
84   inventory_accno_id                        => { type => 'integer' },
85   inventory_system                          => { type => 'text' },
86   invnumber                                 => { type => 'text' },
87   ir_changeable                             => { type => 'integer', default => 2, not_null => 1 },
88   ir_show_mark_as_paid                      => { type => 'boolean', default => 'true' },
89   is_changeable                             => { type => 'integer', default => 2, not_null => 1 },
90   is_show_mark_as_paid                      => { type => 'boolean', default => 'true' },
91   is_transfer_out                           => { type => 'boolean', default => 'false', not_null => 1 },
92   itime                                     => { type => 'timestamp', default => 'now()' },
93   language_id                               => { type => 'integer' },
94   letternumber                              => { type => 'integer' },
95   max_future_booking_interval               => { type => 'integer', default => 360 },
96   mtime                                     => { type => 'timestamp' },
97   normalize_part_descriptions               => { type => 'boolean', default => 'true' },
98   normalize_vc_names                        => { type => 'boolean', default => 'true' },
99   order_always_project                      => { type => 'boolean', default => 'false' },
100   order_warn_duplicate_parts                => { type => 'boolean', default => 'true' },
101   parts_image_css                           => { type => 'text', default => 'border:0;float:left;max-width:250px;margin-top:20px:margin-right:10px;margin-left:10px;' },
102   parts_listing_image                       => { type => 'boolean', default => 'true' },
103   parts_show_image                          => { type => 'boolean', default => 'true' },
104   payments_changeable                       => { type => 'integer', default => '0', not_null => 1 },
105   pdonumber                                 => { type => 'text' },
106   ponumber                                  => { type => 'text' },
107   precision                                 => { type => 'numeric', default => '0.01', not_null => 1, precision => 15, scale => 5 },
108   profit_determination                      => { type => 'text' },
109   project_status_id                         => { type => 'integer' },
110   project_type_id                           => { type => 'integer' },
111   purchase_delivery_order_show_delete       => { type => 'boolean', default => 'true' },
112   purchase_order_show_delete                => { type => 'boolean', default => 'true' },
113   quick_search_modules                      => { type => 'array' },
114   reqdate_interval                          => { type => 'integer', default => '0' },
115   require_transaction_description_ps        => { type => 'boolean', default => 'false', not_null => 1 },
116   requirement_spec_section_order_part_id    => { type => 'integer' },
117   revtrans                                  => { type => 'boolean', default => 'false' },
118   rfqnumber                                 => { type => 'text' },
119   rmanumber                                 => { type => 'text' },
120   rndgain_accno_id                          => { type => 'integer' },
121   rndloss_accno_id                          => { type => 'integer' },
122   sales_delivery_order_show_delete          => { type => 'boolean', default => 'true' },
123   sales_order_show_delete                   => { type => 'boolean', default => 'true' },
124   sales_purchase_order_ship_missing_column  => { type => 'boolean', default => 'false' },
125   sdonumber                                 => { type => 'text' },
126   sepa_creditor_id                          => { type => 'text' },
127   sepa_reference_add_vc_vc_id               => { type => 'boolean', default => 'false' },
128   servicenumber                             => { type => 'text' },
129   show_bestbefore                           => { type => 'boolean', default => 'false' },
130   show_longdescription_select_item          => { type => 'boolean', default => 'false' },
131   show_weight                               => { type => 'boolean', default => 'false', not_null => 1 },
132   signature                                 => { type => 'text' },
133   sonumber                                  => { type => 'text' },
134   sqnumber                                  => { type => 'text' },
135   taxnumber                                 => { type => 'text' },
136   templates                                 => { type => 'text' },
137   transfer_default                          => { type => 'boolean', default => 'true' },
138   transfer_default_ignore_onhand            => { type => 'boolean', default => 'false' },
139   transfer_default_services                 => { type => 'boolean', default => 'true' },
140   transfer_default_use_master_default_bin   => { type => 'boolean', default => 'false' },
141   transfer_default_warehouse_for_assembly   => { type => 'boolean', default => 'false' },
142   transport_cost_reminder_article_number_id => { type => 'integer' },
143   vendornumber                              => { type => 'text' },
144   version                                   => { type => 'varchar', length => 8 },
145   vertreter                                 => { type => 'boolean', default => 'false' },
146   warehouse_id                              => { type => 'integer' },
147   warehouse_id_ignore_onhand                => { type => 'integer' },
148   webdav                                    => { type => 'boolean', default => 'false' },
149   webdav_documents                          => { type => 'boolean', default => 'false' },
150   weightunit                                => { type => 'varchar', length => 5 },
151 );
152
153 __PACKAGE__->meta->primary_key_columns([ 'id' ]);
154
155 __PACKAGE__->meta->allow_inline_column_values(1);
156
157 __PACKAGE__->meta->foreign_keys(
158   ap_chart => {
159     class       => 'SL::DB::Chart',
160     key_columns => { ap_chart_id => 'id' },
161   },
162
163   ar_chart => {
164     class       => 'SL::DB::Chart',
165     key_columns => { ar_chart_id => 'id' },
166   },
167
168   bin => {
169     class       => 'SL::DB::Bin',
170     key_columns => { bin_id => 'id' },
171   },
172
173   bin_obj => {
174     class       => 'SL::DB::Bin',
175     key_columns => { bin_id_ignore_onhand => 'id' },
176   },
177
178   currency => {
179     class       => 'SL::DB::Currency',
180     key_columns => { currency_id => 'id' },
181   },
182
183   project_status => {
184     class       => 'SL::DB::ProjectStatus',
185     key_columns => { project_status_id => 'id' },
186   },
187
188   project_type => {
189     class       => 'SL::DB::ProjectType',
190     key_columns => { project_type_id => 'id' },
191   },
192
193   requirement_spec_section_order_part => {
194     class       => 'SL::DB::Part',
195     key_columns => { requirement_spec_section_order_part_id => 'id' },
196   },
197
198   warehouse => {
199     class       => 'SL::DB::Warehouse',
200     key_columns => { warehouse_id => 'id' },
201   },
202
203   warehouse_obj => {
204     class       => 'SL::DB::Warehouse',
205     key_columns => { warehouse_id_ignore_onhand => 'id' },
206   },
207 );
208
209 1;
210 ;