Hello,
I have an enum field which represents the types of numerical values we have in an entity within the screenshot attached.
Some of these values must be negative, and some of these values must be positive (i.e. a discount type must have an associated negative value whereas a contract type must have an associated positive value).
How can I create a workflow (or something else) to ensure that these types have the correct positive or negative value associated? For example, IF the value type is a discount, THEN the value must be negative in order to be able to save.
Thank you in advance!
Camille
I have an enum field which represents the types of numerical values we have in an entity within the screenshot attached.
Some of these values must be negative, and some of these values must be positive (i.e. a discount type must have an associated negative value whereas a contract type must have an associated positive value).
How can I create a workflow (or something else) to ensure that these types have the correct positive or negative value associated? For example, IF the value type is a discount, THEN the value must be negative in order to be able to save.
Thank you in advance!
Camille
Comment