AX 2012 Sum up non selected Misc Charges : Tough One

Hi ,

I am having a different requirement altogether for a AX 2012 ssrs report.

User will be having an option to select misc charges .

parameters amount for that sales line in ax
Misc charges 1 acharge 10
Misc charges 2 bcharge 20
Misc charges 3 ccharge 30
Misc charges 4 dcharge 40

Lets say the user selects Misc Charges 1 and Misc Charges 2 then the output should be as follows

Misc Charges 1 - 10

Misc Charges 2 - 20

Other Charges - 70 (30 +40)

Other charges will be a fix column which will give the results of the non selected misc charges.

Also in case misc charge 1 is selected and there is no misc charge 1 allocated to the line then the misc column should not be displayed ,if there is data then it should be displayed.

Thanks,

Vikas Mehta

And what’s your question?

It looks quite simple to me. Just use a data provider class and fill a temporary table according the logic you’ve described.