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 133
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 64,563 Super User 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. 
     
     

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 288,584 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,864 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans