Quick Tip - Application Object
Have you ever had a need to run some code, or preform a task after each user's logon into Dynamics AX? Well I had just this need this past week and this is best done by using the Application.startupPost() method. In this method you can place code to call, say another class, to preform a task as each logon, better, after each logon into Dynamics AX.
This is the safest and preferred method of doing such a task. Well thought I would pass this along. Mostly a common knowledge thing, but sometimes it's hard to recall things that you have not touched, or even possibly thought about in a while.
check back soon!
Find a job at: www.DynamicsAXJobs.com
This is the safest and preferred method of doing such a task. Well thought I would pass this along. Mostly a common knowledge thing, but sometimes it's hard to recall things that you have not touched, or even possibly thought about in a while.
check back soon!
Find a job at: www.DynamicsAXJobs.com
Labels: After Logon, Application Object, Dynamics AX, Post Logon, Quick Tip, startupPost
1 Comments:
hey that's a nice tip.
similarly you can use
Info.workspaceWindowCreated() method to put code that runs whenever a new workspace is created. :)
casperkamal
http://casperkamal.spaces.live.com
Post a Comment
<< Home