Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision a3511b2d

Von Moritz Bunkus vor mehr als 10 Jahren hinzugefügt

  • ID a3511b2d8974c72e4d26b2d85c5cf1cd711ccb6f
  • Vorgänger 6c22ee7e
  • Nachfolger fb03d191

MetaSetups mit RDBO >= 0.809 neu bauen

Siehe 6c22ee7eb1f64431bade6f361259737ed23b7ecc für die Erläuterung.

Unterschiede anzeigen:

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

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

Auch abrufbar als: Unified diff