Global constants

Global constants are accessible by every script in an application. You should use global constants when you anticipate a constant will be used by several scripts throughout your application.

If you change the value of the constant, you must recompile all of the scripts that use the constant. To compile several scripts at once, choose Compile or Compile All from the Explorer menu in Dexterity.

If a constant is already used in scripts and you change its value, you must recompile all the scripts where the constant is used. If you create applications that integrate with Microsoft Dynamics GP, you shouldn’t change any constants for this reason.

Documentation Feedback