Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision d17e1b9d

Von Moritz Bunkus vor mehr als 10 Jahren hinzugefügt

  • ID d17e1b9d1b761bb19d0cb79a742ea70a07028998
  • Vorgänger 0bbc7ffd
  • Nachfolger baac72df

Pflichtenhefte: Datenbankschema und Rose-DB-Models

Unterschiede anzeigen:

SL/DB/MetaSetup/Default.pm
9 9
__PACKAGE__->meta->table('defaults');
10 10

  
11 11
__PACKAGE__->meta->columns(
12
  accounting_method                       => { type => 'text' },
13
  address                                 => { type => 'text' },
14
  ap_changeable                           => { type => 'integer', default => 2, not_null => 1 },
15
  ap_show_mark_as_paid                    => { type => 'boolean', default => 'true' },
16
  ar_changeable                           => { type => 'integer', default => 2, not_null => 1 },
17
  ar_paid_accno_id                        => { type => 'integer' },
18
  ar_show_mark_as_paid                    => { type => 'boolean', default => 'true' },
19
  articlenumber                           => { type => 'text' },
20
  assemblynumber                          => { type => 'text' },
21
  balance_startdate_method                => { type => 'text' },
22
  bin_id                                  => { type => 'integer' },
23
  bin_id_ignore_onhand                    => { type => 'integer' },
24
  businessnumber                          => { type => 'text' },
25
  closedto                                => { type => 'date' },
26
  cnnumber                                => { type => 'text' },
27
  co_ustid                                => { type => 'text' },
28
  coa                                     => { type => 'text' },
29
  company                                 => { type => 'text' },
30
  currency_id                             => { type => 'integer', not_null => 1 },
31
  customernumber                          => { type => 'text' },
32
  datev_check_on_ap_transaction           => { type => 'boolean', default => 'true' },
33
  datev_check_on_ar_transaction           => { type => 'boolean', default => 'true' },
34
  datev_check_on_gl_transaction           => { type => 'boolean', default => 'true' },
35
  datev_check_on_purchase_invoice         => { type => 'boolean', default => 'true' },
36
  datev_check_on_sales_invoice            => { type => 'boolean', default => 'true' },
37
  dunning_ar                              => { type => 'integer' },
38
  dunning_ar_amount_fee                   => { type => 'integer' },
39
  dunning_ar_amount_interest              => { type => 'integer' },
40
  duns                                    => { type => 'text' },
41
  expense_accno_id                        => { type => 'integer' },
42
  fxgain_accno_id                         => { type => 'integer' },
43
  fxloss_accno_id                         => { type => 'integer' },
44
  gl_changeable                           => { type => 'integer', default => 2, not_null => 1 },
45
  id                                      => { type => 'serial', not_null => 1 },
46
  income_accno_id                         => { type => 'integer' },
47
  inventory_accno_id                      => { type => 'integer' },
48
  inventory_system                        => { type => 'text' },
49
  invnumber                               => { type => 'text' },
50
  ir_changeable                           => { type => 'integer', default => 2, not_null => 1 },
51
  ir_show_mark_as_paid                    => { type => 'boolean', default => 'true' },
52
  is_changeable                           => { type => 'integer', default => 2, not_null => 1 },
53
  is_show_mark_as_paid                    => { type => 'boolean', default => 'true' },
54
  itime                                   => { type => 'timestamp', default => 'now()' },
55
  language_id                             => { type => 'integer' },
56
  max_future_booking_interval             => { type => 'integer', default => 360 },
57
  mtime                                   => { type => 'timestamp' },
58
  normalize_part_descriptions             => { type => 'boolean', default => 'true' },
59
  normalize_vc_names                      => { type => 'boolean', default => 'true' },
60
  parts_image_css                         => { type => 'text', default => 'border:0;float:left;max-width:250px;margin-top:20px:margin-right:10px;margin-left:10px;' },
61
  parts_listing_image                     => { type => 'boolean', default => 'true' },
62
  parts_show_image                        => { type => 'boolean', default => 'true' },
63
  payments_changeable                     => { type => 'integer', default => '0', not_null => 1 },
64
  pdonumber                               => { type => 'text' },
65
  ponumber                                => { type => 'text' },
66
  profit_determination                    => { type => 'text' },
67
  purchase_delivery_order_show_delete     => { type => 'boolean', default => 'true' },
68
  purchase_order_show_delete              => { type => 'boolean', default => 'true' },
69
  revtrans                                => { type => 'boolean', default => 'false' },
70
  rfqnumber                               => { type => 'text' },
71
  rmanumber                               => { type => 'text' },
72
  sales_delivery_order_show_delete        => { type => 'boolean', default => 'true' },
73
  sales_order_show_delete                 => { type => 'boolean', default => 'true' },
74
  sdonumber                               => { type => 'text' },
75
  sepa_creditor_id                        => { type => 'text' },
76
  servicenumber                           => { type => 'text' },
77
  show_bestbefore                         => { type => 'boolean', default => 'false' },
78
  show_weight                             => { type => 'boolean', default => 'false', not_null => 1 },
79
  signature                               => { type => 'text' },
80
  sonumber                                => { type => 'text' },
81
  sqnumber                                => { type => 'text' },
82
  taxnumber                               => { type => 'text' },
83
  templates                               => { type => 'text' },
84
  transfer_default                        => { type => 'boolean', default => 'true' },
85
  transfer_default_ignore_onhand          => { type => 'boolean', default => 'false' },
86
  transfer_default_use_master_default_bin => { type => 'boolean', default => 'false' },
87
  vendornumber                            => { type => 'text' },
88
  version                                 => { type => 'varchar', length => 8 },
89
  vertreter                               => { type => 'boolean', default => 'false' },
90
  warehouse_id                            => { type => 'integer' },
91
  warehouse_id_ignore_onhand              => { type => 'integer' },
92
  webdav                                  => { type => 'boolean', default => 'false' },
93
  webdav_documents                        => { type => 'boolean', default => 'false' },
94
  weightunit                              => { type => 'varchar', length => 5 },
12
  accounting_method                             => { type => 'text' },
13
  address                                       => { type => 'text' },
14
  ap_changeable                                 => { type => 'integer', default => 2, not_null => 1 },
15
  ap_show_mark_as_paid                          => { type => 'boolean', default => 'true' },
16
  ar_changeable                                 => { type => 'integer', default => 2, not_null => 1 },
17
  ar_paid_accno_id                              => { type => 'integer' },
18
  ar_show_mark_as_paid                          => { type => 'boolean', default => 'true' },
19
  articlenumber                                 => { type => 'text' },
20
  assemblynumber                                => { type => 'text' },
21
  balance_startdate_method                      => { type => 'text' },
22
  bin_id                                        => { type => 'integer' },
23
  bin_id_ignore_onhand                          => { type => 'integer' },
24
  businessnumber                                => { type => 'text' },
25
  closedto                                      => { type => 'date' },
26
  cnnumber                                      => { type => 'text' },
27
  co_ustid                                      => { type => 'text' },
28
  coa                                           => { type => 'text' },
29
  company                                       => { type => 'text' },
30
  currency_id                                   => { type => 'integer', not_null => 1 },
31
  customernumber                                => { type => 'text' },
32
  datev_check_on_ap_transaction                 => { type => 'boolean', default => 'true' },
33
  datev_check_on_ar_transaction                 => { type => 'boolean', default => 'true' },
34
  datev_check_on_gl_transaction                 => { type => 'boolean', default => 'true' },
35
  datev_check_on_purchase_invoice               => { type => 'boolean', default => 'true' },
36
  datev_check_on_sales_invoice                  => { type => 'boolean', default => 'true' },
37
  dunning_ar                                    => { type => 'integer' },
38
  dunning_ar_amount_fee                         => { type => 'integer' },
39
  dunning_ar_amount_interest                    => { type => 'integer' },
40
  duns                                          => { type => 'text' },
41
  expense_accno_id                              => { type => 'integer' },
42
  fxgain_accno_id                               => { type => 'integer' },
43
  fxloss_accno_id                               => { type => 'integer' },
44
  gl_changeable                                 => { type => 'integer', default => 2, not_null => 1 },
45
  id                                            => { type => 'serial', not_null => 1 },
46
  income_accno_id                               => { type => 'integer' },
47
  inventory_accno_id                            => { type => 'integer' },
48
  inventory_system                              => { type => 'text' },
49
  invnumber                                     => { type => 'text' },
50
  ir_changeable                                 => { type => 'integer', default => 2, not_null => 1 },
51
  ir_show_mark_as_paid                          => { type => 'boolean', default => 'true' },
52
  is_changeable                                 => { type => 'integer', default => 2, not_null => 1 },
53
  is_show_mark_as_paid                          => { type => 'boolean', default => 'true' },
54
  itime                                         => { type => 'timestamp', default => 'now()' },
55
  language_id                                   => { type => 'integer' },
56
  max_future_booking_interval                   => { type => 'integer', default => 360 },
57
  mtime                                         => { type => 'timestamp' },
58
  normalize_part_descriptions                   => { type => 'boolean', default => 'true' },
59
  normalize_vc_names                            => { type => 'boolean', default => 'true' },
60
  parts_image_css                               => { type => 'text', default => 'border:0;float:left;max-width:250px;margin-top:20px:margin-right:10px;margin-left:10px;' },
61
  parts_listing_image                           => { type => 'boolean', default => 'true' },
62
  parts_show_image                              => { type => 'boolean', default => 'true' },
63
  payments_changeable                           => { type => 'integer', default => '0', not_null => 1 },
64
  pdonumber                                     => { type => 'text' },
65
  ponumber                                      => { type => 'text' },
66
  profit_determination                          => { type => 'text' },
67
  purchase_delivery_order_show_delete           => { type => 'boolean', default => 'true' },
68
  purchase_order_show_delete                    => { type => 'boolean', default => 'true' },
69
  requirement_spec_section_number_format        => { type => 'text', default => 'A00', not_null => 1 },
70
  requirement_spec_function_block_number_format => { type => 'text', default => 'FB000', not_null => 1 },
71
  revtrans                                      => { type => 'boolean', default => 'false' },
72
  rfqnumber                                     => { type => 'text' },
73
  rmanumber                                     => { type => 'text' },
74
  sales_delivery_order_show_delete              => { type => 'boolean', default => 'true' },
75
  sales_order_show_delete                       => { type => 'boolean', default => 'true' },
76
  sdonumber                                     => { type => 'text' },
77
  sepa_creditor_id                              => { type => 'text' },
78
  servicenumber                                 => { type => 'text' },
79
  show_bestbefore                               => { type => 'boolean', default => 'false' },
80
  show_weight                                   => { type => 'boolean', default => 'false', not_null => 1 },
81
  signature                                     => { type => 'text' },
82
  sonumber                                      => { type => 'text' },
83
  sqnumber                                      => { type => 'text' },
84
  taxnumber                                     => { type => 'text' },
85
  templates                                     => { type => 'text' },
86
  transfer_default                              => { type => 'boolean', default => 'true' },
87
  transfer_default_ignore_onhand                => { type => 'boolean', default => 'false' },
88
  transfer_default_use_master_default_bin       => { type => 'boolean', default => 'false' },
89
  vendornumber                                  => { type => 'text' },
90
  version                                       => { type => 'varchar', length => 8 },
91
  vertreter                                     => { type => 'boolean', default => 'false' },
92
  warehouse_id                                  => { type => 'integer' },
93
  warehouse_id_ignore_onhand                    => { type => 'integer' },
94
  webdav                                        => { type => 'boolean', default => 'false' },
95
  webdav_documents                              => { type => 'boolean', default => 'false' },
96
  weightunit                                    => { type => 'varchar', length => 5 },
95 97
);
96 98

  
97 99
__PACKAGE__->meta->primary_key_columns([ 'id' ]);

Auch abrufbar als: Unified diff