Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Use api.getElement("CustomerGroup").customerFieldValue, depending on what is in the CustomerGroup element.
  • First define the CustomerGroup element, visibility set to 'Never':

    Code Block
    titleCustomerGroup
    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
    titleSomeOtherElement
    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.