Interview Questions

Wednesday, March 26, 2014

Find Minimum On Hand Values (Another Way)

static void JobX(Args _args)
{
    InventTable     inventloc;
    ReqItemTable     reqItemTable;
    InventQtyMinOnhand   minOnhand;
    InventSum     InventSum;
    ;
    select reqItemTable  where  reqItemTable.ItemId  == InventSum.ItemId
                                    && reqItemTable.CovInventDimId ==  '00002607_089';
    {
        minOnhand =  reqItemTable.MinInventOnhand;
    }

    info(strfmt("%1", minOnhand));

}

No comments:

Post a Comment