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/OrderItem.pm
9 9
__PACKAGE__->meta->table('orderitems');
10 10

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

  
42 43
__PACKAGE__->meta->primary_key_columns([ 'id' ]);

Auch abrufbar als: Unified diff