Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision c0318621

Von Niclas Zimmermann vor etwa 12 Jahren hinzugefügt

  • ID c0318621a7eb2c05cfec74d2fbbd37025a03dc3d
  • Vorgänger c6cd7142
  • Nachfolger 469ca9fc

Gewicht im Verkaufsbericht

Im Verkaufsbericht kann man sich jetzt auch das Gewicht von
verkauften Teilen anzeigen lassen.

Unterschiede anzeigen:

SL/VK.pm
51 51
  my @values;
52 52

  
53 53
  my $query =
54
    qq|SELECT ct.id as customerid, ct.name as customername,ct.customernumber,ct.country,ar.invnumber,ar.id,ar.transdate,p.partnumber,pg.partsgroup,i.parts_id,i.qty,i.price_factor,i.discount,i.description as description,i.lastcost,i.sellprice,i.fxsellprice,i.marge_total,i.marge_percent,i.unit,b.description as business,e.name as employee,e2.name as salesman, to_char(ar.transdate,'Month') as month, to_char(ar.transdate, 'YYYYMM') as nummonth, p.unit as parts_unit | .
54
    qq|SELECT ct.id as customerid, ct.name as customername,ct.customernumber,ct.country,ar.invnumber,ar.id,ar.transdate,p.partnumber,pg.partsgroup,i.parts_id,i.qty,i.price_factor,i.discount,i.description as description,i.lastcost,i.sellprice,i.fxsellprice,i.marge_total,i.marge_percent,i.unit,b.description as business,e.name as employee,e2.name as salesman, to_char(ar.transdate,'Month') as month, to_char(ar.transdate, 'YYYYMM') as nummonth, p.unit as parts_unit, p.weight | .
55 55
    qq|FROM invoice i | .  
56 56
    qq|JOIN ar on (i.trans_id = ar.id) | .
57 57
    qq|JOIN parts p on (i.parts_id = p.id) | .

Auch abrufbar als: Unified diff