Contract Term Type Picker Filter Logic

Promotion Condition Type Filter (Contract Term Type Picker Filter) logic is used when you need to:

  • Limit the set of term types the user can see when adding a new term type/item to a contract.

Logic API

  • Logic Nature: contractTermTypeFilter

    • Logic Type: Calculation/Pricing

  • Execution Types:

    • Standard – Builds a filter which will be used to limit the term types the user can see.

  • Information provided to the logic:

    • Binding variables

      • contract: Map – Data about inputs and outputs of the contract header, folders and items.

  • Expected logic execution outcome:

    • From Standard mode execution:

      • Elements are expected to return a value of the type Filter. When more elements return a value of the type Filter, these filters will be ANDed.

      • If some element returns a value which is not of the type Filter it will be ignored.

Code Sample

We do not have a specific example for the contract term type picker filter logic but you can review the quote product filter logic which does, in principle, the same thing: QuoteProductFilter_Sample.

Found an issue in documentation? Write to us.