Friday, 8 February 2019

GET OR FIND ACTIVE DIMENSION IN AX /D365

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

AZURE INTERVIEW QUESTIONS AND ANSWERS

AZURE INTERVIEW QUESTIONS AND ANSWERES 2021 2. What is cloud computing? Explanation:  It is the use of servers on the internet to “store...