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

Issue accessing newly added contract member in RDP class

(0) ShareShare
ReportReport
Posted on by 107

Hi,

I need to add new member attribute in the following contract class

VendProvisionalBalanceContract

I did it as usual. Created a new class and added but the new member cannot be accessible in the rdp class. 

One peculiar this with this VendProvisionalBalanceContract is this is having following,

SysOperationContractProcessingAttribute(classStr(VendProvisionalBalanceUIBuilder), SysOperationDataContractProcessingMode::CreateUIBuilderForRootContractOnly),

pastedimage1678600220078v1.png

how do access my new contract member in the rdp class.

Regards,

Mohamed Riswan K.S

I have the same question (0)
  • Riswan Profile Picture
    107 on at
    RE: Issue accessing newly added contract member in RDP class

    Any suggestion on this ?

  • Suggested answer
    huijij Profile Picture
    19,811 on at
    RE: Issue accessing newly added contract member in RDP class

    Hi Riswan,

    Group and order report parameters in a Data Contract Class helps to specify the grouping and order of parameters for a report.  For more details about how to use the report parameter groups in the RDP class you can check the MS document for reference.

    https://learn.microsoft.com/en-us/dynamicsax-2012/appuser-itpro/how-to-group-and-order-report-parameters-by-using-a-data-contract-class

    learn.microsoft.com/.../how-to-use-a-report-data-provider-class-in-a-report

  • Riswan Profile Picture
    107 on at
    RE: Issue accessing newly added contract member in RDP class

    Hi Judy,

    Thanks for your reply, Here is my exact issue,

    I applied COC for the contract class VendProvisionalBalanceContract and added a new DataMemberattribute as follows,

       [DataMemberAttribute('TestInt')]

       public int parmTestInt(int _i = i)

       {

           i = _i;

           return i;

       }

    But I cannot able to access this parmTestInt in my COC applied RDP class.

    Note: The same think I did for the sales invoice report and some other reports those are all working fine. My issue within this vendor balance report only.

    My requirement is to add a new parameter and based on that parameter value I need to do a work around in the RDP class.

    Your suggestions are much appreciated.

    Regards,

    Mohamed Riswan K.S

  • huijij Profile Picture
    19,811 on at
    RE: Issue accessing newly added contract member in RDP class

    Is your report RDP based or query based? if it is RDP based there is no need to specify CreateUIBuilderForRootContractOnly, if the latter one the code is written a little differently, you can refer to the following link.

    www.axpeditesoftware.com/.../

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

#2
André Arnaud de Calavon Profile Picture

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

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 398 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans