Hi All,
The Following Code will let you know the List of Mandatory Fields in a table :-
The Following Code will let you know the List of Mandatory Fields in a table :-
static void CheckMandatoryFieldsOnTable(Args _args) { DictTable dictTable; DictField dictField; int i; TableId tableId = tablenum(custtable); ; dictTable = new DictTable(tableId); for (i=1 ; i<=dictTable.fieldCnt() ; i++) { dictField = new DictField(tableId, dictTable.fieldCnt2Id(i)); if (dictField.mandatory()) { info(dictField.name()); } } }
Enjoy DAX !!!
[ExtensionOf(formStr(FormName))] final class FormName_Extension { /// <summary> /// control visibility of SETIndicator flag b...
No comments:
Post a Comment