The submitReturn pipeline obtains data on returns. The pipeline chain’s transaction mode is TX_REQUIRED.

The following sections describe each processor in the pipeline chain.

fetchReturn

Uses the order ID to look up the order in the repository.

Transactional Mode

TX_MANDATORY

Component

/atg/reporting/datawarehouse/process/custsvc/FetchReturnProcessor

Object

atg.reporting.datawarehouse.commerce.csr.FetchReturnProcessor

Transitions

Return value of 1 executes returnRequestLookup.

returnRequestLookup

Looks for any return IDs associated with the order.

Transactional Mode

TX_MANDATORY

Component

/atg/reporting/datawarehouse/process/custsvc/ReturnRequestLookup
  Processor

Object

atg.reporting.datawarehouse.process.LookupPipelineProcessor

Transitions

Return value of 1 executes checkReturnExists.

checkReturnExists

Verifies that the warehouse item exists.

Transactional Mode

TX_MANDATORY

Component

/atg/reporting/datawarehouse/process/WarehouseItemExistsProcessor

Object

atg.reporting.datawarehouse.process.WarehouseItemLookupProcessor

Transitions

Return value of 1 executes endPipeline. Return value of 2 executes createReturnLineItems.

createReturnLineItems

Creates the return’s line items.

Transactional Mode

TX_MANDATORY

Component

/atg/reporting/datawarehouse/process/custsvc/CreateReturnLineItems
  Processor

Object

atg.reporting.datawarehouse.commerce.CreateLineItemsProcessor

Transitions

Return value of 1 executes allocateOtherRefund.

allocateOtherRefund

Allocates other refunds to each line item in the return.

Transactional Mode

TX_MANDATORY

Component

/atg/reporting/datawarehouse/process/custsvc/OtherRefundAllocator
  Processor

Object

atg.reporting.datawarehouse.commerce.AmountAllocatorProcessor

Transitions

Return value of 1 executes allocateReturnFee.

allocateReturnFee

Allocates the return fee for each line item in the return.

Transactional Mode

TX_MANDATORY

Component

/atg/reporting/datawarehouse/process/custsvc/ReturnFeeAllocator
  Processor

Object

atg.reporting.datawarehouse.commerce.AmountAllocatorProcessor

Transitions

Return value of 1 executes calculateTotalAdjustments.

calculateTotalAdjustments

Calculates all of the adjustments for each line item in the return, including the shipping refund, tax refund and other refund allocations.

Transactional Mode

TX_MANDATORY

Component

/atg/reporting/datawarehouse/process/custsvc/LineItemTotal
  AdjustmentProcessor

Object

atg.reporting.datawarehouse.commerce.ComputeLineItemTotalProcessor

Transitions

Return value of 1 executes localCurrencyLookup.

localCurrencyLookup

Looks up the currency associated with the return order.

Transactional Mode

TX_MANDATORY

Component

/atg/reporting/datawarehouse/process/custsvc/LocalCurrencyLookup
  Processor

Object

atg.reporting.datawarehouse.process.LookupPipelineProcessor

Transitions

Return value of 1 executes currencyConverter.

currencyConverter

Converts the currency associated with the return order.

Transactional Mode

TX_MANDATORY

Component

/atg/reporting/datawarehouse/process/custsvc/CurrencyConverter
  Processor

Object

atg.reporting.datawarehouse.commerce.CurrencyConverterProcessor

Transitions

Return value of 1 executes dayLookup.

dayLookup

Uses the timestamp of the return order to look up the day in the ARF_TIME_DAY table.

Transactional Mode

TX_MANDATORY

Component

/atg/reporting/datawarehouse/process/custsvc/DayLookupPipeline
  Processor

Object

atg.reporting.datawarehouse.process.DayLookupProcessor

Transitions

Return value of 1 executes timeLookup.

timeLookup

Uses the timestamp of the return order to look up the day in the ARF_TIME_TOD table.

Transactional Mode

TX_MANDATORY

Component

/atg/reporting/datawarehouse/process/custsvc/TimeLookupPipeline
  Processor

Object

atg.reporting.datawarehouse.process.TimeLookupProcessor

Transitions

Return value of 1 executes customerLookup.

customerLookup

Returns the customer ID associated with the return order.

Transactional Mode

TX_MANDATORY

Component

/atg/reporting/datawarehouse/process/custsvc/CustomerLookup
  Processor

Object

atg.reporting.datawarehouse.process.LookupPipelineProcessor

Transitions

Return value of 1 executes agentLookup.

agentLookup

Returns the agent ID associated with the return order.

Transactional Mode

TX_MANDATORY

Component

/atg/reporting/datawarehouse/process/custsvc/InternalUserLookup
  Processor

Object

atg.reporting.datawarehouse.process.LookupPipelineProcessor

Transitions

Return value of 1 executes returnSalesChannelLookup.

returnSalesChannelLookup

Returns the sales channel associated with the return order.

Transactional Mode

TX_MANDATORY

Component

/atg/reporting/datawarehouse/process/custsvc/ReturnSalesChannel
  LookupProcessor

Object

atg.reporting.datawarehouse.process.LookupPipelineProcessor

Transitions

Return value of 1 executes submittedSiteLookup.

submittedSiteLookup

Returns the site from which the return order was submitted.

Transactional Mode

TX_MANDATORY

Component

/atg/reporting/datawarehouse/process/custsvc/SubmittedSiteLookup
  Processor

Object

atg.reporting.datawarehouse.process.RepositoryItemLookupProcessor

Transitions

Return value of 1 executes runReturnLineItemPipelineChain.

runReturnLineItemPipelineChain

Initiates the ReturnLineItemPipeline chain.

Transactional Mode

TX_MANDATORY

Component

/atg/reporting/datawarehouse/process/custsvc/ReturnItemPipeline
  Processor

Object

atg.reporting.datawarehouse.commerce.csr.ReturnItemPipeline
  Processor

Transitions

Return value of 1 executes endPipeline, which completes the pipeline chain.


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