Hi ,
Take a look below on DictTable and DictField class in AX.
Note : DictTable class is used to access information ralated to table.
Note : DictField class is used to access information ralated to table fields.
Take a look below on DictTable and DictField class in AX.
Note : DictTable class is used to access information ralated to table.
Note : DictField class is used to access information ralated to table fields.
DictTable dt; ; dt = new DictTable(tablenum(Address)); if (dt) { print (strfmt("The table is saved on a %1 basis.", dt.dataPrCompany() ? "per company" : "global")); }
#macrolib.dictfield DictField df; int nFlags; ; df = new DictField(tablenum(CustTable), fieldnum(CustTable, AccountNum)); if (df) { nFlags = df.flags(); if (bitTest(nFlags,#DBF_MANDATORY)) { print ("The field is mandatory."); } else { print ("The field is not mandatory."); } }
No comments:
Post a Comment
Thanks for your time reviewing this blog.