Change current company


Eitan Mizrahi
POSTED BY EITAN MIZRAHI ON 14 JUL 2013 5:47 AM
Hello,

In AX 2009,

How can I change in code current company (curext), and keep staying on that company as long as I am on the form.

Thanks :)

Reply
 Muhammad Afsar Khan
POSTED BY MUHAMMAD AFSAR KHAN ON 15 JUL 2013 2:35 AM VERIFIED ANSWER VERIFIED BY EITAN MIZRAHI
The other way is to use appl.setDefaultCompany('ceu'); but its also wrap all code to a single condition.

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.