Default report of Trial Balance in Microsoft Dynamics AX 2009 does not provide option to get Trial Balance by dimension, let suppose Purpose. I therefore decided to add criterial myself on report and did this successfully.
For this purpose I added a variable of type dimensionCriteria and a dialogField and assigned value of dialogField to variable in getFromDialog method. Now, the only problem I am facing is that despite assigning the value in getFromDialog method I can not get value of dimensionCriterial variable in run() method of the report. I checked and found that values of variable other than mine i.e. fromDate, toDate, are accessible in run() method.
I will be very grateful if anyone of you could help me in resolving this issue.
Thanks in advance