***************************************************** ***************************************************** ***************************************************** ***************************************************** ***************************************************** ********************** WARNING ********************** ********************** WARNING ********************** ********************** WARNING ********************** ********************** WARNING ********************** ********************** WARNING ********************** ********************** WARNING ********************** ********************** WARNING ********************** ********************** WARNING ********************** ********************** WARNING ********************** ********************** WARNING ********************** This Confluence article was automatically generated from Asciidoc. Any changes you make to this document will be overridden! If you want to change the content, consider leaving a comment. You can edit the content directly here: https://gitlab.pricefx.eu/training/pricefx-knowledge-base/-/tree/dev/public/content/docs/reference/rebates/logic-new-item-picker-filter ***************************************************** ***************************************************** ***************************************************** ***************************************************** ***************************************************** ********************** WARNING ********************** ********************** WARNING ********************** ********************** WARNING ********************** ********************** WARNING ********************** ********************** WARNING ********************** ********************** WARNING ********************** ********************** WARNING ********************** ********************** WARNING ********************** ********************** WARNING ********************** ********************** WARNING **********************
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 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.
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.