Skip to main content

Notifications

Announcements

No record found.

Business Central forum
Suggested answer

How to set LetterText on word document templates

Posted on by 141
Hi all,
 
I am setting up new document layouts for our invoices in Microsoft Word. In the XML there is an option to add 'LetterText'-field: BodyText, ClsoingText, GreetingText & PmtDiscText:
 
 
I would like to add a ClosingText on my invoice templates. But I'm not able to find how to set the text that should be displayed for the 'ClosingText' field. Where can I find these settings??
 
Thank you in advance.
Categories:
  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 69,639 Super User 2024 Season 2 on at
    How to set LetterText on word document templates
    Hi, you can try submitting this idea to Microsoft
    Missing a feature? Post or vote for ideas on: aka.ms/BCIdeas
     
    Thanks.
    ZHU
  • Suggested answer
    Khushbu Rajvi. Profile Picture
    Khushbu Rajvi. 1,636 on at
  • PR-30041628-0 Profile Picture
    PR-30041628-0 4 on at
    How to set LetterText on word document templates
    Hi all,
     
    I was finding the same question today.
     
    @Yun Zhu thanks for confirming that it is indeed hard coded.
     
    I am wondering if there's any possibility to request Microsoft to add this labels as "setup" in a table?
     
    In addition, while sending an email, I understand that the email address that we send "to:" is the e-mail field in the Customer card.
     
    However, I am wondering, about the "CC:" field.
     
    Is there a way to put a "CC:" email while sending emails?
     
    Thank you!
  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 69,639 Super User 2024 Season 2 on at
    How to set LetterText on word document templates
    Hi, unfortunately, as kenvdhorst mentioned, this can't be done, it's hardcoded in the variable.
     
    And these variables are not protected var, so they cannot be modified in the extension. The only way is to copy this report and create a new one.
    Dynamics 365 Business Central: Can we access global variables from page extensions or table extensions? Yes, But……
     
    Hope this helps.
    Thanks.
    ZHU
  • Suggested answer
    kenvdhorst Profile Picture
    kenvdhorst 32 on at
    How to set LetterText on word document templates
    HI JR61, 
     
    I'm experiencing the same issue. As far I can see; there's nog option to fill in these variables. 
     
     

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,532 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,501 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans