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 :
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

    Any suggestion on this ?

  • Suggested answer
    huijij Profile Picture
    19,811 on at

    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

    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

    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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

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

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 545 Super User 2026 Season 1

#2
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 408

#3
Adis Profile Picture

Adis 267 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans