CurrReport.CREATETOTALS(StartingExpectedQty,IncreaseExpectedQty,DecreaseExpectedQty,
StartingInvoicedQty,IncreaseInvoicedQty,DecreaseInvoicedQty);
The code is in the Inventory Valuation report on Item-OnPreDataItem trigger which is a standard report.
*This post is locked for comments