Incorrect Error Message for Saimptlogi Batch Failure (Doc ID 2144846.1)

Last updated on JUNE 13, 2016

Applies to:

Oracle Retail Sales Audit - Version 13.2.4 and later
Information in this document applies to any platform.

Symptoms

There are some fields like quantities, retails etc. which are not validated for the format in the input rtlog file as it was assumed they would be correct according to the design specification of the rtlog file. As a result, in case such fields are present in wrong format as per the documentation, the uploading of the file was failing in the final insertion of the records in to the tables without specifying which record insertion failed thereby making it difficult to figure out which record in the file has error.


Steps to Reproduce:

  1. Process a RTLOG with ORIGINAL_UNIT_RETAIL is 200 in TITEM record with leading SPACE.
  2. Program will fail with error :
      saimptlogi_1~20151106184127~flushTranInsertArrays~sa_tran_item~-1722~ORA-01722: invalid number~Cannot INSERT - row=0
  3. Above error does not display enough information which could help in figuring out which record insertion failed.

Cause

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