Interview Questions

Wednesday, March 26, 2014

Find MinOnHand Values in AX 2009

static void JobX(Args _args)
{
        InventTable         inventTable;
        ReqItemTable        reqItemTable;
        ;
        select MinInventOnhand from reqItemTable join inventtable where reqItemTable.itemid == inventTable.itemid && reqItemTable.ItemId == '00000' ;
       // return reqItemTable.MinInventOnhand;
        info(strfmt("%1",reqItemTable.MinInventOnhand));
}

No comments:

Post a Comment