My Oracle Support Banner

Error : FRM-40735:WHEN-VALIDATE-RECORD trigger raised unhandled exception ORA-06508 When Trying Reserve Sales Orders (Doc ID 3066406.1)

Last updated on JANUARY 16, 2025

Applies to:

Oracle Order Management - Version 12.2 and later
Information in this document applies to any platform.

Symptoms

The following error occurs when the user try to reserve an order : 

FRM-40735:WHEN-VALIDATE-RECORD trigger raised unhandled exception ORA-06508

 

The OM debug log shows the following error:

ENTER OE_PC_CONSTRAINTS_ADMIN_PVT.IS_OP_CONSTRAINED , COLUMN:
CONSTRAINT ID:2206
Error in procedure XXOM_OE_FORM_ORDER_PKG.GET_DIVISION_ID:ORA-01403: no data found ←---
VALIDATION PKG :XXOM_SO_UNIT_GEN_PKG RESULT :0
CONSTRAINT ID:9
VALIDATION TMPLT :3 CACHED RESULT :0
VALIDATION TMPLT :39 CACHED RESULT :0
VALIDATION TMPLT :49 CACHED RESULT :1
VALIDATION PKG :OE_TRANSACTION_TYPES_PKG RESULT :1
VALIDATION PKG :OE_SCHEDULE_UTIL RESULT :0
ADD CONSTRAINT MESSAGE
LEAVING OE_MSG_PUB.ADD
EXIT OE_PC_CONSTRAINTS_ADMIN_PVT.IS_OP_CONSTRAINED , RESULT:1

Which indicated that the error is coming from a customization package

Steps to reproduce:

  1. Go the Global Sales Order Entry From
  2. Go to the Lines Tab and Select an item
  3. Select the Shipping tab
  4. Enter the quantity and click save
  5. Enter the location and click save
  6. Notice that the above mentioned error message shows up

 

Changes

 

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
Changes
Cause
Solution


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