Projekt

Allgemein

Profil

Herunterladen (16,8 KB) Statistiken
| Zweig: | Markierung: | Revision:
f97b0778 Sven Schöling
# This file has been auto-generated. Do not modify it; it will be overwritten
# by rose_auto_create_model.pl automatically.
package SL::DB::Default;

use strict;

2ea07c13 Sven Schöling
use parent qw(SL::DB::Object);
f97b0778 Sven Schöling
b8b112a3 Sven Schöling
__PACKAGE__->meta->table('defaults');
f97b0778 Sven Schöling
b8b112a3 Sven Schöling
__PACKAGE__->meta->columns(
497f8c56 Jan Büren
accounting_method => { type => 'text' },
63cb5b41 Moritz Bunkus
address_city => { type => 'text' },
address_country => { type => 'text' },
address_street1 => { type => 'text' },
address_street2 => { type => 'text' },
address_zipcode => { type => 'text' },
497f8c56 Jan Büren
allow_new_purchase_delivery_order => { type => 'boolean', default => 'true', not_null => 1 },
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 },
ap_changeable => { type => 'integer', default => 2, not_null => 1 },
8917f20a Geoffrey Richardson
ap_chart_id => { type => 'integer' },
497f8c56 Jan Büren
ap_show_mark_as_paid => { type => 'boolean', default => 'true' },
ar_changeable => { type => 'integer', default => 2, not_null => 1 },
8917f20a Geoffrey Richardson
ar_chart_id => { type => 'integer' },
497f8c56 Jan Büren
ar_paid_accno_id => { type => 'integer' },
ar_show_mark_as_paid => { type => 'boolean', default => 'true' },
articlenumber => { type => 'text' },
assemblynumber => { type => 'text' },
f2b44f13 Geoffrey Richardson
assortmentnumber => { type => 'text' },
497f8c56 Jan Büren
balance_startdate_method => { type => 'text' },
10edf79a Moritz Bunkus
bcc_to_login => { type => 'boolean', default => 'false', not_null => 1 },
497f8c56 Jan Büren
bin_id => { type => 'integer' },
bin_id_ignore_onhand => { type => 'integer' },
businessnumber => { type => 'text' },
f2f0fb50 Geoffrey Richardson
carry_over_account_chart_id => { type => 'integer' },
497f8c56 Jan Büren
closedto => { type => 'date' },
cnnumber => { type => 'text' },
co_ustid => { type => 'text' },
coa => { type => 'text' },
company => { type => 'text' },
cc6d7fec Bernd Bleßmann
contact_departments_use_textfield => { type => 'boolean' },
1dd6d84a Bernd Bleßmann
contact_titles_use_textfield => { type => 'boolean' },
71d40510 Martin Helmling
create_part_if_not_found => { type => 'boolean', default => 'false' },
53a350d9 Moritz Bunkus
create_zugferd_invoices => { type => 'integer' },
497f8c56 Jan Büren
currency_id => { type => 'integer', not_null => 1 },
customer_hourly_rate => { type => 'numeric', precision => 8, scale => 2 },
customer_projects_only_in_sales => { type => 'boolean', default => 'false', not_null => 1 },
a23eb775 Bernd Bleßmann
customer_ustid_taxnummer_unique => { type => 'boolean', default => 'false' },
497f8c56 Jan Büren
customernumber => { type => 'text' },
datev_check_on_ap_transaction => { type => 'boolean', default => 'true' },
datev_check_on_ar_transaction => { type => 'boolean', default => 'true' },
datev_check_on_gl_transaction => { type => 'boolean', default => 'true' },
datev_check_on_purchase_invoice => { type => 'boolean', default => 'true' },
datev_check_on_sales_invoice => { type => 'boolean', default => 'true' },
324726ac Jan Büren
datev_export_format => { type => 'enum', check_in => [ 'cp1252', 'cp1252-translit', 'utf-8' ], db_type => 'datev_export_format_enum', default => 'cp1252-translit' },
2d44a547 Jan Büren
delivery_date_interval => { type => 'integer', default => '0' },
bee7d33f Jan Büren
deliverydate_on => { type => 'boolean', default => 'true' },
5384e5cb Sven Schöling
disabled_price_sources => { type => 'array' },
2bb452ee Martin Helmling
doc_delete_printfiles => { type => 'boolean', default => 'false' },
doc_files => { type => 'boolean', default => 'false' },
ef8b8945 Moritz Bunkus
doc_files_rootpath => { type => 'text', default => './documents' },
doc_max_filesize => { type => 'integer', default => 10000000 },
2bb452ee Martin Helmling
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' },
d3ae6850 Werner Hahn
doc_storage_for_shopimages => { type => 'text', default => 'Filesystem' },
2bb452ee Martin Helmling
doc_webdav => { type => 'boolean', default => 'false' },
497f8c56 Jan Büren
dunning_ar => { type => 'integer' },
dunning_ar_amount_fee => { type => 'integer' },
dunning_ar_amount_interest => { type => 'integer' },
a3b8cfa7 Jan Büren
dunning_creator => { type => 'enum', check_in => [ 'current_employee', 'invoice_employee' ], db_type => 'dunning_creator', default => 'current_employee' },
497f8c56 Jan Büren
duns => { type => 'text' },
bcc18db1 Jan Büren
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' },
687f2d96 Martin Helmling
email_journal => { type => 'integer', default => 2 },
497f8c56 Jan Büren
expense_accno_id => { type => 'integer' },
a68089fb Martin Helmling
fa_bufa_nr => { type => 'text' },
fa_dauerfrist => { type => 'text' },
fa_steuerberater_city => { type => 'text' },
fa_steuerberater_name => { type => 'text' },
fa_steuerberater_street => { type => 'text' },
fa_steuerberater_tel => { type => 'text' },
fa_voranmeld => { type => 'text' },
bb8edc8e Rolf Fluehmann
feature_balance => { type => 'boolean', default => 'true', not_null => 1 },
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 },
984f6322 Bernd Bleßmann
feature_experimental_assortment => { type => 'boolean', default => 'true', not_null => 1 },
feature_experimental_order => { type => 'boolean', default => 'true', not_null => 1 },
bb8edc8e Rolf Fluehmann
feature_ustva => { type => 'boolean', default => 'true', not_null => 1 },
497f8c56 Jan Büren
fxgain_accno_id => { type => 'integer' },
fxloss_accno_id => { type => 'integer' },
gl_changeable => { type => 'integer', default => 2, not_null => 1 },
517788ee Sven Schöling
global_bcc => { type => 'text', default => '' },
497f8c56 Jan Büren
id => { type => 'serial', not_null => 1 },
income_accno_id => { type => 'integer' },
inventory_accno_id => { type => 'integer' },
inventory_system => { type => 'text' },
invnumber => { type => 'text' },
6170db24 Jan Büren
invoice_mail_settings => { type => 'enum', check_in => [ 'cp', 'invoice_mail', 'invoice_mail_cc_cp' ], db_type => 'invoice_mail_settings', default => 'cp' },
497f8c56 Jan Büren
ir_changeable => { type => 'integer', default => 2, not_null => 1 },
ir_show_mark_as_paid => { type => 'boolean', default => 'true' },
is_changeable => { type => 'integer', default => 2, not_null => 1 },
is_show_mark_as_paid => { type => 'boolean', default => 'true' },
531e1a51 Bernd Bleßmann
is_transfer_out => { type => 'boolean', default => 'false', not_null => 1 },
497f8c56 Jan Büren
itime => { type => 'timestamp', default => 'now()' },
language_id => { type => 'integer' },
e30fbb34 Geoffrey Richardson
letternumber => { type => 'integer' },
f2f0fb50 Geoffrey Richardson
loss_carried_forward_chart_id => { type => 'integer' },
497f8c56 Jan Büren
max_future_booking_interval => { type => 'integer', default => 360 },
mtime => { type => 'timestamp' },
normalize_part_descriptions => { type => 'boolean', default => 'true' },
normalize_vc_names => { type => 'boolean', default => 'true' },
d3007329 Geoffrey Richardson
order_always_project => { type => 'boolean', default => 'false' },
e09f2da3 Bernd Bleßmann
order_warn_duplicate_parts => { type => 'boolean', default => 'true' },
1d1f3140 Jan Büren
order_warn_no_deliverydate => { type => 'boolean', default => 'true' },
497f8c56 Jan Büren
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' },
a2bab345 Sven Schöling
precision => { type => 'numeric', default => '0.01', not_null => 1, precision => 15, scale => 5 },
f2f0fb50 Geoffrey Richardson
profit_carried_forward_chart_id => { type => 'integer' },
497f8c56 Jan Büren
profit_determination => { type => 'text' },
d3007329 Geoffrey Richardson
project_status_id => { type => 'integer' },
project_type_id => { type => 'integer' },
9970377d Bernd Bleßmann
purchase_delivery_order_check_stocked => { type => 'boolean', default => 'false' },
497f8c56 Jan Büren
purchase_delivery_order_show_delete => { type => 'boolean', default => 'true' },
purchase_order_show_delete => { type => 'boolean', default => 'true' },
4e070acf Sven Schöling
quick_search_modules => { type => 'array' },
497f8c56 Jan Büren
reqdate_interval => { type => 'integer', default => '0' },
bee7d33f Jan Büren
reqdate_on => { type => 'boolean', default => 'true' },
497f8c56 Jan Büren
require_transaction_description_ps => { type => 'boolean', default => 'false', not_null => 1 },
requirement_spec_section_order_part_id => { type => 'integer' },
revtrans => { type => 'boolean', default => 'false' },
rfqnumber => { type => 'text' },
rmanumber => { type => 'text' },
030c2086 Rolf Fluehmann
rndgain_accno_id => { type => 'integer' },
rndloss_accno_id => { type => 'integer' },
9970377d Bernd Bleßmann
sales_delivery_order_check_stocked => { type => 'boolean', default => 'false' },
497f8c56 Jan Büren
sales_delivery_order_show_delete => { type => 'boolean', default => 'true' },
sales_order_show_delete => { type => 'boolean', default => 'true' },
317450cb Moritz Bunkus
sales_purchase_order_ship_missing_column => { type => 'boolean', default => 'false' },
bde97469 Jan Büren
sales_serial_eq_charge => { type => 'boolean', default => 'false', not_null => 1 },
497f8c56 Jan Büren
sdonumber => { type => 'text' },
sepa_creditor_id => { type => 'text' },
fc4e6199 Jan Büren
sepa_reference_add_vc_vc_id => { type => 'boolean', default => 'false' },
a7b17d8c Jan Büren
sepa_set_duedate_as_default_exec_date => { type => 'boolean', default => 'false' },
sepa_set_skonto_date_as_default_exec_date => { type => 'boolean', default => 'false' },
sepa_set_skonto_date_buffer_in_days => { type => 'integer', default => '0' },
497f8c56 Jan Büren
servicenumber => { type => 'text' },
f559550f Sven Schöling
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 },
497f8c56 Jan Büren
show_bestbefore => { type => 'boolean', default => 'false' },
4ddcd461 Jan Büren
show_longdescription_select_item => { type => 'boolean', default => 'false' },
497f8c56 Jan Büren
show_weight => { type => 'boolean', default => 'false', not_null => 1 },
signature => { type => 'text' },
sonumber => { type => 'text' },
sqnumber => { type => 'text' },
0fdf5891 Bernd Bleßmann
stocktaking_bin_id => { type => 'integer' },
stocktaking_cutoff_date => { type => 'date' },
6c20bff1 Bernd Bleßmann
stocktaking_qty_threshold => { type => 'numeric', default => '0', precision => 25, scale => 5 },
0fdf5891 Bernd Bleßmann
stocktaking_warehouse_id => { type => 'integer' },
497f8c56 Jan Büren
taxnumber => { type => 'text' },
templates => { type => 'text' },
transfer_default => { type => 'boolean', default => 'true' },
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' },
26dab9db Martin Helmling
transfer_default_warehouse_for_assembly => { type => 'boolean', default => 'false' },
497f8c56 Jan Büren
transport_cost_reminder_article_number_id => { type => 'integer' },
f89dda62 Jan Büren
undo_transfer_interval => { type => 'integer', default => 7 },
761f4a3f Bernd Bleßmann
vc_greetings_use_textfield => { type => 'boolean' },
a23eb775 Bernd Bleßmann
vendor_ustid_taxnummer_unique => { type => 'boolean', default => 'false' },
497f8c56 Jan Büren
vendornumber => { type => 'text' },
version => { type => 'varchar', length => 8 },
vertreter => { type => 'boolean', default => 'false' },
warehouse_id => { type => 'integer' },
warehouse_id_ignore_onhand => { type => 'integer' },
webdav => { type => 'boolean', default => 'false' },
webdav_documents => { type => 'boolean', default => 'false' },
weightunit => { type => 'varchar', length => 5 },
6e083cb8 Bernd Bleßmann
workflow_po_ap_chart_id => { type => 'integer' },
b8b112a3 Sven Schöling
);
f97b0778 Sven Schöling
b8b112a3 Sven Schöling
__PACKAGE__->meta->primary_key_columns([ 'id' ]);
82c4717d Jan Büren
b8b112a3 Sven Schöling
__PACKAGE__->meta->allow_inline_column_values(1);
009d4b89 Moritz Bunkus
b8b112a3 Sven Schöling
__PACKAGE__->meta->foreign_keys(
8917f20a Geoffrey Richardson
ap_chart => {
class => 'SL::DB::Chart',
key_columns => { ap_chart_id => 'id' },
},

ar_chart => {
class => 'SL::DB::Chart',
key_columns => { ar_chart_id => 'id' },
},
1f4bfe67 Geoffrey Richardson
b8b112a3 Sven Schöling
bin => {
class => 'SL::DB::Bin',
key_columns => { bin_id => 'id' },
},
82c4717d Jan Büren
b8b112a3 Sven Schöling
bin_obj => {
class => 'SL::DB::Bin',
key_columns => { bin_id_ignore_onhand => 'id' },
},
52d18c01 Jan Büren
f2f0fb50 Geoffrey Richardson
carry_over_account_chart => {
class => 'SL::DB::Chart',
key_columns => { carry_over_account_chart_id => 'id' },
},

b8b112a3 Sven Schöling
currency => {
class => 'SL::DB::Currency',
key_columns => { currency_id => 'id' },
},
52d18c01 Jan Büren
f2f0fb50 Geoffrey Richardson
loss_carried_forward_chart => {
class => 'SL::DB::Chart',
key_columns => { loss_carried_forward_chart_id => 'id' },
},

profit_carried_forward_chart => {
class => 'SL::DB::Chart',
key_columns => { profit_carried_forward_chart_id => 'id' },
},

d3007329 Geoffrey Richardson
project_status => {
class => 'SL::DB::ProjectStatus',
key_columns => { project_status_id => 'id' },
},

project_type => {
class => 'SL::DB::ProjectType',
key_columns => { project_type_id => 'id' },
},

687a09d8 Moritz Bunkus
requirement_spec_section_order_part => {
class => 'SL::DB::Part',
key_columns => { requirement_spec_section_order_part_id => 'id' },
},

0fdf5891 Bernd Bleßmann
stocktaking_bin => {
class => 'SL::DB::Bin',
key_columns => { stocktaking_bin_id => 'id' },
},

stocktaking_warehouse => {
class => 'SL::DB::Warehouse',
key_columns => { stocktaking_warehouse_id => 'id' },
},

b8b112a3 Sven Schöling
warehouse => {
class => 'SL::DB::Warehouse',
key_columns => { warehouse_id => 'id' },
},
52d18c01 Jan Büren
b8b112a3 Sven Schöling
warehouse_obj => {
class => 'SL::DB::Warehouse',
key_columns => { warehouse_id_ignore_onhand => 'id' },
},
f97b0778 Sven Schöling
);

1;
;