Skip to main content

Notifications

Announcements

No record found.

Small and medium business | Business Central, N...
Answered

Word Report Layout and Word Templates

Posted on by 123
I have created a word email body report for a sales invoice as well as a word template report with a formula field so that the email body states
 
/Good morning/ or /Good afternoon/ when I go the send the email.
 
The formula is { IF { TIME //@ /am/pm/ } = /AM/ /morning/ /afternoon/ } 
 
The formula works no issues if executed purely in Word but once it is loaded into BC the system does not update the field when inserting into the email body.
 
I'm assuming BC does not update fields otherwise this would appear correctly in the email body but I cannot find any commentary around limitations of Fields and Word layouts for business central.
 
I do not want to do this via coding - the end user needs to be able to do such things as well.
 
Categories:
  • Suggested answer
    Inge M. Bruvik Profile Picture
    Inge M. Bruvik 32,748 Super User 2024 Season 1 on at
    Word Report Layout and Word Templates
    Kaspars gave you the correct answer here.
    But you have a brilliant idea and you shoudl consider adding that as a product idea using this link:
    Other users can then vote for it and Microsoft will consider your idea.
  • Verified answer
    KasparsSemjonovs Profile Picture
    KasparsSemjonovs 3,934 Super User 2024 Season 2 on at
    Word Report Layout and Word Templates
    Unfortunately this requires slight modification. This formula check, has to be done on BC side as a separate dataset, and user would indicate/place this dataset as XML field in the Word Layout. 

     

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans