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, ...
Suggested Answer

Need Assistance with Adding Filter to "Customer Account Statement Report

(0) ShareShare
ReportReport
Posted on by 756
Hello everyone,

I'm currently working on the /Customer Account Statement Report/ and have been tasked with adding a filter to it, which should function to filter the output data. 
I've already added the parameter in the contract, UIBUILD classes, and bound it in the class data provider. However, when I open the report designer, I'm unable to find the parameter under the parameter list. I already restored the dataset many times and deployed the report with no luck.

Could someone please advise if it's necessary to manually add it to the report layout XML, or if there are other steps required to ensure the report runs with the filter successfully?

Any guidance or insights would be greatly appreciated.

Thank you in advance!
H
I have the same question (0)
  • Suggested answer
    Layan Jwei Profile Picture
    8,112 Super User 2025 Season 2 on at
    Hi Hisham,

    Can you show us your code?

    if you did the following then you should be able to see new the parameter in the UI:
    [ExtensionOf(classStr(CustAccountStatementExtContract))]
    final class CustAccountStatementExtContract_Extension
    {
        public AccountNum accountNum;
    
        [DataMemberAttribute]
        public AccountNum parmAccount(AccountNum _accountNum = accountNum)
        {
            accountNum = _accountNum;
            return accountNum;
        }
    
    }
    
     
    [ExtensionOf(classStr(CustAccountStatementExtUIBuilder))]
    final class CustAccountStatementExtUIBuilder_Extension
    {
        public AccountNum  accountNum;
        public DialogField accountNumField;
    
        public void build()
        {   
            contract = this.dataContractObject() as CustAccountStatementExtContract;
            accountNumField = this.addDialogField(methodStr(CustAccountStatementExtContract, parmAccount), contract);
    
            next build();
        }
    }
    



    Thanks,
    Layan Jweihan
    Please mark this answer as "Verified" if it solved your issue. In order to help others who will face a similar issue in the future
  • Hisham Alsayed Profile Picture
    756 on at
    Hi Layan,
     
       Thanks for sharing the code but my issue is not in this part ad i mentioned in the post, and it is after that related to report design when i open the parameter list under report designer.
     
    if you have experience with such case or add new filter, what it should do after amend UiBuild class
     
    Thanks,
    H

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 565 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

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

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 250 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans