Transaction Missing Due to Failure During Insertion of Data in LE_HST_TL; "java.sql.SQLException: ORA-00001: unique constraint violated" (Doc ID 2079308.1)

Last updated on APRIL 26, 2016

Applies to:

Oracle Retail Point-of-Service - Version 13.4.8 and later
Information in this document applies to any platform.

Symptoms

In Oracle Retail Point of Service (ORPOS) 13.4.8, transactions go missing when performed in offline mode.  Once the register comes online, some transactions fail to persist to the database and fail with the following error in the server-side queue exception file:

 

Steps to Reproduce:

  1. Make sure that patches for bugs 20585663, 20575030, 21029352, 21547015 & 21531265 are applied on top of ORPOS version 13.4.8.
  2. Log in to POS while online and make sure that new store day has been opened.
  3. Open Till 001 on Reg 001 for a particular business date in online mode.
  4. Take POS offline by shutting down the ORPOS server.
  5. Perform around 30 transactions in offline mode.
  6. Now close and reconcile Till 001 from Reg 001.
  7. Open Till 002 on Reg 001.
  8. Perform some transactions.
  9. Start the Server and bring POS back online.
  10. Log off and log on again on Client with current till ID (002).
  11. Perform some transactions while the transactions are processing from queues which were done with Till 001. (i.e., before transactions done in step 4).
  12. Notice that transactions are missing once the register comes online.  Some of the transactions fail to persist in database and fail with the error shown above.

 

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