Posts

Showing posts from December, 2010

How InventDimSetup dimensions are connected with the dimensions

static void Job6(Args _args) { InventTable inventtable; InventDimSetup setup; InventDimGroup inventGroup; ; inventtable = InventTable::find('1500M'); inventGroup = InventDimGroup::find(inventtable.DimGroupId); select firstonly setup where setup.Active == NoYes::Yes && setup.dimGroupId == inventGroup.dimGroupId && setup.dimFieldId == fieldnum(inventdim,configid); }