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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

SrsReportDataContractUIBuilder update query on dialog

(0) ShareShare
ReportReport
Posted on by 164

Hi All!

I use a modifiedfield method in SrsReportDataContractUIBuilder to change query  for a SysOperationServiceControler and Contract

I can change a query for Contract, but on dialog of Controler nothing changes

something like this - user changes parameters and see that the query has been changed too.

_1104350437044B043C044F043D043D044B043904_.png

*This post is locked for comments

I have the same question (0)
  • Blue Wang Profile Picture
    Microsoft Employee on at

    Hi Ruslan,

    Here's a similar case.

      public static FController newFromArgs(Args _args)
        {
            FController fController;
            CustTesterDataContract _CustTesterDataContract;
        
            FMTCustomer fmtCustomer;
            Query query;
            ;
    
            fController = new FController();
            fController.initializeFromArgs(_args);
            _CustTesterDataContract = fController.getDataContractObject('_CustTesterDataContract');
            _CustTesterDataContract.parmTransDate(systemDateGet());
        
            if(_args && _args.dataset() == tableNum(fmtCustomer))
            {
                fmtCustomer = _args.record();
                query = new query(queryStr(Customer));          
                query.dataSourceTable(tableNum(fmtCustomer)).addRange(fieldNum(fmtCustomer, CustGroup)).value(queryValue(fmtCustomer.CustGroup));
                _CustTesterDataContract.setQuery(query);
    
            } 
            return fController;
    }
    

    You can refer: https://community.dynamics.com/ax/b/klaasdeforche/archive/2011/08/23/ax2012-sysoperation-part-2-sysoperationservicecontroller

    SrsReportDataContractUIBuilder and SrsReportRunController: https://community.dynamics.com/ax/f/33/t/272907

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
CP04-islander Profile Picture

CP04-islander 39

#2
Michel ROY Profile Picture

Michel ROY 14

#3
imran ul haq Profile Picture

imran ul haq 8

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans