web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Answered

Addtional Message to show on a report layout extension

(0) ShareShare
ReportReport
Posted on by 286
hi,

I’m extending the 1306 report layout but stuck on how to get a logic in the report to have a new column which will show a message if certain criteria is met.

so logic is:

Payment term code is set to '0DAYS'
message should say: /No payment is needed, Paid in full/

but this message should only appear if the code is 0DAYS.

one last added complication, this report needs to work in Word and not RDLC.

If anyone has any idea would be fantastic.
I have the same question (0)
  • Suggested answer
    Netjacker2097 Profile Picture
    286 on at
    Addtional Message to show on a report layout extension
    Hi Yun Zhu,
    Firstly, big fan of your work. Appreciated the efforted you put into the community and your website.
    Hope you have a great 2024!

    A heartfelt thank you for the link; it proved to be incredibly helpful, as always 😊 I followed your suggestion and successfully figured out how to manage the message displayed on the Word layout invoice by extending the Payment Term code table and extracting the message from there.
    For the report extension, here are the steps I took:
     

    If you can conceive of a more efficient approach or consider sharing this insight through an article on your website, I believe it would be immensely beneficial and valuable for many of your readers.
     
    Regards,
    M
     
  • Verified answer
    YUN ZHU Profile Picture
    89,830 Super User 2025 Season 2 on at
    Addtional Message to show on a report layout extension
    Hi, First this requires using Report Extension to add new column. Then display it on the page.
    Report extensibility (ReportExtension Object)
     
    As for the conditions you mentioned, you can control them in code.
    If the Payment term code is equal to 0DAYS, the message is empty. In this way, the Word layout will also display empty.
     
    Hope this can give you some hints.
    Thanks.
    ZHU

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Mansi Soni – Community Spotlight

We are honored to recognize Mansi Soni as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
Sohail Ahmed Profile Picture

Sohail Ahmed 2,899 Super User 2025 Season 2

#2
Sumit Singh Profile Picture

Sumit Singh 2,444

#3
Jeffrey Bulanadi Profile Picture

Jeffrey Bulanadi 2,304

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans