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 APRIL 30, 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.
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
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