The lineItem
pipeline chain is used to load line items in an order. The pipeline chain’s transaction mode is TX_REQUIRED.
The following sections describe each processor in the pipeline chain.
lookupProduct
Uses the product ID in the order to look up the product in the ARF_PRODUCT
table via the NPRODUCT_ID
column.
Transactional Mode | TX_MANDATORY |
Component |
|
Object |
|
Transitions | Return value of 1 executes |
lookupSku
Uses the SKU ID associated with the order to look up the SKU in the ARF_SKU
table, using the NSKU_ID
column.
Transactional Mode | TX_MANDATORY |
Component |
|
Object |
|
Transitions | Return value of 1 executes |
lookupCategory
Uses the PARENT_CAT_ID
of the product to find the category.
Transactional Mode | TX_MANDATORY |
Component |
|
Object |
|
Transitions | Return value of 1 executes |
listOrderStimuli
Retrieves a list of stimuli from markers in the order.
Transactional Mode | TX_MANDATORY |
Component |
|
Object |
|
Transitions | Return value of 1 executes |
lookupStimulusGroup
Uses all stimuli in the pipeline to look at the stimulus group in the ARF_STIMGRP
table. Computes a hash code for all stimuli and uses the HASH_VALUE
column to look up the group.
Transactional Mode | TX_MANDATORY |
Component |
|
Object |
|
Transitions | Return value of 1 executes |
lookupShippingRegion
Uses the order’s shipping address to find the region to which the line item is shipped.
Transactional Mode | TX_MANDATORY |
Component |
|
Object |
|
Transitions | Return value of 1 executes |
lookupStore
Looks up the store associated with the line item.
Transactional Mode | TX_MANDATORY |
Component |
|
Object |
|
Transitions | Return value of 1 executes |
lookupItemAddedSite
Looks up the site associated with the line item.
Transactional Mode | TX_MANDATORY |
Component |
|
Object |
|
Transitions | Return value of 1 executes |
logLineItem
Writes the line item to the Data Warehouse ARF_LINE_ITEM
table.
Transactional Mode | TX_MANDATORY |
Component |
|
Object |
|
Transitions | Return value of 1 executes |
tailLineItemProcessor
Completes the lineItem pipeline.
Transactional Mode | TX_MANDATORY |
Component |
|
Object |
|
Transitions | None. This is the last processor in the pipeline. |