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)

Automatic fill Journal batch number in SSRS Report

(0) ShareShare
ReportReport
Posted on by 209

I have a made a Query Type SSRS Report of a customized Journal Voucher.

I have no problem with the output and i already deployed it in AX.

But when I run the Report, I have to fill-up the Parameter (Journal batch number),

I would like to ask if there is a way to automatically fill-up the Journal batch number, upon clicking a General Journal Record. (because the sample Journal Voucher in AX is working that way).

Please help me, Thanks.

*This post is locked for comments

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

    Hi XSpy,

    This is possible by adding some coding. You can have a look at the sample journal voucher you are referring to. If you need additional help, please specify if you need to have this value in a dialog field or as query range.

  • XSpy Profile Picture
    209 on at

    Hi André,

    Apparently, i am using a Query Dataset, not a RDP,

    if there is a way, please help me,

    I also used a Query Range, but I only manage to make a Dropdown Field (of the Parameter)

    as I said earlier, I need a Parameter that auto-fill the Selected Data (Journal Voucher) in my Report, so there will be no need to Input or Select in the Report's Parameters.

    Please help me, Thanks.

  • Verified answer
    Faisal Fareed Profile Picture
    10,796 User Group Leader on at

    Hi XSpy,

    As far I know this is not possible using Query as a datasource, you can easily do this through a contract class using RDP as your report datasource.

  • XSpy Profile Picture
    209 on at

    I have made a RDP class now and its working.

    Can you help me in making my parameter automatically filled?

  • Verified answer
    Sohaib Cheema Profile Picture
    49,438 User Group Leader on at

    you need to create a controller class which will take parameters and will open report against passed voucher number

    for your inspiration, here you go

    abdulghani121.blogspot.com/.../controller-class-for-current-record.html

    community.dynamics.com/.../using-controller-class-in-developing-ssrs-reports-in-microsoft-dynamics-ax-2012

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