Friday, April 24, 2020

Hide parameters in report dialog in D365 FO | Dynamics 365 for finance and operations | D365 F&O

Sometime we get requirement to hide contract parameters either in SSRS reports or SysOperation.

To achieve the same, you need to add SysOperationControlVisibilityAttribute attribute to the parm method of contract class.
Below is the code snippet.

[DataMemberAttribute,SysOperationControlVisibilityAttribute(false)]
 public TableId parmTableId(TableId _tableId = tableId)
 {
     tableId = _tableId;
     return tableId;
 }

No comments:

Post a Comment