Customizing Dynamics NAV
Discover different ways to customize the application to give you and your colleagues access to the features, functionality, and data that you need most.
2019 release wave 2 Discover the latest updates to Dynamics 365Release overview guides and videos Release Plan | Early Access Availability
Ace your Dynamics 365 deployment with packaged services delivered by expert consultants. | Explore service offerings
Connect with the ISV success team on the latest roadmap, developer tool for AppSource certification, and ISV community engagements | ISV self-service portal
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Program | Finance and Operations TechTalks | Customer Engagement TechTalks | Talent TechTalks
Today we will see Mail Merge feature in Word Report.
I would suggest to please go through my earlier post for creating simple List Report for better understanding as some parts I will be skipping in this post assuming you have already learned from my previous post.
Here is the Quick Link : [ Creating My First List Report in Navision 2015 ]
Lets assume ever month we require to send a Reminder Letter to our Customers for Due Payments.
Now we can design such report at customer ease.
Lets Start with creating a new Report.
Add the Data Items and desired columns as one shown below.
Add appropriate filters on Data Items, I have added [ Open = Yes, Document Type = Invoice, Remaining Amount > 0, Due Date <> ‘ ‘] you select your own as desired.
Set the Report Properties as shown in below screen.
Define Global Variables as shown in below screen.
We have Included WordMergeDataItem as Cust. Ledger Entry. This will set the table to loop for records.
Each records will be considered as New Page for the Report.
In this report we are using Include Caption which will include caption for each required columns from one defined in respective table.
Add this property for each required column.
Add the code to the Data Item Trigger to fetch Customer Information for each record.
Insert New Blank Word Layout to the Report.
Export the Layout Template and Save.
Open saved Layout Template in Word.
In below screen each component is shown, refer to earlier post Creating List Word Report, Link provided above for better understanding.
In this report Label is included as we have set property for each column to include caption.
Design the sample Letter as one shown below.
I have highlighted all the Dataset Columns/Fields in yellow.
How to add fields please refer to earlier post Creating Word List Report, Link provided above.
Now Save the Template and Import into the Report.
Here is the out put from the report as below.
Each page will contain data as per in Customer Ledger Entry Due Payment Records.
We are done !!!
You can use formatting feature of Word to add more better look to your Report as desired.
Stay tuned for more in upcoming posts.
Don’t forget to follow the Blog Site for future posts.
Business Applications communities