At least one ingredient and one product are required 'gme_api_pub.delete_material_line' (Doc ID 2230076.1)

Last updated on FEBRUARY 07, 2017

Applies to:

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

Goal

On : 12.1.3 version, API Issues

Issue with gme_api_pub.delete_material_line API

For deleting ingredient we are API “gme_api_pub.delete_material_line”, which is not deleting all the lines.

Getting the error “At least one ingredient and one product are required.” from API when deleting the last line.

But where as from Applications Front End, we can remove all the ingredients, system is accepting.
 

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