View For Attribute Group With Value Set Which Uses $OBJECT$ References: EGOCPAGV AGV Compilation Programs Fails If 2 Tables Joined With :$OBJECT$
(Doc ID 2004001.1)
Last updated on FEBRUARY 06, 2019
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.
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: 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
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