web
You’re offline. This is a read only version of the page.
close
Skip to main content
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
    RE: New Parameter to existing contract class for SSRS Report

    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,361 on at
    RE: New Parameter to existing contract class for SSRS Report

    Hi AX 2012 R3,

    Thank you for your sharing.

  • Yagnik Profile Picture
    15 on at
    RE: New Parameter to existing contract class for SSRS Report

    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
    RE: New Parameter to existing contract class for SSRS Report

    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,825 Moderator on at
    RE: New Parameter to existing contract class for SSRS Report

    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

Responsible AI policies

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

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

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

#1
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 2,188

#2
André Arnaud de Calavon Profile Picture

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

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 593 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans