One of the features introduced in Microsoft Dynamics GP 2010 was the Word templates which could be used instead of the Report Writer reports (known in 2010 onwards as Standard reports). There were several Word templates shipped out of the box with GP that could be amended quite easily but if you needed to use one of the others then a lot of work was needed to manually create the template from scratch.
In Microsoft Dynamics GP 2010 R2, the Word Template Generator, available as a separate download from PartnerSource (login required) was introduced which would generate the base Word template which can then be amended as required.
To get started with the Word Template Generator, we first need to produce an XML file of the Standard report to use as the basis for the template. In this example I’ll use the SOP Blank Picking Ticket Order Entered report.
To start print this document as usual from Print Sales Documents ();
In the Report Destination window select the output of File, enter a File Name and pick the File Format of xml;
For ease I have created a shortcut to the TemplateGenerator.exe in the folder to which I output the XML. To convert the xml into a Word Template it is as simple as dragging and dropping the XML onto the shortcut;
The Word Template Generator then produces the docx file;
Now the Word Template has been generated it needs to be loaded into GP. This is done in Report Template Maintenance (). Pick the required report in the Report Name field (in this xcase the SOP Blank Picking Ticket Order Entered);
Then click the green cross and select the newly produced Word Template. GP will pull the file in and display it in the Templates list;
Grant access to the relvant companies and you will be able to use the Word Template instead of the Standard report;
When using the Word Templates remember there is a problem, when you tick Allow printing of standard report when template is available on Template Configuration ( ), which is due to be looked at for SP3.