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 :
FastTrack for Dynamics 365 forum
Unanswered

Error with a contract for SSRS using a fin dim param

(0) ShareShare
ReportReport
Posted on by
 

Hi,

I have added some code to add the financial dimension parameter to a SSRS report in AX365, but I get the following error when trying to run the report: Error executing code: FormBuildContainerControl object does not have method 'label'.

I amended the contract class and added the following:

[
DataMemberAttribute(identifierStr(DefaultDimension)),
SysOperationHelpTextAttribute(literalStr("Financial dimension")),
SysOperationLabelAttribute(literalStr("Financial dimension"))
]
public LedgerDefaultDimensionValueSet parmDefaultDimension(LedgerDefaultDimensionValueSet _sysDefaultDimension = DefaultDimension)
{
DefaultDimension = _sysDefaultDimension;
return DefaultDimension;
}

Does anyone know why this error is occurring?

Thanks

KR Norm

 

 

 
I have the same question (0)

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 > FastTrack for Dynamics 365

#1
Paresh Bhagwatwar Profile Picture

Paresh Bhagwatwar 11

#2
Priya_K Profile Picture

Priya_K 8

#3
AD-16121015-0 Profile Picture

AD-16121015-0 6

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans