hello friends,
please suggest me how to update table for all company. pls show some code.
thanks
hello friends,
please suggest me how to update table for all company. pls show some code.
thanks
In AX 2009 and AX 2012 you do it like this:
while select forupdate SalesTable crossCompany : [dat, ceu] // put the company codes in the container
{
// do the job here
}
Read more about it here:
AX2012: http://msdn.microsoft.com/en-us/library/cc518738.aspx#cc1
AX2009: http://msdn.microsoft.com/en-us/library/cc617093(v=ax.50).aspx
Janis