We need to create a Product entity base object that stores the records of the Product and Product Group entity types. We will assume that we have an empty state management-enabled Product base object that we can convert to an entity base object. When you convert a base object to an entity base object, the Hub Console adds the required hierarchy columns to the base object.
Acquire a write lock.
In the Model workbench, click
Hierarchies
.
Select
Hierarchies
Convert BO to Entity/Relationship Object
.
In the Modify Existing Base Object dialog box, select the Product base object from the list. Select
Convert to Entity Base Object
and click
OK
.
Click
OK
.
Select the following Foreign Key Column for Entity Types field parameters:
Foreign Key Column for Entity Types
Select
Base Object Class Code
to establish the relationship based on a value of your choosing.