You’re using Feeder logic when you need to:
-
feed/supply objects to process in another logic/process
-
commonly used in rebate allocation process
-
Logic API
-
Logic Nature: default
-
Logic Type: Calculation/Pricing
-
-
Execution Types:
-
Syntax Check - to define the input fields
-
Standard - to find out which objects we want to process and emit those objects
-
-
Information provided to the logic
-
in Standard mode
-
input[]
- values entered by user in configuration of the process (e.g. usually the feeder inputs values entered on allocation calculation dataload configuration page) -
api.currentItem()
- the context, in which it runs (likely the Dataload process definition)
-
-
Expected logic execution outcome
-
from Syntax Check mode
-
input field definitions
-
-
from Standard mode execution
-
emit the objects to be processed by the process, which is using this Feeder. You can use several methods to achieve that, for example:
-
-
Code sample
-
DL_BonusOnSales_Feeder - example of logic emitting the objects - in this case rebate records.
-
DL_BonusOnSales_RebateAllocation - example of logic, which is consuming/using the objects (rebate records) emitted by the Feeder logic