My Oracle Support Banner

The gme_api_pub.create_material_txn API Fails for a Phantom Product that is set to Lot Indivisible (Doc ID 2606707.1)

Last updated on MAY 04, 2021

Applies to:

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

Symptoms

On : 12.2.5 version, API Issues

Use an item set to Lot Indivisible as a phantom - ingredient in parent batch, product in child/phantom batch.

When attempting to create a WIP Completion in the phantom (which should also create a corresponding WIP Issue in the parent) using the gme_api_pub.create_material_txn API,
the following error occurs.

ERROR
-----------------------
This item is defined as being lot indivisible. For this reason the entire lot quantity must be used. The system does not permit indivisible lots to be divided.


The lot, however, is not being divided, The entire qty is being yielded by the child batch and simultaneously consumed by the parent batch.
This works fine using the Forms, it is only in the API that it errors.

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.