Below code can be used to verify active or enabled specific or all product dimensions.
public static void main(Args _args)
{
InventTable inventTable;
InventDimParm inventDimParm;
;
inventTable = InventTable::find('ABC');
inventDimParm = InventDimParm::activeDimFlag(InventDimGroupSetup::newInventTable(inventTable));
if(inventDimParm.InventColorIdFlag)
{
info("Color Enabled.");
}
}
No comments:
Post a Comment