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 :
Finance | Project Operations, Human Resources, ...
Answered

How to get PurchId of Form in PurchTable

(0) ShareShare
ReportReport
Posted on by 95

Nice to meet you. I'm in trouble!

In SSRS Add-On development, I want to get [PurchId] in the RDP class. What kind of code should I describe?

Explain in detail.

I plan to add [Output Menu Item] to screen [Purchase order]  and click [Output Menu Item] to open the report.

I have the same question (0)
  • André Arnaud de Calavon Profile Picture
    301,088 Super User 2025 Season 2 on at

    Hi Keito,

    Can you confirm what you want to achieve? Do you want to set a filter in the report based on the current selected project ID? What exact RDP class are you using? A standard or a new custom one?

  • keito yokoi Profile Picture
    95 on at

    Hi、André Arnaud de Calavon.

    Thanks for answering.

    >Do you want to set a filter in the report based on the current selected project ID?

     ⇒Yes. I'm going to base it on  [PurchId] .

    >What exact RDP class are you using? A standard or a new custom one?

    ⇒A new custom RDP class.  

  • Verified answer
    Mea_ Profile Picture
    60,284 on at

    Here is a blog post that shows how to pass a value from current record to a report community.dynamics.com/.../how-to-run-rdp-based-report-through-x-and-pass-parameter-using-datacontract

  • WillWU Profile Picture
    22,361 on at

    Hi Keito,

    You could use the prePromptModifyContract method to pass them to contract class, this called pre process pass parameter.

    See the following blog and old thread:

    https://blog.bhsolutions.com/how-to-launch-an-ssrs-report-from-ax-with-pre-loaded-parameters

    https://community.dynamics.com/ax/f/microsoft-dynamics-ax-forum/234364/get-ssrs-report-parameter-value-from-form

    Hope this helps.

  • keito yokoi Profile Picture
    95 on at

    thank you.

    Thanks to you we can solve the problem.

  • keito yokoi Profile Picture
    95 on at

    thank you.

    Thanks to you we can solve the problem.

  • keito yokoi Profile Picture
    95 on at

    Hi Will WU.

    What should I do if Dialog is hidden?

    i create URL below

    blog.bhsolutions.com/how-to-launch-an-ssrs-report-from-ax-with-pre-loaded-parameters

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 503 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 434 Super User 2025 Season 2

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 278 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans