Search the GP Tables
Search by TABLE NAME
Search by FIELD NAME
These are our SOP scripts. All of our scripts for Dynamics GP can be found here
DynDeveloper.com

DynDeveloper.com

Table Edits Forum Articles
Table Edits 0 Table Edits 0 Table Edits 0
Sign Up Now!Log In
Malachi
4Penny.net
Points: 6800

6/12/2020 10:18:36 AM

Change a report destination based on the SOP Type

* This article, and all our great VBA documentation, Is available on the VBA/Modifier menu

Yesterday we had a forum post requesting almost the same thing, and I used the same logic to accomplish this task. 

When you print a SOP document, normally you get 'Standard' In the Report Destination dialog. If you have templates turned on, it defaults to template. 

The requirement is to change that so that it defaults to 'Template' only for Quote documents and defaults to 'Standard' for all other documents. The solution is below.

4Penny.net
Version: Unknown or N/A
Section: VBA






Table Definition Quick Links
All Tables
SOP Tables
RM Tables
GL Tables
POP Tables
HR Tables
PM Tables
UPR Tables
IV Tables
Olympic Tables
site