Enabling Email Cheque Remittances For All Suppliers

In two previous posts I discussed testing Microsoft Dynamics GP 2010′s new Email Remittance functionality; first, by setting up creditors with an internal email address and, then, by transferring the email address from the INET1 field to the new EmailToAddress field.

The other script which I used, and forgot to post, was the one which configures all of the creditors, who are not currently configured for email remittances;


DECLARE @EmailMessageID VARCHAR(100)
SET @EmailMessageID = 'CREDITORREMITTANCE'

INSERT INTO SY04905
   (EmailDictionaryID
   ,EmailSeriesID
   ,MODULE1
   ,EmailCardID
   ,EmailDocumentID
   ,EmailDocumentEnabled
   ,EmailMessageID
   ,EmailDocumentFormat)

   (SELECT
      0
      ,4
      ,19
      ,PM.VENDORID
      ,6
      ,1
      ,@EmailMessageID
      ,3
   FROM
      PM00200 AS PM (NOLOCK)
   WHERE
      (SELECT COUNT(*) FROM SY04905 SY
         WHERE
            SY.EmailCardID = PM.VENDORID
         AND
            SY.EmailDictionaryID = 0
         AND
            SY.EmailSeriesID = 4
         AND
            SY.MODULE1 = 19
         AND
            SY.EmailDocumentID = 6) = 0)

This script assumes you will be using the same Email Message for all creditors and, as always, when running a script, which updates tabbles, make sure you do a backup first in case of problems.

Ian Grieve

About Ian Grieve

Ian is a Microsoft Dynamics GP certified consultant specialising in the delivery of Microsoft Dynamics GP projects and currently working for Perfect Image Ltd., a Microsoft Partner and VAR in the North East of England. Ian has worked with Microsoft Dynamics GP since 2003 and, over the nine years since, has dealt with all aspects of the product life-cycle from presales, to implementation, to technical and functional training, to post go-live support and subsequent upgrades and process reviews. In his spare time, Ian runs the azurecurve | Ramblings of a Dynamics GP Consultant blog dedicated to Microsoft Dynamics GP and related products.
This entry was posted in Dynamics, GP, Microsoft and tagged , , , , , , , , . Bookmark the permalink.

3 comments on “Enabling Email Cheque Remittances For All Suppliers

  1. Pingback: Enabling Email Cheque Remittances For All Suppliers | Interesting Findings & Knowledge Sharing

  2. Pingback: Enabling Email Cheque Remittances For All Suppliers | azurecurve - DynamicAccounting.net - GP Technical Blogs - Microsoft Dynamics Community

  3. Pingback: Everything Dynamics GP #41 | Interesting Findings & Knowledge Sharing

Leave a Reply

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

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>