GMF_SQL_ERROR (ERR=1) (ERRM=User-Defined Exception) Using GME_API_PUB.create_material_txn (Doc ID 1586837.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Process Manufacturing Process Execution - Version 12.1.3 and later
Information in this document applies to any platform.

Symptoms

On : 12.1.3 version, API Issues


When attempting to create a transaction (ACTUAL QUANTITY FOR A FG) using gme_api_pub.create_material_txn we got the error

ERROR
-----------------------
GMF_SQL_ERROR (ERRCODE=1) (ERRM=User-Defined Exception)


Customer noticed that for for batches having issue, system did not create records in gmf_outgoing_material_layers and gmf_batch_vib_details
Also they have found that for some cases if you un-release the batch, and then cancel it, and then re-create it, the transaction is created.


STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Product output using gme_api_pub.create_material_txn
2. getting error



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