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),
how do access my new contract member in the rdp class.
Regards,
Mohamed Riswan K.S
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.
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
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.
learn.microsoft.com/.../how-to-use-a-report-data-provider-class-in-a-report
Any suggestion on this ?
André Arnaud de Cal...
292,160
Super User 2025 Season 1
Martin Dráb
230,962
Most Valuable Professional
nmaenpaa
101,156