Rebate Type Picker Filter Logic
Rebate Type Picker Filter logic is used when you need to:
Limit the set of Rebate Types the user can see when adding a new type/item to a rebate agreement.
Logic API
Logic Nature: rebateTypeFilter
Logic Type: Calculation/Pricing
Execution Types:
Standard – Builds a filter which will be used to limit the Rebate Types the user can see.
Information provided to the logic:
Binding variables
rebateagreement: 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 a rebate type picker filter logic, but you can review the quote product filter logic which does, in principle, the same thing. The only difference is that this example returns a filter for Product instead of a filter for Rebate Type objects: QuoteProductFilter_Sample.
Found an issue in documentation? Write to us.
Â