Incorrect User_id When Fetching FND_GLOBAL.User_Id In PostAttributeChange Subscription Code ?

(Doc ID 2203357.1)

Last updated on NOVEMBER 21, 2016

Applies to:

Oracle Product Hub - Version 12.1.3 and later
Information in this document applies to any platform.

Symptoms

On : 12.1.3 version, User Defined Attributes

ACTUAL BEHAVIOR
---------------
Issue on FND_GLOBAL.User_Id & fnd_profile.VALUE('USER_ID')
Oracle PDH application is not returning correct values for FND Global User Id's & FND Profile User Id for each individual session.

g_user NUMBER := apps.fnd_profile.VALUE('USER_ID');
g_user_id NUMBER := FND_GLOBAL.User_Id;

EXPECTED BEHAVIOR
-----------------------
g_user NUMBER := apps.fnd_profile.VALUE('USER_ID');
g_user_id NUMBER := FND_GLOBAL.User_Id;

Both should return same values

STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. We created on dummy subscription and subscribed it on Post Attribute Change Event. Logging FND Global User Id's, FND Profile User Id & Last Updated By columns. We found few mismatches on FND Global User Id's & Last Updated By columns.

Changes

 

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