Ax 2012, d365fo
Get field Id
DictTable dt;
fieldId fId;
dt = new DictTable(tablenum(VendTable));
if (dt)
{
fId = dt.fieldName2Id("Name");
print (strfmt("fId: %1", fId));
}
No comments:
Post a Comment