...
- Use
api.getElement("CustomerGroup").customerFieldValue
, depending on what is in the CustomerGroup element. First define the CustomerGroup element, visibility set to 'Never':
Code Block title CustomerGroup api.customerGroupEntry()
Then in any other element doing the calculations, use a syntax check.
Also, set the visibility of this element to 'QuoteConfigurator' at least.Code Block title SomeOtherElement if (api.isSyntaxCheck()) return //as the first line if (api.getElement("CustomerGroup").customerFieldName == "customerId") { return api.getElement("CustomerGroup").customerFieldValue }
About Syntax Check
It is used in two use cases:
...
Info |
---|
For more details on isSyntaxCheck see Miscellaneous Functions. |