The promotionUsage pipeline returns data on the promotions filled. The pipeline chain’s transaction mode is TX_REQUIRED.

The following sections describe each processor in the pipeline chain.

lookupPromotion

Looks up the promotions and obtains the promotion IDs.

Transactional Mode

TX_MANDATORY

Component

/atg/reporting/datawarehouse/process/PromotionLookupProcessor

Object

atg.reporting.datawarehouse.process.LookupPipelineProcessor

Transitions

Return value of 1 executes convertPromotionCurrency.

convertPromotionCurrency

Iterates through each line item and converts the item’s local currency values to standard currency values.

Transactional Mode

TX_MANDATORY

Component

/atg/reporting/datawarehouse/process/PromotionCurrencyConverter
  Processor

Object

atg.reporting.datawarehouse.commerce.CurrencyConverterProcessor

Transitions

Return value of 1 executes checkOrderCommerceItemExists.

checkOrderCommerceItemExists

Identifies that the commerce item within an order exists.

Transactional Mode

TX_MANDATORY

Component

/atg/reporting/datawarehouse/process/PromotionCommerceItemExists
  Processor

Object

atg.reporting.datawarehouse.process.WarehouseItemExistsProcessor

Transitions

Return value of 1 executes lookupPromotionSku. Return value of 2 executes getUnspecifiedPromotionSku.

lookupPromotionSku

Looks up the SKU associated with the promotion ID.

Transactional Mode

TX_MANDATORY

Component

/atg/reporting/datawarehouse/process/PromotionSkuLookupProcessor

Object

atg.reporting.datawarehouse.process.LookupPipelineProcessor

Transitions

Return value of 1 executes lookupPromotionProduct.

lookupPromotionProduct

Looks up the product associated with the promotion ID.

Transactional Mode

TX_MANDATORY

Component

/atg/reporting/datawarehouse/process/PromotionProductLookupProcessor

Object

atg.reporting.datawarehouse.process.LookupPipelineProcessor

Transitions

Return value of 1 executes lookupPromotionCategory.

lookupPromotionCategory

Looks up the category associated with the promotion ID.

Transactional Mode

TX_MANDATORY

Component

/atg/reporting/datawarehouse/process/PromotionCategoryLookup
  Processor

Object

atg.reporting.datawarehouse.process.LookupPipelineProcessor

Transitions

Return value of 1 executes lookupCouponProcessor.

getUnspecifiedPromotionSku

Obtains the SKU used within a promotion to assign it when the commerce item is not found.

Transactional Mode

TX_MANDATORY

Component

/atg/reporting/datawarehouse/process/PromotionUnspecifiedSku
  AssignmentProcessor

Object

atg.reporting.datawarehouse.process.PropertyAssignmentProcessor

Transitions

Return value of 1 executes getUnspecifiedPromotionProduct.

getUnspecifiedPromotionProduct

Obtains the product ID used in a promotion to assign it when the commerce item is not found.

Transactional Mode

TX_MANDATORY

Component

/atg/reporting/datawarehouse/process/PromotionUnspecified
  ProductAssignmentProcessor

Object

atg.reporting.datawarehouse.process.PropertyAssignmentProcessor

Transitions

Return value of 1 executes getUnspecifiedPromotionCategory.

getUnspecifiedPromotionCategory

Obtains the category used in a promotion to assign it when the commerce item is not found.

Transactional Mode

TX_MANDATORY

Component

/atg/reporting/datawarehouse/process/PromotionUnspecified
  CategoryAssignmentProcessor

Object

atg.reporting.datawarehouse.process.PropertyAssignmentProcessor

Transitions

Return value of 1 executes lookupCouponProcessor.

lookupCouponProcessor

Looks for coupons associated with the promotion ID.

Transactional Mode

TX_MANDATORY

Component

/atg/reporting/datawarehouse/process/CouponLookupProcessor

Object

atg.reporting.datawarehouse.process.RepositoryItemLookupProcessor

Transitions

Return value of 1 executes couponUsageIdProcessor.

couponUsageIdProcessor

Generates a unique ID for each individual coupon code used within the scope of an order.

Transactional Mode

TX_MANDATORY

Component

/atg/reporting/datawarehouse/process/CouponUsageIdProcessor

Object

atg.reporting.datawarehouse.commerce.CouponUsageIdProcessor

Transitions

Return value of 1 executes logPromotionUsage.

logPromotionUsage

Generates a log of the promotions used.

Transactional Mode

TX_MANDATORY

Component

/atg/reporting/datawarehouse/process/PromotionUsageLogger
  Processor

Object

atg.reporting.datawarehouse.process.RepositoryLoggerProcessor

Transitions

None. This is the last processor in the pipeline.


Copyright © 1997, 2015 Oracle and/or its affiliates. All rights reserved. Legal Notices