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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

New Parameter to existing contract class for SSRS Report

(0) ShareShare
ReportReport
Posted on by 2,426

Good morning,

I am trying to add new parameter for custacconustatementExt report 

Requirement is i want to add one checkbox (Prepayment).

If this is marked i need to show records which have prepayment as yes

If this is no then it should work normal.

I have created extension class for contract (CustAccountStatementExtContract) and wrote one data member attribute class .

In UI builder class added one dialogfield and coc for build() and catchin that event.

The issue is when i duplicate custaccountstatementExt report and removed dataset and added again and selected DP  still i am not able to see newly added parameter in extension of contract class.

Can we create extension for Contract classes for SSRS Report.

I have gone through this URL 

https://community.dynamics.com/365/financeandoperations/f/dynamics-365-for-finance-and-operations-forum/377499/extend-contract-class-in-d365-fo-to-add-a-new-parameter#:~:text=Usually%20refreshing%20report%20data%20set,check%20if%20it%20is%20visible.

But this is not working.

Please provide some light on this.

Regards,

Have a nice day

I have the same question (0)
  • Verified answer
    AX 2012 r3 Profile Picture
    2,426 on at

    I found the solution.

    In SSRS report parameters the newly added parameter through contract extension will not show but When we run report from UI then it will show.

    Which means we should not get panic if it doesnot show in SSRS Report .

    Just Run it from UI it will show the contract parameter.

  • WillWU Profile Picture
    22,363 on at

    Hi AX 2012 R3,

    Thank you for your sharing.

  • Yagnik Profile Picture
    15 on at

    I try from ui side as well but this not working for me, I can show old parameters that added in contract class but new parameter is not showing at time of run ssrs report.

  • Yagnik Profile Picture
    15 on at

    I try from ui side as well but this not working for me, I can show old parameters that added in contract class but new parameter is not showing at time of run ssrs report.

  • GirishS Profile Picture
    27,843 Moderator on at

    Hi Yagnik,

    After adding the new parameters - Have you duplicated the SSRS report and restore the dataset?

    Try restarting SQL server reporting service and check. Also after duplicating the report - Did you duplicated the controller class mention the custom SSRS report?

    Thanks,

    Girish S.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 288 Super User 2026 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 270 Most Valuable Professional

#3
Anton Venter Profile Picture

Anton Venter 217 Super User 2026 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans