Keep up to date with the latest information about Microsfot Dynamics GP through articles from the Perfect Image and azurecurve blog.
SQL View For Computer Cheques At Work Status To Check Email Enabled
October 30th, 2015 by Ian Grieve
Out of the box no, but SmartList Designer can be used to do this. I created a new SQL view to get payments at a status of work and, in SmartList Designer, combined it with the remittance enabled view and vendor email addresses view I have previously posted.
I could have used the table in GP, but I find using views in SmartList Designer easier so created the view.
CREATE VIEW uv_AZRCRV_PaymentRunWORK AS SELECT PM103.BACHNUMB AS 'Batch Number' ,PM103.VENDORID AS 'Creditor ID' ,PM2.VENDNAME AS 'Creditor Name' ,PM2.VADDCDPR AS 'Primary Address' ,PM2.VADCDTRO AS 'Remit To Address' ,PM103.DOCDATE AS 'Document Date' FROM PM00200 AS PM2 INNER JOIN PM10300 AS PM103 ON PM103.VENDORID = PM2.VENDORID GO GRANT SELECT ON uv_AZRCRV_PaymentRunWORK TO DYNGRP GO
All of these views could have been created natively in SmartList Builder, but by creating them as views I can reuse them in SmartList Designer or any other reporting tool.