Going Live With Remittances By Email – Transferring Email Addresses

Microsoft Dynamics GPA few days ago I posted about testing email remittances and supplied a SQL script for use on the test system to ensure emails remained internal and didn’t get sent to creditors.

I’ve also written a script which will transfer the email address from the current Internet Information column (with the assumption that the email address is in INET1) across to the new EmailToAddress column and then blank out the INET1 column so data is not being held, and therefore maintained, in two fields.

An email address is also being set in a variable to be loaded into the EmailBccAddress column which I have advised clients to set to an internal mailbox so they have a copy of all email remittances sent to suppliers.

DECLARE @BccEmail VARCHAR(100)
SET @BccEmail = 'email@example.com'

UPDATE
   SY01200
SET
   INET1 = ''
   ,EmailToAddress = INET1
   ,EmailBccAddress = @BccEmail
WHERE
   Master_Type = 'VEN'

It requires some discipline for clients to remember to set the EmailBccAddress on each creditor when entering email address for new ones. An alternative is the below script which will update this column on all creditors which have an EmailToAddress, and which could be scheduled to run on a regular basis;

DECLARE @BccEmail VARCHAR(100)
SET @BccEmail = 'email@example.com'

UPDATE
   SY01200
SET
   EmailBccAddress = @BccEmail
WHERE
   Master_Type = 'VEN' AND EmailToAddress IS NOT NULL

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.

One comment on “Going Live With Remittances By Email – Transferring Email Addresses

  1. Pingback: Enabling Email Cheque Remittances For All Suppliers | azurecurve

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>