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);
}

Comments

Popular posts from this blog

D365FO Data management change tracking enable/disable not working

Displaying a value from a array field in EP

Table array field iteration