Skip to main content

Notifications

Announcements

No record found.

Small and medium business | Business Central, N...
Suggested answer

"Order Confirmation" E-Mail Message

(0) ShareShare
ReportReport
Posted on by 3,482

Hi:

By default, the e-mail message that is sent to customers along with the Sales Order Confirmation PDF begins with "Dear company name" instead of "Dear Mary" or whatever the first name of the contact is.

How can this message be modified to pull the first name, instead of the company name?

Thanks!

John

  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 74,115 Super User 2024 Season 2 on at
    RE: "Order Confirmation" E-Mail Message

    Hi, I checked the standard code.

    GreetingText = Hello

    pastedimage1679535968544v1.png

    pastedimage1679535990152v2.png

    pastedimage1679536012791v3.png

    CustomerAddress1 = Customer Name

    pastedimage1679536063812v5.png

    pastedimage1679536048739v4.png

    But there is no first name in the standard DataItem, you need to use Report Extension to add it first, and then update the Layout file.

    pastedimage1679536257863v6.png

    And more details about Word Template

    https://yzhums.com/12509/

    Hope this helps as well.

    Thanks.

    ZHU

  • Suggested answer
    Inge M. Bruvik Profile Picture
    Inge M. Bruvik 32,748 Super User 2024 Season 1 on at
    RE: "Order Confirmation" E-Mail Message

    You can customize through word layout what will be the text in the e-mail, Then you can do that without coding.

    learn.microsoft.com/.../send-mail-entities-using-word-templates-as-body-or-attachment

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 Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,445 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans