Advertisement

Tip Jar:

One-Time Donation

Recurring Monthly $2 Donation Appreciated

The tip jar is to help contribute to keeping this site going. If you like what you see... feel free to help out!

Text Link Ads

Crosscompany support in Dynamics AX 2009

Go directly to Source
This job shows how to retreive data from multiple companies using the crossCompany keyword in the select statement.

Here, we are specifying the container to restrict the number of companies to retreive the record from.

static void JobCrossCompany(Args _args)
{
container conCompanies = [ 'mpr', 'mop' ];
CustTable custTable;
;
while select crossCompany : conCompanies custTable
{
print custTable.name;
}
pause;
}
Make sure to visit the author of this post!
<script src=”http://feeds.feedburner.com/~s/AxaptaSouce-TheAxInfoPlace?i=” type=”text/javascript” charset=”utf-8″>

No Comments

Comments are closed.

MCP Logos