Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 3cf0aca6

Von Bernd Bleßmann vor 12 Monaten hinzugefügt

  • ID 3cf0aca666518f608f49b417ba93d649d3f2ca93
  • Vorgänger 7cee1f52
  • Nachfolger b3127204

Lieferantenauftragsbestätigung: Bestätigungsnummer des Lieferanten (DB+Rose) …

… bei Aufträgen (oe) und Lieferscheinen

Unterschiede anzeigen:

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

  
11 11
__PACKAGE__->meta->columns(
12
  amount                  => { type => 'numeric', precision => 15, scale => 5 },
13
  billing_address_id      => { type => 'integer' },
14
  closed                  => { type => 'boolean', default => 'false' },
15
  cp_id                   => { type => 'integer' },
16
  currency_id             => { type => 'integer', not_null => 1 },
17
  cusordnumber            => { type => 'text' },
18
  customer_id             => { type => 'integer' },
19
  delivered               => { type => 'boolean', default => 'false' },
20
  delivery_customer_id    => { type => 'integer' },
21
  delivery_term_id        => { type => 'integer' },
22
  delivery_vendor_id      => { type => 'integer' },
23
  department_id           => { type => 'integer' },
24
  employee_id             => { type => 'integer' },
25
  exchangerate            => { type => 'numeric', precision => 15, scale => 5 },
26
  expected_billing_date   => { type => 'date' },
27
  globalproject_id        => { type => 'integer' },
28
  id                      => { type => 'integer', not_null => 1, sequence => 'id' },
29
  intnotes                => { type => 'text' },
30
  itime                   => { type => 'timestamp', default => 'now()' },
31
  language_id             => { type => 'integer' },
32
  marge_percent           => { type => 'numeric', precision => 15, scale => 5 },
33
  marge_total             => { type => 'numeric', precision => 15, scale => 5 },
34
  mtime                   => { type => 'timestamp' },
35
  netamount               => { type => 'numeric', precision => 15, scale => 5 },
36
  notes                   => { type => 'text' },
37
  order_probability       => { type => 'integer', default => '0', not_null => 1 },
38
  order_status_id         => { type => 'integer' },
39
  ordnumber               => { type => 'text', not_null => 1 },
40
  payment_id              => { type => 'integer' },
41
  proforma                => { type => 'boolean', default => 'false' },
42
  quonumber               => { type => 'text' },
43
  record_type             => { type => 'enum', check_in => [ 'request_quotation', 'sales_quotation', 'purchase_quotation_intake', 'purchase_order', 'sales_order_intake', 'sales_order', 'purchase_order_confirmation' ], db_type => 'order_types', not_null => 1 },
44
  reqdate                 => { type => 'date' },
45
  salesman_id             => { type => 'integer' },
46
  shippingpoint           => { type => 'text' },
47
  shipto_id               => { type => 'integer' },
48
  shipvia                 => { type => 'text' },
49
  tax_point               => { type => 'date' },
50
  taxincluded             => { type => 'boolean' },
51
  taxzone_id              => { type => 'integer', not_null => 1 },
52
  transaction_description => { type => 'text' },
53
  transdate               => { type => 'date', default => 'now' },
54
  vendor_id               => { type => 'integer' },
12
  amount                     => { type => 'numeric', precision => 15, scale => 5 },
13
  billing_address_id         => { type => 'integer' },
14
  closed                     => { type => 'boolean', default => 'false' },
15
  cp_id                      => { type => 'integer' },
16
  currency_id                => { type => 'integer', not_null => 1 },
17
  cusordnumber               => { type => 'text' },
18
  customer_id                => { type => 'integer' },
19
  delivered                  => { type => 'boolean', default => 'false' },
20
  delivery_customer_id       => { type => 'integer' },
21
  delivery_term_id           => { type => 'integer' },
22
  delivery_vendor_id         => { type => 'integer' },
23
  department_id              => { type => 'integer' },
24
  employee_id                => { type => 'integer' },
25
  exchangerate               => { type => 'numeric', precision => 15, scale => 5 },
26
  expected_billing_date      => { type => 'date' },
27
  globalproject_id           => { type => 'integer' },
28
  id                         => { type => 'integer', not_null => 1, sequence => 'id' },
29
  intnotes                   => { type => 'text' },
30
  itime                      => { type => 'timestamp', default => 'now()' },
31
  language_id                => { type => 'integer' },
32
  marge_percent              => { type => 'numeric', precision => 15, scale => 5 },
33
  marge_total                => { type => 'numeric', precision => 15, scale => 5 },
34
  mtime                      => { type => 'timestamp' },
35
  netamount                  => { type => 'numeric', precision => 15, scale => 5 },
36
  notes                      => { type => 'text' },
37
  order_probability          => { type => 'integer', default => '0', not_null => 1 },
38
  order_status_id            => { type => 'integer' },
39
  ordnumber                  => { type => 'text', not_null => 1 },
40
  payment_id                 => { type => 'integer' },
41
  proforma                   => { type => 'boolean', default => 'false' },
42
  quonumber                  => { type => 'text' },
43
  record_type                => { type => 'enum', check_in => [ 'request_quotation', 'sales_quotation', 'purchase_quotation_intake', 'purchase_order', 'sales_order_intake', 'sales_order', 'purchase_order_confirmation' ], db_type => 'order_types', not_null => 1 },
44
  reqdate                    => { type => 'date' },
45
  salesman_id                => { type => 'integer' },
46
  shippingpoint              => { type => 'text' },
47
  shipto_id                  => { type => 'integer' },
48
  shipvia                    => { type => 'text' },
49
  tax_point                  => { type => 'date' },
50
  taxincluded                => { type => 'boolean' },
51
  taxzone_id                 => { type => 'integer', not_null => 1 },
52
  transaction_description    => { type => 'text' },
53
  transdate                  => { type => 'date', default => 'now' },
54
  vendor_confirmation_number => { type => 'text' },
55
  vendor_id                  => { type => 'integer' },
55 56
);
56 57

  
57 58
__PACKAGE__->meta->primary_key_columns([ 'id' ]);

Auch abrufbar als: Unified diff