Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 89b26688

Von Sven Schöling vor mehr als 9 Jahren hinzugefügt

  • ID 89b2668811eac6023ad58322e2f9970ddb6a27c9
  • Vorgänger c653b98f
  • Nachfolger 766ed2a6

PriceSource: Rabattbehandlung

Unterschiede anzeigen:

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

  
11 11
__PACKAGE__->meta->columns(
12
  allocated           => { type => 'float', scale => 4 },
13
  assemblyitem        => { type => 'boolean', default => 'false' },
14
  base_qty            => { type => 'float', scale => 4 },
15
  cusordnumber        => { type => 'text' },
16
  deliverydate        => { type => 'date' },
17
  description         => { type => 'text' },
18
  discount            => { type => 'float', scale => 4 },
19
  donumber            => { type => 'text' },
20
  fxsellprice         => { type => 'numeric', precision => 15, scale => 5 },
21
  id                  => { type => 'integer', not_null => 1, sequence => 'invoiceid' },
22
  itime               => { type => 'timestamp', default => 'now()' },
23
  lastcost            => { type => 'numeric', precision => 15, scale => 5 },
24
  longdescription     => { type => 'text' },
25
  marge_percent       => { type => 'numeric', precision => 15, scale => 5 },
26
  marge_price_factor  => { type => 'numeric', default => 1, precision => 15, scale => 5 },
27
  marge_total         => { type => 'numeric', precision => 15, scale => 5 },
28
  mtime               => { type => 'timestamp' },
29
  ordnumber           => { type => 'text' },
30
  parts_id            => { type => 'integer' },
31
  price_factor        => { type => 'numeric', default => 1, precision => 15, scale => 5 },
32
  price_factor_id     => { type => 'integer' },
33
  pricegroup_id       => { type => 'integer' },
34
  project_id          => { type => 'integer' },
35
  qty                 => { type => 'float', scale => 4 },
36
  sellprice           => { type => 'numeric', precision => 15, scale => 5 },
37
  serialnumber        => { type => 'text' },
38
  subtotal            => { type => 'boolean', default => 'false' },
39
  trans_id            => { type => 'integer' },
40
  transdate           => { type => 'text' },
41
  unit                => { type => 'varchar', length => 20 },
42
  active_price_source => { type => 'text', default => '', not_null => 1 },
12
  active_discount_source => { type => 'text', default => '', not_null => 1 },
13
  active_price_source    => { type => 'text', default => '', not_null => 1 },
14
  allocated              => { type => 'float', scale => 4 },
15
  assemblyitem           => { type => 'boolean', default => 'false' },
16
  base_qty               => { type => 'float', scale => 4 },
17
  cusordnumber           => { type => 'text' },
18
  deliverydate           => { type => 'date' },
19
  description            => { type => 'text' },
20
  discount               => { type => 'float', scale => 4 },
21
  donumber               => { type => 'text' },
22
  fxsellprice            => { type => 'numeric', precision => 15, scale => 5 },
23
  id                     => { type => 'integer', not_null => 1, sequence => 'invoiceid' },
24
  itime                  => { type => 'timestamp', default => 'now()' },
25
  lastcost               => { type => 'numeric', precision => 15, scale => 5 },
26
  longdescription        => { type => 'text' },
27
  marge_percent          => { type => 'numeric', precision => 15, scale => 5 },
28
  marge_price_factor     => { type => 'numeric', default => 1, precision => 15, scale => 5 },
29
  marge_total            => { type => 'numeric', precision => 15, scale => 5 },
30
  mtime                  => { type => 'timestamp' },
31
  ordnumber              => { type => 'text' },
32
  parts_id               => { type => 'integer' },
33
  price_factor           => { type => 'numeric', default => 1, precision => 15, scale => 5 },
34
  price_factor_id        => { type => 'integer' },
35
  pricegroup_id          => { type => 'integer' },
36
  project_id             => { type => 'integer' },
37
  qty                    => { type => 'float', scale => 4 },
38
  sellprice              => { type => 'numeric', precision => 15, scale => 5 },
39
  serialnumber           => { type => 'text' },
40
  subtotal               => { type => 'boolean', default => 'false' },
41
  trans_id               => { type => 'integer' },
42
  transdate              => { type => 'text' },
43
  unit                   => { type => 'varchar', length => 20 },
43 44
);
44 45

  
45 46
__PACKAGE__->meta->primary_key_columns([ 'id' ]);

Auch abrufbar als: Unified diff