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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

Configurable Business Documents - Word format - Show/Hide fields

(0) ShareShare
ReportReport
Posted on by 341

Good morning/evening,

There is alot of information here so I apologise upfront

Background

  • Using D365FO
  • Requirement is to create Collection Letter format 
  • I am using ER and Configurable business documents
  • Standard D365FO uses the NOTE field on the Collection Letter sequence to provide for specific details for each Collection letter i.e. different note for Letter 1 as compared to Letter 2

Requirement

  • What I want to be able to do is have two sections in the Collection Letter CBC Word document
    • Section 1 for Letter 1
    • Section 2 for Letter 2
  • Question/request
    • Is there some way that I can HIDE Section 2 when I am producing Letter 1
    • And vice versa, HIDE Section 1 when I am producing Letter 2.

Regards

James

  • JI-27041047-0 Profile Picture
    2 on at
    Hi 
    Doing the same development myself.
    Did you get it to work?
     
    I have set up 2 separate documents and use a condition in Print Management (Collection letter code)
     
     
  • Verified answer
    Alireza Eshaghzadeh Profile Picture
    15,225 Super User 2026 Season 2 on at
    Hi James,
    You can you can condition in ER.
    If you have both sections in one document, you can use case function on Electronic reporting format designer.
    Example:
    CASE(
    model.'Collection letter journal'.'Collection letter code',
    Enums.CustCollectionLetterCode.'Collection letter 1',"Collection letter 1",
    Enums.CustCollectionLetterCode.'Collection letter 2',"Collection letter 2",
    Enums.CustCollectionLetterCode.Collection,"Collection"
    )

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 426 Most Valuable Professional

#2
CU10121822-0 Profile Picture

CU10121822-0 358

#3
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 353 Super User 2026 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans