Notifications
Announcements
No record found.
Hi Friends,
I want to disable/hide one of parameter checkbox for VendAgingReport. How can I do it?
Thanks,
River
*This post is locked for comments
you need to modify class VendAgingReportContract
all parameters of report which is using RDP, are in CONTRACT Class
after removing parameters from contract class you, may be you also would need to modify VendAgingReportDP. Compile classes realted to vendAgaing after change.
At end open report in SSRS, refresh DS, save it, Rebuild and redeploy
another way without changing anything in AX can be hiding parameter on Visual Studio or SSRS level
check following link for that
dynamicsaxlounge.com/.../ssrs-tip-using-invisible-parameters-in-contracts-dynamics-ax-2012
You can decorate the parm method in the data contract with [SysOperationControlVisibilityAttribute(false)].
This is what I am looking for.
[ DataMemberAttribute('IncludeAmountCur'), SysOperationLabelAttribute(literalStr("@SYS344267")), SysOperationHelpTextAttribute(literalStr("@SYS344268")), SysOperationControlVisibilityAttribute(false), SysOperationDisplayOrderAttribute('11') ] public boolean parmIncludeAmountCur(boolean _includeAmountCur = includeAmountCur) { includeAmountCur = _includeAmountCur; return includeAmountCur; }
Somehow, it doesn't work. Can you tell me what I did wrong here?
what you have done so far, other than adding this line of code?
never mind, you need to change at VS and Contract class.
figured out, Thanks.
You can also use a not defined group
SysOperationGroupMemberAttribute(‘group_notdefined_at_classdeclaration’)
the group ‘group_notdefined….’ will not be shown on the dialog, so all members are
invisible
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Martin Dráb 4 Most Valuable Professional
Priya_K 4
MyDynamicsNAV 2