Announcements
Hi All,
My client is using NAV2016 and wants to utilize email function (send posted sales invoice by email via NAV).
By default, if the user selects multiple invoices of same customer, email dialog pop-up and attached single PDF including multiple invoices and allow user to send customer single email with one PDF incl. multiple invoices. My client's environment has two add-on modules and when I tested to select multiple posted sales invoice of same customer, the following message shows up
"Do you want to suppress send dialog?"
The behavior is if I click "Yes", nothing is happened. If I click "No", email dialog pops up but it is split per number of invoices I selected. For example, if I select two invoice and click "Email" icon on Posted sales invoice window (ribbon is located under action tab), the pop-up message above is shown up and click "No", email dialog pop-up but attached PDF contains first invoice only. Once I click ok, another email dialog pop-up to proceed second invoice. This awkward behavior may be caused by add-on modules which are totally NOT relating to default email function in NAV, but how can I trace to find the trigger of the message above in development environment? Email dialog is page ID 9700 and I looked at code by C/AL editor but unable to find the script to run the message above.
Any suggestion is greatly appreciated.
*This post is locked for comments
Hi, Thank you for the comment. That is helpful. I will follow option 1. If it does not work, try option 2.
Thank you,
Hello,
There are two ways to identify a specific piece of code:
1) You set a breakpoint at the initial Trigger. In your case it should be an Action in the Menu (?). Then you start the Debugger and observe the code until the code-line you want to see.
2) Download Statical Prism (https://stati-cal.com/). You can import your source-code in txt-format into this tool. Then it is possible to search for code lines based on the content of Text Constants.
André Arnaud de Cal... 291,359 Super User 2024 Season 2
Martin Dráb 230,370 Most Valuable Professional
nmaenpaa 101,156