Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

.

(0) ShareShare
ReportReport
Posted on by 135

.

*This post is locked for comments

  • Blue Wang Profile Picture
    Blue Wang on at
    RE: How to set two Parameter

    Hi BI AX,

    You can refer this: 

    https://books.google.com.sg/books?id=4b77AAAAQBAJ&pg=PT121&lpg=PT121&dq=set+parameter+with+Two+fromdates+and+two+todates++AX&source=bl&ots=NGOjBNwIaQ&sig=ACfU3U3GEC7UEyHVX3P8QQw8BUVfgEJGSA&hl=en&sa=X&ved=2ahUKEwikjvTM1K7iAhVMro8KHb3CCT0Q6AEwDXoECAcQAQ#v=onepage&q=set%20parameter%20with%20Two%20fromdates%20and%20two%20todates%20%20AX&f=false

    It is to add a class that extend SRSReportDatacontractUIBuilder.
    and two controls being added by the extended class for type Date.

    You need to code according to the original logic to achieve it.

  • Suggested answer
    nmaenpaa Profile Picture
    nmaenpaa 101,156 on at
    RE: How to set two Parameter

    In the report data provider class you have methods for every parameter that is shown on the dialog.  You need to add two new methods there. It's not tricky at all.

    Just look how the existing date fields are handled there.

  • RainChong Profile Picture
    RainChong 135 on at
    RE: How to set two Parameter

    @ievgen What methods are those? May I know because this is kinda tricky

  • Mea_ Profile Picture
    Mea_ 60,278 on at
    RE: How to set two Parameter

    You need to add 2 additional methods to report's contract class and then add logic to DP to handle them.

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,407 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans