Remove Authid CURRENT_USER From Public API: INV_MOVE_ORDER_PUB (Doc ID 961223.1)

Last updated on JULY 06, 2015

Applies to:

Oracle Inventory Management - Version: 11.5.10
Information in this document applies to any platform.

Goal

How can one avoid "AUTHID CURRENT USER" in public API packages?
After applying patches or compiling packages find that the public packages are recreated with "AUTHID CURRENT USER".  The original package specification does not have this.

Example
For example, INV_MOVE_ORDER_PUB:
The package initially looks like the following before recompiling:
CREATE OR REPLACE PACKAGE INV_Move_Order_PUB AS
/* $Header: INVPTROS.pls 115.17.115100.3 2004/12/07 10:59:21 amohamme ship $ */

However, after recompiling using adadmin, it looks like this:
CREATE OR REPLACE PACKAGE INV_Move_Order_PUB AUTHID CURRENT_USER AS
/* $Header: INVPTROS.pls 115.17.115100.3 2004/12/07 10:59:21 amohamme ship $ */

Business Impact
Adding the AUTHID CURRENT_USER causes validation issues if trying to use the public API from another user like XXAPPS.


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