This script is part of the SQL Scripts for Microsoft Dynamics GP where I will be posted the scripts I wrote against Microsoft Dynamics GP over the 19 years before I stopped working with Dynamics GP.
This script was created for running against a company database when it had been copied to a test company or test system; it sets the WF_AllowOrigApprover
flag on Workflow Master (WF100002) to allow originators to be an approver.
/*
Created by Ian Grieve of azurecurve | Ramblings of an IT Professional (http://www.azurecurve.co.uk)
This code is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0 Int).
*/
UPDATE
WF100002 --Workflow Master (WF100002)
SET
WF_AllowOrigApprover = 1
WHERE
WF_AllowOrigApprover = 0