RegularPriceChangeBatch Batch Always Return Success Code, Whether the Batch Failed or Succeeded (Doc ID 2003960.1)

Last updated on MARCH 09, 2017

Applies to:

Oracle Retail Store Inventory Management - Version 13.2.4 and later
Information in this document applies to any platform.

Goal

In Store Inventory Management (SIM), when bulk price change batch programs abort because the prior run of the same batch ended in error,

the batches still return a return code of '0' - meaning successful run of the batch.

For example, when processing the Regular price change file by using RegularPriceChangeBatch, the batch always return success.

Here SimBatchResult in enum class, it is returning SimBatchResult.SUCCESS and that's the reason the return code is always 0
 

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms