I can't imagine the situation when you need to change company automatically. This may cause big problems later when user works in one company and than for some reason he will move to another one.

Anyway you can use Tools -> Development Tools -> Code Profiler if you want to figure out which methods are hiding behind some buttons, user actions etc.



Best regards

Artem Tymofyeyev
Axapta Technology Domain

Microsoft Business Solutions
Navision
Frydenlunds All� 6, DK-2950 Vedbaek
http://www.microsoft.com/BusinessSolutions




-----Original Message-----
From: mrsdebug [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 31, 2004 10:21
To: [EMAIL PROTECTED]
Subject: [development-axapta] Re: change company on menu activation


Thanks a lot! Works wonders..

Next is for me to find an elegant place to add the code.


I really don't want to add this to every form, report...etc, and I
think the most elegant would be to find the class used for executing
a menu Reference

What class is used when a menu reference is activated (from main
menu)?


Thanks in advance

/ Hanne






Yahoo! Groups Links







Yahoo! Groups Links

Reply via email to