Enumerations
If you want to categorize business objects as different types with a pre-defined set of allowed values, instead of using a number or a free format string, you can use an Enumerated Type (ENUM).
You must use a fully-qualified name (qualified by the package name) for the enumerations in the script. The qualified name of enumerations to be used in scripts is similar to the factory names, with the qualified name formatted to replace dot '.' by '_' an underscore character. Secondly, the fully-qualified name must be wrapped in a pkg object. For example:
pkg.com_example_data_Colour.GREEN
For more information, see Working with Enumerated Types (Enums).
Copyright © 2021. Cloud Software Group, Inc. All Rights Reserved.