My Oracle Support Banner

Incorrect User_id When Fetching FND_GLOBAL.User_Id In PostAttributeChange Subscription Code ? (Doc ID 2203357.1)

Last updated on FEBRUARY 20, 2023

Applies to:

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

Symptoms

ACTUAL BEHAVIOR

Issue on FND_GLOBAL.User_Id & fnd_profile.VALUE('USER_ID')
Oracle Product Hub 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. Create a dummy subscription and subscribe it on Post Attribute Change Event. Logging FND Global User Id's, FND Profile User Id & Last Updated By columns. You may find few mismatches on FND Global User Id's & Last Updated By columns.

Cause

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
Symptoms
Cause
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.