Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 86 Next »

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 Quote Product Picker Filter logic will be used by the system automatically, you do not have to set anything anywhere. The system finds the by searching for an active logic with nature quoteProductFilter, i.e. the unique name of the logic does not matter.

There’s only one Quote Product Picker Filter logic, which is shared by all quote types. So if you have more types of quotes, which have different needs for 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.

Code Sample

  • No labels