Why is it not possible To Change Sample Disposition From PLANNED To PENDING Using The GMD APIs ? (Doc ID 1964316.1)

Last updated on MARCH 08, 2017

Applies to:

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

Goal

You may be looking to use the API to change sample disposition from Planned to Pending because you are unable to input test results for new samples in Planned disposition.
You know that the way to change sample disposition using the API is by using the 'gmd_disp_pub.change_disposition' procedure. The problem is that this procedure won't let you change a sample disposition while the current disposition is Planned (0PL), in there is a confition that says:

IF l_update_disp_rec.curr_disposition IN ('0PL','1P','7CN','0RT') THEN
  RAISE INVALID_DISPOSITION;

 

Disposition Code and their meaning:
0PL is Planned
1P is Pending
7CN is Cancel
0RT is retain

How am I supposed to fulfill the requirement if the API procedure won't let me change it?
 

Solution

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