问题
I have a report like this
Classification Item Qty Weight (Kg) Value
I want to add subtotal per Classification and grandtotal to both Weight and Value. How?
回答1:
To add a subtotal for Classification you need to set the SumAll
property of the corresponding field to Yes. However you would need to calculate grand totals of Weight and Value manually, you can display them in a separate ProgrammableSection
by running element.execute(...);
from the fetch()
method.
来源:https://stackoverflow.com/questions/5087342/add-subtotals-and-grand-totals-in-axapta-2009-report