My Oracle Support Banner

Getting a 'You have encountered an unexpected error' When Opening a Repository Contract in Pending Approval or Submitting it for Approval (Doc ID 1962043.1)

Last updated on JUNE 24, 2019

Applies to:

Oracle Procurement Contracts - Version 12.1.3 and later
Information in this document applies to any platform.

Symptoms

When submitting a Repository Contract for Approval, or opening a Repository Contract that has been submitted for approval, the following error occurs:

Error
You have encountered an Unexpected Error. Please contact the system administrator.
Click here for Exception details

Details show:
oracle.apps.fnd.framework.OAException: oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation
Statement:
 SELECT DISTINCT orc.action_code action_code,
 decode(fl.meaning,'Cancel
 Contract','Cancel','Sign Contract','Sign','Terminate
 Contract','Terminate',fl.meaning) action_name
   FROM okc_rep_con_actions orc,
 fnd_lookups fl
   WHERE orc.status_code = :1
  AND fl.lookup_code =
 orc.action_code
   AND fl.lookup_type =
 'OKC_REP_CON_ACTIONS'
   AND (:2 is null OR orc.action_code <> :3)
   AND (:4 is null OR orc.action_code <> :5)
   AND nvl(disabled_flag, 'N') =
 'N'
   AND ((OKC_REP_UTIL_PVT.has_contract_access(:6,
 'OKC_REP_AU_UPDATE') = 'T' AND orc.page_mode = 'UPDATE')
   OR (OKC_REP_UTIL_PVT.has_contract_access(:7, 'OKC_REP_AU_SELECT') = 'T'
 AND orc.page_mode = 'VIEW'))
   AND (:8 is null OR orc.action_code <> :9)  
wf.plsql.WF_EVENT.raise2.Begin 2 Event Name:oracle.apps.fnd.framework.OAFatalError Event
 Key:2326174   ...

Steps
1. Using the Contracts Workbench Administrator responsibility.
2. Navigate: Contracts > Contracts.
3. Click the Create Contract button.
4. Enter the mandatory details and click submit for Approval (or open a contract in Pending Approval Status).
3) The indicated error is received.

Cause

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
Symptoms
Cause
Solution
References


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