My Oracle Support Banner

DOCCLOSE Batch is Autolocking - Table ITEM_LOC_SOH is Locked by Another User (Doc ID 2856211.1)

Last updated on MARCH 23, 2022

Applies to:

Oracle Retail Merchandising System - Version 19.0.1 and later
Information in this document applies to any platform.


DOCCLOSE keeps failing when run with a large amount of data.  Customer has to keep restarting it.

This can occur for instance with around 2000 transfers.  Each time it fails it can produce errors like:

docclose_4~20211014000045~close_tsf~STORE~105~RET-0105: generic stored procedure error~INTERNAL STORED FUNCTION ERROR deadlock detected:

function=APPT_DOC_CLOSE_SQL.CLOSE_TSF, error=Table ITEM_LOC_SOH with key
values of 100152097, 982 is locked by another user.

If customer tries again more files are processed but DOCCLOSE may still fail again.


To view full details, sign in with your My Oracle Support account.

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

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.