My Oracle Support Banner

Failed To Create Recipe Validity Rule Without Organization using API GMD_RECIPE_DETAIL.CRATE_RECIPE_VR - Error: cannot insert NULL into ("GMD"."GMD_RECIPE_VALIDITY_RULES"."MIN_QTY") (Doc ID 2909724.1)

Last updated on JANUARY 10, 2023

Applies to:

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

Symptoms

ACTUAL BEHAVIOR

---------------

Not able to create recipe validity rule if created using  API without passing Organization.

When try to create a Recipe validity rule without validity rule organization and formula scaling allowed is 'No', getting below API error:

Error:
ORA-01400: cannot insert NULL into
("GMD"."GMD_RECIPE_VALIDITY_RULES"."MIN_QTY") in Package
GMD_RECIPE_DETAIL_PVT Procedure CREATE_RECIPE_VR

STEPS

-----------------------

The issue can be reproduced at will with the following steps:

Responsability: Product Development

  1. Created an item and Prod_Item
  2.  Created a formula
  3. Created a recipe
  4. Connect to SQL and execute the package:

 This is a sample code and should be completed with correct values for the customer

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.