web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

SSRS report passing parameters

(0) ShareShare
ReportReport
Posted on by

Hi all.

Maybe you coud help me.

I have done some report  printing a lot of informations about shipments. The report is launched from shipments form after user check given shipment. I am facing a problem with passing parameter to dialog.

Now in the controller I used:

this.parmArgs().record().shipmentId

and it is fetch correct shipment Id and printing report is working well.

But I need this shipment Id also in dialog wich I am building by UIBuilder class. Depending on it I have to enable/diasable some fields on the dialog. How can I pass this parameter to dialog (UIBuilder class).

Any ideas??

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    István Orosz Profile Picture
    2,137 on at

    Hi,

    You can refer to these articles: RDP, Contract, UI Builder and Controller classes for SSRS report Development,

    Using UI Builder Class to Develop SSRS Reports in Microsoft Dynamics AX 2012

    on how to pass parameter to UIBuilder class. UIBuilder class is ok to have, but if you only want to pass a parameter from a dialog, a simple contract class is enough. What was the reason why you have built a UIBuilder class?

    Regards,

    István

  • István Orosz Profile Picture
    2,137 on at

    Hi,

    Would you please mark the verified answers if the problem is solved or let us know if you still have questions?

    Regards,

    István

  • Verified answer
    Community Member Profile Picture
    on at

    Hi, Istvan

    I was passing parameter in preRunModifiedContract() method in controller and as far it was good for printing data, the UIBuilder class does not fetch it because it is launched eariler in process.

    So I moved the the code to main() method of controller and now it working fine.

    Regards,

    Tom

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans