GME_API_PUB.Create_Material_Txn Returns Incorrect Transaction ID (Doc ID 2136685.1)

Last updated on MARCH 08, 2017

Applies to:

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

Symptoms

On : 12.2.4 version, API Issues

gme_api_pub.create_material_txn is returning incorrect transaction ID

Creating WIP completion transactions using "gme_api_pub.create_material_txn".
In the MTL_MATERIAL_TRANSACTIONS table we noticed that a transaction_set_id which was previously used is being re-used for WIP completion transactions. The API then returns an incorrect transaction record back in the x_mmt_rec out parameter. This is causes the API fail as it is not returning the correct transaction id.


STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Run "gme_api_pub.create_material_txn"



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