Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 3eb3d1b1

Von Moritz Bunkus vor mehr als 11 Jahren hinzugefügt

  • ID 3eb3d1b144adb92e62de08e67dc6ff3d39bf7483
  • Vorgänger e7ae5b6a
  • Nachfolger 0b5b8355

MetaSetup: Spalten- und Fremdschlüsselnamen alphabetisch sortieren

Unterschiede anzeigen:

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

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

  
94 94
__PACKAGE__->meta->primary_key_columns([ 'id' ]);
......
122 122
  },
123 123
);
124 124

  
125
# __PACKAGE__->meta->initialize;
126

  
127 125
1;
128 126
;

Auch abrufbar als: Unified diff