Word Template Repeating an Invoice

twimber2@gmail.com
Member Posts: 15
Hey everyone,
i have two questions...
question 1: when designing a word report in NAV 2015 is there a way to show repeaters/repeat blocks?
Question 2: take....Report 1306 sales - Invoice
if you leave the document no. empty it will create pages for every single document in the sales header. if i try to do this on a report i built, it will only print the very first record in the header.
I can do a repeater for the sales lines, or nest a repeater within an already built word report...but if i try to nest a repeater within another repeater on a custom report....it does not work. can someone help me do this? i want to repeat the header with the lines in it for each header record.
i have two questions...
question 1: when designing a word report in NAV 2015 is there a way to show repeaters/repeat blocks?
Question 2: take....Report 1306 sales - Invoice
if you leave the document no. empty it will create pages for every single document in the sales header. if i try to do this on a report i built, it will only print the very first record in the header.
I can do a repeater for the sales lines, or nest a repeater within an already built word report...but if i try to nest a repeater within another repeater on a custom report....it does not work. can someone help me do this? i want to repeat the header with the lines in it for each header record.
0
Best Answer
-
Concerning standard Wordlayout, there is a property called WordMergeDataItem, which can be found in the properties of every NAV report. For report 1306, this property is set to "Header", e. g., which seems to insert an automatic page break between each Header data item.
The only possibility, I found for making nested repeating sections (not to confuse with "nesting repeaters") work, is by using the Wordlayout+ AddIn. Further information can be found here:
https://massivedynamicsblog.wordpress.com/2016/09/15/wordlayout/
Note, that when using Wordlayout+, the WordMergeDataItem property is not working. Instead, you have to set the "Pagebreak before paragraph" property for the first paragraph in the Word template's header, together with a repeating section content control surrounding the whole document and bound to the Header data item, quite the same way, one would do it obviously.New kits on the blog: https://massivedynamicsblog.wordpress.com5
Answers
-
Hi,
Have you set group properties correctly ? Have you used Copy loop and Page loop as in Standard ?0 -
hey Sowkarthika. this is for a microsoft word report not a rdlc report. i generally just use page breaks in visual studio rather than a page loop for rdlc reportsbut i'm not sure of how to do this in a microsoft word report.0
-
[Topic moved from 'NAV Tips & Tricks' forum to 'NAV Three Tier' forum]
Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0 -
Concerning standard Wordlayout, there is a property called WordMergeDataItem, which can be found in the properties of every NAV report. For report 1306, this property is set to "Header", e. g., which seems to insert an automatic page break between each Header data item.
The only possibility, I found for making nested repeating sections (not to confuse with "nesting repeaters") work, is by using the Wordlayout+ AddIn. Further information can be found here:
https://massivedynamicsblog.wordpress.com/2016/09/15/wordlayout/
Note, that when using Wordlayout+, the WordMergeDataItem property is not working. Instead, you have to set the "Pagebreak before paragraph" property for the first paragraph in the Word template's header, together with a repeating section content control surrounding the whole document and bound to the Header data item, quite the same way, one would do it obviously.New kits on the blog: https://massivedynamicsblog.wordpress.com5
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions