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 71 Next »

You’re using Rebate Type Picker Filter logic when you need to:

  • 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 - to build 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 type Filter. When more elements return value of type Filter, those Filters will be ANDed.

      • if some element returns a value, which is not of type Filter, it will be ignored.

Code sample

We do not have an example specific for rebate type picker filter logic, but you can review the quote product filter logic, which is doing - in principle - the same thing, with the difference, that this example returns filter for Product instead of filter for Rebate Type objects: QuoteProductFilter_Sample

  • No labels