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

Hide parameters in report dialog in D365 FO



 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;
 }

Comments