Index: AXimpl/Admin/STAT/Invoice/Processor.cls.xml =================================================================== diff -u -r54330 -r54528 --- AXimpl/Admin/STAT/Invoice/Processor.cls.xml (.../Processor.cls.xml) (revision 54330) +++ AXimpl/Admin/STAT/Invoice/Processor.cls.xml (.../Processor.cls.xml) (revision 54528) @@ -75,6 +75,7 @@ Do ..ProcessKlantProductMaandRec(Line, KlantNr, ProductId, Maand) // Ook ProductMaandRec EN ProductKlantMaandRec Do ..ProcessProductLastInfoRec(Line, ProductId) } + Do ..ProcessKlantMaandRec(Line, KlantNr, Maand) // Ook ProductMaandRec EN ProductKlantMaandRec Do ..SetLastProcessedRecord(Line.RecId) } If $$$Not(Line.Currency = "EUR") { @@ -247,7 +248,14 @@ Set $Piece(ProductMaandRec,"\",3) = $Piece(ProductMaandRec,"\",3) + Line.LineAmount Set $Piece(ProductMaandRec,"\",4) = $Piece(ProductMaandRec,"\",4)+Marge Set ^KSTPR(ProductId,0,Maand) = ProductMaandRec - +]]> + + + +Line:AXimpl.Admin.STAT.Invoice.Line,KlantNr:%Integer,Maand:%String +1 + kost=omzet @@ -360,8 +372,8 @@ } Else { - Set CifPPL=$$$PRGet($$$CifPPLEUR) - Set Line.LineCost=+$J(CifPPL*Line.InventQty,0,4) + Set CifPPL=$$$PRGet($$$CifPPLEUR) + Set Line.LineCost=+$J(CifPPL*Line.InventQty,0,4) } } catch