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.

Related posts:
Going Live With Remittances By Email – Transferring Email Addresses
Testing Remittances By Email – Keeping Emails Internal
Feature Explained: How To Configure The Document Email Functionality
Not Privileged To Run this Report Error in Payables Select Checks
Check Remittance Vendor Address VBA Workaround
Check Remittance Undefined Symbol Error When Upgrading to Microsoft Dynamics GP 2010
Ian Grieve

About Ian Grieve

Consultant with over 8 years experience with Microsoft Dynamics GP, including related products such as Integration Manager, eConnect, FRx and Management Reporter.
This entry was posted in Dynamics, GP, Microsoft and tagged , , , , , , , , . Bookmark the permalink.

3 Responses to 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 *

*

* Copy this password:

* Type or paste password here:

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>