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 !!!
Problem Statement : I was working on a requirement involving file-based integration using the Data Management Framework (DMF). The data ent...
No comments:
Post a Comment