Creating item relationships
You can create item relationships so that users are able to establish a relationship between two attributes from two catalogs. For example, you can establish a relationship between product id and item code from two catalogs. One of the attributes must be a relationship type attribute.
Before you begin
Procedure
Create the item relationship by using the user interface.
You need to create a two items with one attribute which is a primary
key and the other attribute of type relationship. You can create a
relationship between two items by selecting the primary key attribute
of the first item with the relationship attribute of the second item.
The relationship is created between two items.
Option | Description |
---|---|
User interface |
|
Scripting API | The following sample code creates a relationship between two
items. // Sample code to set the Relationship between item 1 and
item 2
|
Java™ API | The following sample code creates a relationship between two
items.
|