How To Use The Microsoft Dynamics GP Word Template Generator

Microsoft Dynamics GPOne 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 (Transactions >> Sales >> Print Sales Documents);

Print Sales Documents

In the Report Destination window select the output of File, enter a File Name and pick the File Format of xml;

Report Destination

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;

Windows Explorer - XML Template

The Word Template Generator then produces the docx file;

Windows Explorer - Word Template

Now the Word Template has been generated it needs to be loaded into GP. This is done in Report Template Maintenance (Reports » Template Maintenance). Pick the required report in the Report Name field (in this xcase the SOP Blank Picking Ticket Order Entered);

Report Template Maintenance

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;

Report Template Maintenance

Grant access to the relvant companies and you will be able to use the Word Template instead of the Standard report;

Company Assignment

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 (Reports » Template Configuration), which is due to be looked at for SP3.

Can ISC Software Solutions help?

ISC Software Solutions are UK and Ireland based experts on Microsoft Dynamics GP. If you'd like to speak to someone about support, consultancy, upgrades, implementation, development, GP Elementz add-ons or portals, or anything else Dynamics GP related, you can use the form below.
Your Name (required):
Your Email (required):
Enquiry message:

What should we write about next?

Your Name (required) -
Your Email (required) -

6 thoughts on “How To Use The Microsoft Dynamics GP Word Template Generator

  1. Jen Kuntz says:

    Hi Ian,
    Great article… I’m running into a problem I can’t seem to get past with this. I’m creating a Word Template for the Blank Invoice Form for the Invoicing module (not SOP), so, template generator is the way to go.

    I’ve got the docx template no problem from the word generator and exporting the report to xml. I just can’t “import” it back to GP’s Template Maintenance. I found the report, then created a “New” template in the TM window, but clicking on the green Add button does nothing. So all I have is the new template which is the blank slate. So weird, I can’t figure out what I’m doing incorrectly!

    Any thoughts?

    1. Ian Grieve says:

      Hi Jen,

      Do you mean literally nothing happens? If so, is the machine you’re doing the load the same one you created the template on?


  2. Pingback: GP | Pearltrees

Leave a Reply

Your email address will not be published. Required fields are marked *