Compensation Condition Type Picker Filter Logic
Since version 9.0
Compensation Condition Type Picker Filter logic is used when you need to:
Limit the set of Compensation Condition Types the user can see when adding a new type/item to a compensation plan.
Logic API
Logic Nature: compensationConditionTypeFilter
Logic Type: Calculation/Pricing
Execution Types:
Standard – Builds a filter which will be used to limit the Compensation Condition Types the user can see.
Information provided to the logic:
Binding variables:
compensation: Map – Data about inputs and outputs of the compensation plan 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 Compensation Condition Type picker filter logic, but you can review the quote product filter logic which does in principle the same. There is a difference that this example returns a filter for Product instead of a filter for the Compensation Condition Type objects: QuoteProductFilter_Sample.
Found an issue in documentation? Write to us.