Hi,
In AX2012, when I process the following code I found out the company switch back to the current company in the middle if during the process I click the cursor on AX interface.
For example, the job is called inside company US, while working on company UK, I click anywhere on AX interface, the company switch back to US.
Is this a limitation of changecompany function? How can I get this resolved?
Thanks.
===my code===
while select DataArea where !DataArea.isVirtual
{
changecompany (DataArea.Id)
{
//actual code..
}
}