Revision eebe8e90
Von Sven Schöling vor etwa 10 Jahren hinzugefügt
SL/OE.pm | ||
---|---|---|
532 | 532 |
sellprice = ?, discount = ?, unit = ?, reqdate = ?, project_id = ?, serialnumber = ?, ship = ?, |
533 | 533 |
pricegroup_id = ?, ordnumber = ?, transdate = ?, cusordnumber = ?, subtotal = ?, |
534 | 534 |
marge_percent = ?, marge_total = ?, lastcost = ?, price_factor_id = ?, |
535 |
active_price_source = ?, |
|
535 | 536 |
price_factor = (SELECT factor FROM price_factors WHERE id = ?), marge_price_factor = ? |
536 | 537 |
WHERE id = ? |
537 | 538 |
SQL |
... | ... | |
546 | 547 |
$form->{"cusordnumber_$i"}, $form->{"subtotal_$i"} ? 't' : 'f', |
547 | 548 |
$form->{"marge_percent_$i"}, $form->{"marge_absolut_$i"}, |
548 | 549 |
$form->{"lastcost_$i"}, |
550 |
$form->{"active_price_source_$i"}, |
|
549 | 551 |
conv_i($form->{"price_factor_id_$i"}), conv_i($form->{"price_factor_id_$i"}), |
550 | 552 |
conv_i($form->{"marge_price_factor_$i"}), |
551 | 553 |
conv_i($orderitems_id), |
... | ... | |
945 | 947 |
o.sellprice, o.parts_id AS id, o.unit, o.discount, p.notes AS partnotes, p.inventory_accno_id AS part_inventory_accno_id, |
946 | 948 |
o.reqdate, o.project_id, o.serialnumber, o.ship, o.lastcost, |
947 | 949 |
o.ordnumber, o.transdate, o.cusordnumber, o.subtotal, o.longdescription, |
948 |
o.price_factor_id, o.price_factor, o.marge_price_factor, |
|
950 |
o.price_factor_id, o.price_factor, o.marge_price_factor, o.active_price_source,
|
|
949 | 951 |
pr.projectnumber, p.formel, |
950 | 952 |
pg.partsgroup, o.pricegroup_id, (SELECT pricegroup FROM pricegroup WHERE id=o.pricegroup_id) as pricegroup |
951 | 953 |
FROM orderitems o |
Auch abrufbar als: Unified diff
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