static void checkProperties(Args _args)
{
DictTable dictTable;
DictField dictField;
int i, cnt;
dictTable = new DictTable(tableNum(CustTrans));
cnt = dictTable.fieldCnt();
for (i= 1; i<=cnt;i++)
{
dictField = new DictField(tableNum(CustTrans),dictTable.fieldCnt2Id(i));
if (dictField.mandatory())
{
info (strFmt("Field %1 is mandatory.",dictField.label()));
}
}
}
{
DictTable dictTable;
DictField dictField;
int i, cnt;
dictTable = new DictTable(tableNum(CustTrans));
cnt = dictTable.fieldCnt();
for (i= 1; i<=cnt;i++)
{
dictField = new DictField(tableNum(CustTrans),dictTable.fieldCnt2Id(i));
if (dictField.mandatory())
{
info (strFmt("Field %1 is mandatory.",dictField.label()));
}
}
}

Online BA Analyst Course
ReplyDeleteDevelop strong analytical and documentation skills to excel as a Business Analyst. Learn requirement gathering, stakeholder management, and project analysis through live projects.
Boost your career with our comprehensive salesforce admin training
ReplyDeletedesigned to equip you with practical skills for managing Salesforce effectively. Learn to customize dashboards, automate workflows, and optimize CRM operations through hands-on exercises.
Enhance your career with comprehensive salesforce developer training
ReplyDeletedesigned to equip you with hands-on skills in Apex, Visualforce, and Lightning components. Gain industry-ready expertise and become a certified professional through our practical, instructor-led sessions.