26 May 2014

How to access tables of different companies



//how to access tables of different companies
(crosscompany)?


static void crossCompanysupport(Args _args)
{
    container conCompanies = [ 'cee', 'ceu' ];
custTable custTable;
while select crossCompany : conCompanies custTable
    where custTable.accountNum >= "2000" && custTable.AccountNum <="5000"
{
print custTable.accountNum;
}
pause;

}

No comments:

Post a Comment