In Touch with Dynamics GP

This blog is intended to be a useful resource for Microsoft Dynamics GP users and professionals in the UK and the wider Microsoft Dynamics GP community as a whole.
Showing posts with label Word templates. Show all posts
Showing posts with label Word templates. Show all posts

Wednesday, 1 May 2013

Cheque (check for US readers) Remittance word template not emailing from Dynamics GP


Here is an interesting set of circumstances one of my team came across. The word template for the cheque (check) remittance in Dynamics GP 2010 sp3 would print but not email. We had the vendor id field from the pmRemittanceTemp file on the report layout but the word template was still not emailing.

The clue to the issue was that the exception report was not showing the supplier id’s we were expecting to be emailed.

In the end it was traced to the fact that the report writer version of the report had had the “Payment Number” additional footer removed. Once this was replaced the templates emailed fine.

So to sum up , to be able to email the Cheque (Check) Remittance word template you must retain the “Payment number” additional footer.

Wednesday, 24 August 2011

Emailing POs using new GP2010 word templates

Hi Folks

Below are a few things to keep in mind when upgrading reports to Dynamics GP 2010 if you want them to work with the templates and email functionality (Also check out previous posts for required fields).

To ensure that Purchase Orders can be emailed out of GP2010 using the new word templates, the GP report in report writer must contain the following:


  1. The purchase order number from the PO Document list table
  2. Section additional header 1 based on the above field
  3. Section additional footer 1 based on the above field

The word template will work OK without the above, but it will not email.

Most likely to be a problem In old upgraded reports from versions prior to Dynamics GP 2010

Andy Hall

Wednesday, 12 January 2011

Dynamics GP 2010 word templates (more required fields SOP Blank History Invoice)

Regular readers will now we put up a post in October 2010 detailing which vendorid field was required to allow the word template version of the remittance advice to email correctly.


http://intouchdynamicsgp.blogspot.com/2010/10/dynamics-gp-2010-word-templates-and.html

Well we have found another such required field, this time in the SOP Blank History Invoice.

SOP Blank History Invoice only works if the SOP Number from SOP Transaction Amounts History is the key break field on H1 and F1 in the Dynamics GP report. In other words “SOP Number" needs to come from the SOP HDR History table instead of the SOP LINE History table.

We are generally finding these sort of issues where a report has been modified in a prior version and then upgraded to 2010.

Here are the steps to change this:



1. Open up Report Writer and change Header Dummy 1 to use the Sales Transaction Amounts History table. Make sure the field SOP Number is selected as the break field.

2. Change Footer "Back Order" to use the Sales Transaction Amounts History table. Make sure the field SOP Number is selected as the break field.

3. Save the report.

4. Go back into GP and print the report to Standard > File > XML File. Make sure you select XML file in the file name window as well. Generate the XML File.

5. Reports>Template Maintenance. Pull up their template and click Modify. In Word, go to Field List and choose Remove Source.

6. Then choose Add Source and point it to your XML file from step 4.

7. Save the template.

8. Go back to GP and click the Green plus sign and point it to the newly saved template from step 7. Replace the template.

9. Now go email the report and it should work.



Thursday, 14 October 2010

Dynamics GP 2010 word templates and required fields to allow emailing or why won’t my modified word template email.

Hi folks this is one we have discovered the hard way. This issue only occurs when you use a modified report as the basis for a word template. In our case it was the remittance advice.


We modified the word template as per the instructions at the end of the Dynamics (GP) 2010 report writer manual. The template was pickup up fine and brought to screen and displayed properly when running the report. The word document could be printed etc. but it would not email.

We talked to Microsoft about this and they advised us that they had had several cases recently where certain fields missing from certain parts of the template had prevented the application identifying the vendor.

Using this as a starting point vendor ID was the obvious place to start looking , however we did have VendorID on the report.

What we discovered was this.

The report writer report needs the VENDORID field from pmRemittancetmp table to be placed anywhere in the report.

Our report used the VENDORID from PM Payment Work in the RH section, we replaced it and all then emailed correctly.

So you need to be careful when modifying reports that you intend to use in a word template, one vendorid is not as good as another. We can also surmise that this is true for many of the other reports.

As and when we find out what the other key fields are on the other reports we will update this blog, in the mean time if you discover any feel free to update the comments.