My Oracle Support Banner

Cannot Create Process Manufacturing (OPM) Sample With The GMD_SAMPLES_PUB Package For Receipt Of Internal Order Receive Error 'GMD_SRC_SUBINV_MUST_NOT_NULL' (Doc ID 2644875.1)

Last updated on DECEMBER 01, 2022

Applies to:

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

Symptoms

On : 12.1.3 version, API Issues

Users cannot create OPM Sample with the GMD_SAMPLES_PUB package for receipt of an internal order
Applied patches 22598196.B, 23256716.B, and 21356477.B to get the ability to have OPM samples taken on receipt of internal orders. The functionality is working when done through the screen.

Users Have requirements to create samples programmatically using APIs. Using the GMD_SAMPLES_PUB.Create_Samples api passing in the correct values including a source subinventory.
However, the API call comes back with the GMD_SRC_SUBINV_MUST_NOT_NULL error code.


ERROR
-----------------------
GMD_SRC_SUBINV_MUST_NOT_NULL


STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Run GMD APIs to create samples for internal orders.


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
References


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