My Oracle Support Banner

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

Last updated on FEBRUARY 19, 2019

Applies to:

Oracle Inventory Management - Version 11.5.10 and later
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 xxxxxxxx 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 xxxxxxxx ship $ */


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

Solution

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
Goal
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.