Saturday, February 15, 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

Convert Call stack to readable format in D365FO X++

//Input --container _xppCallStack = xSession::xppCallStack();  Public static str POL_formatXppCallStack(container _xppCallStack, int _skipFr...