Hello
Where could I find the code fired when user press the Ok or Cancel button on SalesEditLines form?
Thanks in advance.
*This post is locked for comments
Hello
Where could I find the code fired when user press the Ok or Cancel button on SalesEditLines form?
Thanks in advance.
*This post is locked for comments
Sorry, in AX2012 you don't have CoC. Just right click Methods - override method - closedOk.
Remember to remove it after your debugging.
All forms have it because of the parent class FormRun has it. You can use CoC to wrap it on your form, and put breakpoint in your CoC method.
There is not a closedCancel method on that form.
Try the closedCancel method.
What about the Cancel button code.
- clicked methods of those buttons
- closedOk method of the form
Debug these methods and you should find what you need.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,280 Super User 2024 Season 2
Martin Dráb 230,214 Most Valuable Professional
nmaenpaa 101,156