Some Organizations Do Not Appear in the List of Values in the Application Instances Form (Doc ID 1934649.1)

Last updated on JUNE 28, 2017

Applies to:

Oracle Advanced Supply Chain Planning - Version 12.1.3.9 and later
Information in this document applies to any platform.

Symptoms

In a VCP 12.1.3.9.1 Instance:

PROBLEM
-------------
New organizations are not appearing in the LOV, when trying to assign an organization to an instance code.  This is the 'Application Instances' form in the 'Advanced Planning Administrator' responsibility. 

STEPS
--------
1) Setup the new inventory organizations.

2) Run 'Planning Data Collection' in complete refresh mode for ALL organizations.

3) Note that the new organizations get collected and are available in the 'Plan Options' setup form.


4) Note that the org LOV in the 'Application Instances' form looks at the view MRP_ORG_DEFINITIONS_V.  When describing the MRP_ORG_DEFINITIONS_V view, note the following condition at the end of the WHERE clause:

AND DECODE(HR_SECURITY.VIEW_ALL
               ,'Y' , 'TRUE'
               ,HR_SECURITY.SHOW_RECORD('HR_ALL_ORGANIZATION_UNITS',HAOTL.ORGANIZATION_ID))='TRUE';

When the given responsibility selects from this view, it does not see the newly created organizations.  This condition returns FALSE in this case.

5) When selecting from this same view from SQL Developer or SQLPLUS, the organizations are then found.

You can run the following sql statement (from SQL Developer):

select DECODE(HR_SECURITY.VIEW_ALL,'Y' , 'TRUE',HR_SECURITY.SHOW_RECORD('HR_ALL_ORGANIZATION_UNITS',207))
from dual;

It should return 'TRUE'.

Cause

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