Owner Lookup In Recipe Form Is Showing Duplicate Usernames
Last updated on JULY 13, 2017
Applies to:Oracle Process Manufacturing Product Development - Version 12.2.4 and later
Information in this document applies to any platform.
On : 12.2.4 version, Product Development Recipes
The LOV on the Owner field on Recipes shows duplicate user names under some circumstances.
This occurs when there are Direct and Indirect responsibility assignments. Per the AOL team, the query behind the LOV, shown below, should include a DISTINCT:
select a.user_name, a.description, a.user_id
from fnd_user a, fnd_user_resp_groups b, org_access_view c
where a.user_id = b.user_id
and b.responsibility_id = c.responsibility_id
and c.responsibility_id = :parameter.resp_id
and c.organization_id = :gmd_recipes.owner_organization_id
order by 1;
The view fnd_user_resp_groups is returning multiple rows for a responsibility_id.
The issue can be reproduced at will with the following steps:
1. Retrieve a recipe
2. Do an LOV on the Owner field
The issue has the following business impact:
Due to this issue, duplicate data is displayed.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms