SIM Behavior When ReSA Generated Files Does Not Contain a Transaction: 'SimServerException Message: THEAD not present' Occurs (Doc ID 2117696.1)

Last updated on MARCH 21, 2016

Applies to:

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

Goal

In Oracle Retail Store Inventory Management (SIM), the RetailSaleAuditImport.sh fails to process the Retail Sales Audit (ReSA) file if the file contains no transaction record.  The following error occurs:

 

Steps to Recreate:

1. Create a ReSA file with no transaction:
    FHEAD|1|SIMT|1111|20160303|20160303132923
    FTAIL|2|0

2. Run ./RetailSaleAuditImport.sh ../salesImport/RESASalesAuditFile.dat
3. Note the error above

This can become a problem, as customers must manually resume the batch process. Confusion and delays thus result.  It is suggested that the situation should be handled more gracefully without erroring out, so the batch can process other ReSA files without manual intervention.

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