Dynamics AX
  RSS Feed  LinkedIn  Twitter
Want to turn you're data into a true asset? Ready to break free from the report factory?
Ready to gain true insights that are action focused for truly data informed decisions?
Want to do all of this across mutliple companies, instances of Dynamics and your other investments?
Hillstar Business Intelligence is the answer then! (www.HillstarBI.com)

Hillstar Business Intelligence for Microsoft Dynamics AX and NAV on Mobile, Desktop, Tablet


Let us prove to you how we can take the complexity out of the schema and truly enable users to answer the needed questions to run your business! Visit Hillstar Business Solutions at: www.HillstarBI.com

Saturday, November 05, 2005

Strange issue with reports from a Server based class

Ok,

So one of the tasks that was given to me at work was to take an consolidate the printing of paper work that goes along with an order. The Confirmation, the Packing Slip, and the Shipping Labels.

I startd to try and do this by first taking the SalesFormLetter_Confirm class, and overriding the SalesFormLetter.run() {...} at the Confirm level. Once I did that, I then went to the while(query.next()) {...} code block so I could call the reports. Well the same code that worked from behind the Confirmation.Clicked() {...} method did not work for One of the three reports.

I walked through the code, but could never get the third report to come out. I was puzzled. Finally working through it, come to find out that if you do a
report.run()
without first doing a
report.prompt()
then from within a class, Some reports will not work correctly. I am posting this in hopes that someone in the future who might run into a sjmilar issue will have the solution!

Find a job at: www.DynamicsAXJobs.com

0 Comments:

Post a Comment

<< Home


Copyright 2005-2011, J. Brandon George - All rights Reserved