I just create a Global Variable in Ms. Dynamic Nav 2009 R2 and I set its datatype to RECORD and select a specific table(Purchase Line). After that I add a Textbox to Classic Report and set its SourceExpr : “Purchase Line”.”Shortcut Dimension 2 Code”. Then I go to RTC report and Add that field to RTC report. After run RTC report. I get a blank value. Did you ever experiece in this scenario?Please help me. I just want to retrieve a value from “Purchase Line”.”Shortcut Dimension 2 Code”.
Thank in advance
Makara
Have you tested whether the field works in the classic client report?
Additionally you need to remember that when you use a global variable in this manner (as opposed to a report data item), that you need to manually get the relevant record from the database in your C/AL code in the OnAfterGetRecord trigger for instance.