Hi!
I have project in C# which take some data from AX...
Project doesn't use crossCompany ability and i dont want to refactor whole solution to use it...
Changing company is made by Logoff and Logon...
public void SetCompany(string companyId)
{
AXSession.Logoff();
AXSession.Logon(companyId, null, ConfigurationManager.AOSAddress, null);
}
This approach made this solution is very slow... and im looking for some clever concept.
Do you have idea how to do this ??
Is it possible to permanetly change company...
Thank you in advance!
*This post is locked for comments
I have the same question (0)