Revision 64515aa9
Von Bernd Blessmann vor mehr als 13 Jahren hinzugefügt
SL/DO.pm | ||
---|---|---|
663 | 663 |
# stuff different from the whole will not be overwritten, but saved with a suffix. |
664 | 664 |
$query = |
665 | 665 |
qq|SELECT doi.id AS delivery_order_items_id, |
666 |
p.partnumber, p.assembly, doi.description, doi.qty, |
|
666 |
p.partnumber, p.assembly, p.listprice, doi.description, doi.qty,
|
|
667 | 667 |
doi.sellprice, doi.parts_id AS id, doi.unit, doi.discount, p.bin, p.notes AS partnotes, |
668 | 668 |
doi.reqdate, doi.project_id, doi.serialnumber, doi.lastcost, |
669 | 669 |
doi.ordnumber, doi.transdate, doi.cusordnumber, doi.longdescription, |
... | ... | |
860 | 860 |
$sameitem = ($ref->{partsgroup}) ? $ref->{partsgroup} : "--"; |
861 | 861 |
push(@{ $form->{description} }, $sameitem); |
862 | 862 |
} |
863 |
|
|
864 | 863 |
push(@{ $form->{description} }, $form->format_amount($myconfig, $ref->{qty} * $form->{"qty_$i"}) . qq|, $ref->{partnumber}, $ref->{description}|); |
865 | 864 |
|
866 | 865 |
map({ push(@{ $form->{$_} }, "") } grep({ $_ ne "description" } @arrays)); |
SL/IS.pm | ||
---|---|---|
1514 | 1514 |
i.description, i.longdescription, i.qty, i.fxsellprice AS sellprice, i.discount, i.parts_id AS id, i.unit, i.deliverydate AS reqdate, |
1515 | 1515 |
i.project_id, i.serialnumber, i.id AS invoice_pos, i.pricegroup_id, i.ordnumber, i.transdate, i.cusordnumber, i.subtotal, i.lastcost, |
1516 | 1516 |
i.price_factor_id, i.price_factor, i.marge_price_factor, |
1517 |
p.partnumber, p.assembly, p.bin, p.notes AS partnotes, p.inventory_accno_id AS part_inventory_accno_id, p.formel, |
|
1517 |
p.partnumber, p.assembly, p.bin, p.notes AS partnotes, p.inventory_accno_id AS part_inventory_accno_id, p.formel, p.listprice,
|
|
1518 | 1518 |
pr.projectnumber, pg.partsgroup, prg.pricegroup |
1519 | 1519 |
|
1520 | 1520 |
FROM invoice i |
SL/OE.pm | ||
---|---|---|
869 | 869 |
c2.accno AS income_accno, c2.new_chart_id AS income_new_chart, date($transdate) - c2.valid_from as income_valid, |
870 | 870 |
c3.accno AS expense_accno, c3.new_chart_id AS expense_new_chart, date($transdate) - c3.valid_from as expense_valid, |
871 | 871 |
oe.ordnumber AS ordnumber_oe, oe.transdate AS transdate_oe, oe.cusordnumber AS cusordnumber_oe, |
872 |
p.partnumber, p.assembly, o.description, o.qty, |
|
872 |
p.partnumber, p.assembly, p.listprice, o.description, o.qty,
|
|
873 | 873 |
o.sellprice, o.parts_id AS id, o.unit, o.discount, p.bin, p.notes AS partnotes, p.inventory_accno_id AS part_inventory_accno_id, |
874 | 874 |
o.reqdate, o.project_id, o.serialnumber, o.ship, o.lastcost, |
875 | 875 |
o.ordnumber, o.transdate, o.cusordnumber, o.subtotal, o.longdescription, |
Auch abrufbar als: Unified diff
Listenpreis wird beim Laden von Verkaufsformularen gesetzt.
Vorher war der immer 0. Jetzt wird aus parts gesetzt. In den
Tabellen der Verkaufsdokumente ist er nicht drin, wird dort
also nicht gespeichert.