Hello,
I am creating a new report based on Value Entry table.
I want that all records are passed to calculate for examples cost amount but in body section I want to display only records with Adjustment = no so I write:
Value Entry, Body (3) - OnPreSection()
IF "Value Entry".Adjustment THEN
CurrReport.SHOWOUTPUT(FALSE);
I then have a section Group Footer in which the totals for amounts are good but I don't want to have the quantity about Adjustment = yes summed otherwise the total quantity are duplicated.
Is this possibile? How? With function TOTALSCAUSEDBY ?
Or do I have to write a lot of code and variables to manage sums?
Thank you
0
Comments
Adjustment = no and maintain totals for that variable to show in the group footer.
In OnPreDataItem of VE:
In OnAfterGetRecord of VE:
Then show QtyAdjNo in your Group footer.
Regards.
RIS Plus, LLC
I would do the same.
I don't know the report you're writing, but it sounds easy to just handle a global variable in which you save the values you need.
Just a question about What do you mean by Duplicated?
Is the total for Quantity showing twice in report?
Which columns are you using in GroupTotalFields?
Harjot