web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

Posted sales invoice send by email

(0) ShareShare
ReportReport
Posted on by 2

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

I have the same question (0)
  • Hannes Holst Profile Picture
    5,767 on at
    RE: Posted sales invoice send by email

    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.

  • Verified answer
    Sunny2014 Profile Picture
    2 on at
    RE: Posted sales invoice send by email

    Hi, Thank you for the comment. That is helpful. I will follow option 1. If it does not work, try option 2.

    Thank you,

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

#1
Saurav.Dhyani Profile Picture

Saurav.Dhyani 2 Super User 2025 Season 2

#2
RK-25090803-0 Profile Picture

RK-25090803-0 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans