Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics NAV forum
Answered

Posted sales invoice send by email

Posted on by

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.

Categories:
  • Verified answer
    Sunny2014 Profile Picture
    Sunny2014 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,

  • Hannes Holst Profile Picture
    Hannes Holst 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.

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

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,564 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,651 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans