BC Word Layout MCP (Part 4): Customer statements and work-description lines
Word Layout MCP's body repeaters create flexible document structures beyond line tables, such as separate pages per customer in statements or paragraphs per work-description record. The post explains when to use repeaters versus tables and provides step-by-step instructions for implementing each pattern, with version 2.0.0 fixes for preview-to-print discrepancies.
Open in Claudehttps-bccaptain-com-au-2026-10-18-bc-word-layout-mcp-body-repeaters--dd2b775ce5.mdRead the original on BC Captain

post BC Captain
"A line table is not always the right answer. A customer statement might need a new page for each customer."
Key points
- Body repeaters handle repeated content that is not table rows, such as customer statements starting on new pages or work descriptions as paragraphs.
- The wrap_in_repeater tool applies repeating logic to existing body content and respects page break requirements.
- Version 2.0.0 fixes nested work-description cases that could display correctly in preview but print empty in Business Central.
- Test documents thoroughly in Business Central sandbox for multiple customers and varying record counts to verify values do not mix and page breaks occur correctly.
- Body repeaters work only with body paragraphs and tables, not with headers, footers, or arbitrary cells.
Quotes
- “A line table is not always the right answer. A customer statement might need a new page for each customer.” (Establishes that body repeaters solve document layout problems where line tables are inadequate.)
- “Start on a new page is not the same as fit on one page. A customer’s statement can still continue over several pages.” (Clarifies the practical distinction between page break boundaries and content overflow in document design.)
Heads up
- breaking: “v2.0.0 includes the fix for descriptions that looked correct in the mock preview but did not print in BC.” (about version 2.0.0)
Context
- Features: body repeaters, wrap_in_repeater tool, page break control, nested repeaters, field binding validation, document preview and validation
- Versions: 2.0.0
Source: BC Captain, community blog. Summary, key points and quotes are derived (CONTENT-NOTICE.md); read the original for the full text.