type or namespace name 'Application' doesn't exist in the name space - need help


I was working on to provide a hyperlink on one of the columns in an SSRS report on my DEV box. As part of thetI had to create a data method in SSRS report and that led to creating a C sharp .BusinessLogic project. The C sharp class then calls out of the box DrillThroughCommonHelper.ToInventoryItem(reportcontext, Itemid).

All this working just fine in my DEV box and when clicked on the hyperlink on the report it opens the screen I want to open just fine.

Now, I have exported the SPO and have it deployed in a QA environment or users to TEST then the C sharp doesn’t compile and therefore it doesn’t generate the .BusinessLogic project dll. The error I am getting is.

CS0234: The type or namespace name ‘Application’ does not exist in the namespace ‘Microsoft.Dynamics.AX’ (are you missing an assembly reference?)

Am I missing anything here?