Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 36b8f1ec

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

  • ID 36b8f1ece3531e2f5fba5bc38932e450e57bb012
  • Vorgänger 6a3c29cd
  • Nachfolger b683eb9d

Rechnungen: amount, netamount, paid NOT NULL DEFAULT 0

Unterschiede anzeigen:

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

  
11 11
__PACKAGE__->meta->columns(
12
  amount                  => { type => 'numeric', precision => 15, scale => 5 },
12
  amount                  => { type => 'numeric', default => '0', not_null => 1, precision => 15, scale => 5 },
13 13
  cp_id                   => { type => 'integer' },
14 14
  currency_id             => { type => 'integer', not_null => 1 },
15 15
  datepaid                => { type => 'date' },
......
28 28
  itime                   => { type => 'timestamp', default => 'now()' },
29 29
  language_id             => { type => 'integer' },
30 30
  mtime                   => { type => 'timestamp' },
31
  netamount               => { type => 'numeric', precision => 15, scale => 5 },
31
  netamount               => { type => 'numeric', default => '0', not_null => 1, precision => 15, scale => 5 },
32 32
  notes                   => { type => 'text' },
33 33
  orddate                 => { type => 'date' },
34 34
  ordnumber               => { type => 'text' },
35
  paid                    => { type => 'numeric', precision => 15, scale => 5 },
35
  paid                    => { type => 'numeric', default => '0', not_null => 1, precision => 15, scale => 5 },
36 36
  payment_id              => { type => 'integer' },
37 37
  quodate                 => { type => 'date' },
38 38
  quonumber               => { type => 'text' },

Auch abrufbar als: Unified diff