Wednesday 8 October 2014

to get number of temp table in AOT

static void TmpTablesList(Args _args)
{
     DictTable dictTable;
     Dictionary dict = new Dictionary();
     int i;
     container names;
     #ResAppl
    
    for (i=1; i<=dict.tableCnt(); i++)
    {
            dictTable = new DictTable(dict.tableCnt2Id(i));
            if ( dictTable.isTmp()) 
            {
                names += dictTable.name();
            }
        
    }
    conView(names);
}

No comments:

Post a Comment

intercompany PO multiple product receipt by x++

public void processStampICPO(PackingSlipId _deliveryNote,                             Transdate _deliverydate,                             ...