Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics NAV (Archived)

Send by email ??

Posted on by 768

Hi experts,

I have a custom document page i have added action to generate invoice my code for generating invoice is working properly and invoice are generated everything is working properly.

Question 1:

Now i want to add another action Email when click the email the document should send to the selected customer email how it is possible ? 

*This post is locked for comments

  • Suggested answer
    Tony.Phan Profile Picture
    Tony.Phan 100 on at
    RE: Send by email ??

    I have a tutorial on how to fix a bug in the mail management codeunit and email dialog, perhaps it can lead you in the right direction (navcoredev.com/.../Home).  If you still can't figure it out, I suggest you download the Live Links add-in I created.  You can either use that add-in, to easily do what you want, or you can look at the codes contained in the FactBox page that's part of the download.  Look for the part that's doing an export then email, might be exactly what you're looking for.

  • RE: Send by email ??

    Thank you sir for your reply yes i see but i want to use this function on my custom document page in AL for business central so can you please little explain that how to do this which function are using just to send not post and send ?

  • ManishS Profile Picture
    ManishS 6,578 on at
    RE: Send by email ??

    Do you want to send the Invoice as an attachment to the customer ?

    If yes then its a standard available on posted sales invoice screen.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans