Quote Product Picker Filter logic is used when you need to:
-
Limit the set of products the user can see when adding a new product/item to a quote.
Configuration
This logic is not linked from a Quote Type. Instead, the system finds the proper logic to be used, by searching for an active logic with nature quoteProductFilter.
If you have more types of quotes, which have need different filtering, you must handle all of them in this one filter logic. See the code sample below for the idea how to do it.
Logic API
-
Logic Nature: quoteProductFilter
-
Logic Type: Calculation/Pricing
-
-
Execution Types:
-
Standard – Builds a filter which will be used to limit the products the user can see.
-
-
Information provided to the logic:
-
Binding variables
-
Quote: Map – data about inputs and outputs of the quote header, folders and items.
-
-
-
Expected logic execution outcome:
-
From Standard mode execution:
-
Elements are expected to return a value of type Filter. When more elements return a value of the type Filter, those filters will be ANDed.
-
If some element returns a value which is not of the type Filter, it will be ignored.
-
-