In Microsoft Dynamics AX 2009 you can customize the infolog to add some new buttons on it to open some other forms.
For example in my scenario I have to generate the word document and once the word document is generated successfully than I create a activity automatically and show the activity number on the infolog. once the user clicks on that activity number on the infolog than the show button is appears on the same infolog and when user clicks on that show button than it opens the activity form in edit mode so the user can change the values if they want.
Below is the screen shot of infolog containing activity number and show button.
Now when i click on that show button than it will open the activity form with the same activity number already filtered in it.
Below is the code that I have use to customize the infolog.
info(strfmt('Activity Created Successfully activity number is %1', smmActivities.ActivityNumber), "", Sysinfoaction_tablefield::newBuffer(smmActivities));
note:on smmActivities table the property formRef is set to form smmActivities thats why its opens the form smmActivities.
Below is link for more information on customizing infologs.
https://community.dynamics.com/ax/b/vishalsblogonmsdynamicsax/archive/2013/05/03/sysinfoaction-class-go-to-main-table-from-infolog-message-in-ax-2009-ax-2012
Thanks
Muhammad Zahid.
For example in my scenario I have to generate the word document and once the word document is generated successfully than I create a activity automatically and show the activity number on the infolog. once the user clicks on that activity number on the infolog than the show button is appears on the same infolog and when user clicks on that show button than it opens the activity form in edit mode so the user can change the values if they want.
Below is the screen shot of infolog containing activity number and show button.
Now when i click on that show button than it will open the activity form with the same activity number already filtered in it.
Below is the code that I have use to customize the infolog.
info(strfmt('Activity Created Successfully activity number is %1', smmActivities.ActivityNumber), "", Sysinfoaction_tablefield::newBuffer(smmActivities));
note:on smmActivities table the property formRef is set to form smmActivities thats why its opens the form smmActivities.
Below is link for more information on customizing infologs.
https://community.dynamics.com/ax/b/vishalsblogonmsdynamicsax/archive/2013/05/03/sysinfoaction-class-go-to-main-table-from-infolog-message-in-ax-2009-ax-2012
Thanks
Muhammad Zahid.