I produced this view to return vendor email address for a client a while ago; I don’t typically use this view by itself, but instead combine it with GP tables to produce a larger SmartList report using either SmartList Designer or SmartList Builder.
CREATE VIEW uv_AZRCRV_VendorInternetAddresses
AS
SELECT
['Internet Addresses'].Master_ID AS 'Vendor ID'
,['Internet Addresses'].ADRSCODE AS 'Address Code'
,['Internet Addresses'].EmailToAddress AS 'Email To Address'
,['Internet Addresses'].EmailCcAddress AS 'Email Cc Address'
,['Internet Addresses'].EmailBccAddress AS 'Email Bcc Address'
,['Internet Addresses'].INET1 AS 'Email'
FROM
SY01200 AS ['Internet Addresses']
WHERE
['Internet Addresses'].Master_Type = 'VEN'
GO
GRANT SELECT ON uv_AZRCRV_VendorInternetAddresses TO DYNGRP
GO
What should we write about next?
If there is a topic which fits the typical ones of this site, which you would like to see me write about, please use the form, below, to submit your idea.
Looking for support or consultancy with Microsoft Dynamics GP?
I no longer work with Microsoft Dynamics GP, but the last company I worked for was ISC Software in the UK; if you’re looking for support or consultancy services with Microsoft Dynamics GP you can contact them here.
2 thoughts on “SQL View For Vendor Email Addresses”