How to verify active inventory dimensions on an item

If you want to list items come along with their Actvie Dimension, you can do it easily with this simple job

InventTable     inventTable;
InventDimParm   inventDimParm;
;
inventTable   = InventTable::find('110924');
inventDimParm =  InventDimParm::activeDimFlag(InventDimGroupSetup::newInventTable(inventTable));
if(inventDimParm.InventSiteIdFlag)
{
	info("Site Actived");
}

Max Nguyen

Max Nguyen
MCP - Microsoft Dynamics AX Technical Consultant, currently living and working in Seoul, S.Korea :)

Number sequence farmework overview in Dynamics AX 2012

How to create number sequence in Dynamics AX 2012 with difference scenarios Continue reading

Overview delete action in Dyanmics AX 2012

Published on January 19, 2017

Response in AIF custom service class

Published on January 12, 2017