View For Attribute Group With Value Set Which Uses $OBJECT$ References: EGOCPAGV AGV Compilation Programs Fails If 2 Tables Joined With :$OBJECT$
Last updated on FEBRUARY 08, 2018
Applies to:Oracle Product Hub - Version 12.2.3 and later
Information in this document applies to any platform.
Not able to Generate Database View for attribute group with value set which uses $OBJECT$ references
You have defined attribute groups with attributes having table type value set. In this value set you have used $OBJECT$.inventory_item_id and $OBJECT$.organization_id references.
While creating Database views using Generate Database view, the EGOCPAGV AGV Compilation Programs Fails if 2 Tables are Joined With :$OBJECT$.
'ORA-00918: column ambiguously defined'
even though the status of concurrent request shows that its successful. Error is attached.
Create view statement which is generated is not able to handle $OBJECT$ references. Hence it gives error that create statement has ambiguous columns defined.
Where clause of the value set is like: When creating value set, need to give below join condition: MTL_SYSTEM_ITEMS_B MSIB, MTL_RELATED_ITEMS MRI.
AND MSIB.INVENTORY_ITEM_ID= MRI.INVENTORY_ITEM_ID
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