Announcements
Yes, you've encountered a common issue when working with Word templates and related entity data (like Invoice Line Items) in Dynamics 365, particularly when transitioning from Quote templates to Invoice templates. The difference in how the default template handles the data versus your custom template is a strong clue.
Here's a breakdown of the problem and how to resolve it:
Understanding the Problem:
The Solution: Repeating Table Rows and Related Entity Data:
The key to displaying multiple Invoice Line Items in your Word template is to use repeating table rows in conjunction with the related entity data.
Here's how to do it:
invoice_details|productdescription
invoice_details|quantity
invoice_details|priceperunit
invoice_details|extendedamount
invoice_details
node (it might be under document
or another parent node).invoice_details
node and select "Insert Content Control" > "Repeating".Explanation:
invoice_details|
prefix in the content control field names tells Word to retrieve the data from the related Invoice Line Items.Troubleshooting Tips:
By using repeating table rows, you should be able to display all Invoice Line Items in your Word template.
André Arnaud de Cal...
293,361
Super User 2025 Season 1
Martin Dráb
232,522
Most Valuable Professional
nmaenpaa
101,158
Moderator