Switch off SOP/Invoicing warning in Microsoft Dynamics GP

Microsoft Dynamics GPI often end up creating test, demo or upgrade requirements and have a number of scripts I run against them to make changes. The script below can be used to change the settings for the message displayed when both SOP and Invoicing are both installed.

The script is set up to leave the message enabled for Invoicing, but switch it off for Sales Order Processing (the comments include the setting for switching the other way).

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 IVC40100 -- Invoicing Setup (IVC40100) SET IVCDSTCK = 0x01000040 -- set to 0x00000040 to switch off warning GO UPDATE SOP40100 -- Sales Setup (SOP40100) SET IVCDSTCK = 0x00000000 -- set to 0x01000000 to switch on warning GO