Skip to main content

Notifications

Business Central forum
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,744 Moderator 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,660 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. 

     

Helpful resources

Quick Links

Dynamics 365 Community Update – Sep 9th

Welcome to the next edition of the Community Platform Update. This is a weekly…

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,246 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,041 Super User 2024 Season 2

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans