Saturday, March 9, 2019

ACTIVE DIMENSION IN AX 2012 /D365 x++ code

static void getactivedimension(Args _args)
{
    InventTable inventTable;
    InventDimParm inventDimParm;;
    inventTable = InventTable::find('item001');

    inventDimParm = InventDimParm::activeDimFlag(InventDimGroupSetup::newInventTable(inventTable));

    if (inventDimParm.ConfigIdFlag)
        {
        info("Config Enabled is enabled for item");
    }
}

No comments:

Post a Comment

Related Posts Plugin for WordPress, Blogger...