Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision eebe8e90

Von Sven Schöling vor etwa 10 Jahren hinzugefügt

  • ID eebe8e90991eacadb6fbd20a648c152017a620c7
  • Vorgänger c21d2acc
  • Nachfolger 0409db7c

PriceSource: Erste Version

- Preisgruppen und Stammdaten sind implementiert
- Persistenz in allen Belegen funktioniert
- Rudimentäre Visualisierung funktioniert
- Klassen sind alle da

- Doku fehlt
- Verkauf/Einkaufweiche fehlt
- best_price ungetestet
- Preisgruppen hängen noch nicht von Verkäufer ab
- dependancy system fehlt
- verhalten bei fehlerhaften sources
- pricegroup -> active_source migration

Unterschiede anzeigen:

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

  
11 11
__PACKAGE__->meta->columns(
12
  base_qty           => { type => 'float', scale => 4 },
13
  cusordnumber       => { type => 'text' },
14
  delivery_order_id  => { type => 'integer', not_null => 1 },
15
  description        => { type => 'text' },
16
  discount           => { type => 'float', scale => 4 },
17
  id                 => { type => 'integer', not_null => 1, sequence => 'delivery_order_items_id' },
18
  itime              => { type => 'timestamp', default => 'now()' },
19
  lastcost           => { type => 'numeric', precision => 15, scale => 5 },
20
  longdescription    => { type => 'text' },
21
  marge_price_factor => { type => 'numeric', default => 1, precision => 15, scale => 5 },
22
  mtime              => { type => 'timestamp' },
23
  ordnumber          => { type => 'text' },
24
  parts_id           => { type => 'integer', not_null => 1 },
25
  price_factor       => { type => 'numeric', default => 1, precision => 15, scale => 5 },
26
  price_factor_id    => { type => 'integer' },
27
  pricegroup_id      => { type => 'integer' },
28
  project_id         => { type => 'integer' },
29
  qty                => { type => 'numeric', precision => 25, scale => 5 },
30
  reqdate            => { type => 'date' },
31
  sellprice          => { type => 'numeric', precision => 15, scale => 5 },
32
  serialnumber       => { type => 'text' },
33
  transdate          => { type => 'text' },
34
  unit               => { type => 'varchar', length => 20 },
12
  base_qty            => { type => 'float', scale => 4 },
13
  cusordnumber        => { type => 'text' },
14
  delivery_order_id   => { type => 'integer', not_null => 1 },
15
  description         => { type => 'text' },
16
  discount            => { type => 'float', scale => 4 },
17
  id                  => { type => 'integer', not_null => 1, sequence => 'delivery_order_items_id' },
18
  itime               => { type => 'timestamp', default => 'now()' },
19
  lastcost            => { type => 'numeric', precision => 15, scale => 5 },
20
  longdescription     => { type => 'text' },
21
  marge_price_factor  => { type => 'numeric', default => 1, precision => 15, scale => 5 },
22
  mtime               => { type => 'timestamp' },
23
  ordnumber           => { type => 'text' },
24
  parts_id            => { type => 'integer', not_null => 1 },
25
  price_factor        => { type => 'numeric', default => 1, precision => 15, scale => 5 },
26
  price_factor_id     => { type => 'integer' },
27
  pricegroup_id       => { type => 'integer' },
28
  project_id          => { type => 'integer' },
29
  qty                 => { type => 'numeric', precision => 25, scale => 5 },
30
  reqdate             => { type => 'date' },
31
  sellprice           => { type => 'numeric', precision => 15, scale => 5 },
32
  serialnumber        => { type => 'text' },
33
  transdate           => { type => 'text' },
34
  unit                => { type => 'varchar', length => 20 },
35
  active_price_source => { type => 'text', default => '', not_null => 1 },
35 36
);
36 37

  
37 38
__PACKAGE__->meta->primary_key_columns([ 'id' ]);

Auch abrufbar als: Unified diff