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.
Your blog is interesting to read, thanks for sharing this and keep update your blog regularly.
ReplyDeletemicrosoft dynamics crm training in chennai
microsoft dynamics crm training courses
crm training in chennai
Tally Training in Chennai
Web Designing course in Chennai
ui ux design course in Chennai
microsoft dynamics crm training in Porur
microsoft dynamics crm training in Tambaram
microsoft dynamics crm training in Adyar
I appreciate you for providing such a valuable content for us
ReplyDeleteSalesforce Training | Online Course | Certification in chennai | Salesforce Training | Online Course | Certification in bangalore | Salesforce Training | Online Course | Certification in hyderabad | Salesforce Training | Online Course | Certification in pune
Really an awesome blog and informative content. I bookmarked your site for future blogs.
ReplyDeleteUI Development Certification in Hyderabad
RPA Certification in Hyderabad
Python Certification in Hyderabad
Mean Stack Certification in Hyderabad