首页 > 代码库 > AX_Query

AX_Query

static void example(Args _args) 
{ 
    SysQueryRun     queryRun new SysQueryRun(querystr(KTL_SalesData)); 
    InventTable     inventTable; 
    ; 
    if(queryRun.prompt()) 
    { 
        while (queryRun.next()) 
        { 
            inventTable = queryRun.get(tablenum(InventTable)); 
            if(queryRun.changed(tableNum(InventTable))) 
            { 
                info(strfmt("%1",inventTable.recid)); 
            } 
        } 
    } 
}

 

AX_Query