Show TOC

 Using Set Type PRREF for Checks

Use

An object can generally reference any product with the same product type. However, an option is available for restricting which products can be used as reference products. The system then checks whether an object is allowed to reference a particular product.

Features

To use the check, you specify which categories of the object are allowed for a particular product. To be able to do this, you assign the Permitted Object Categories set type (PRREF) to the relevant product category. When a reference product is created, you can specify which object categories are allowed in this set type.

When a product is specified as a reference product for an object, the system checks whether the categories of the object are included in the list of permitted categories.

To do this, it checks to which hierarchy each category listed in PRREF belongs. It then checks whether the object has a category in this hierarchy. If this is not the case and only other hierarchies are used, the reference is allowed. If a category does exist within the relevant hierarchy or hierarchies, the system checks that it is included in PRREF and only then allows the reference.

Note Note

This is the standard check. You can use the Business Add-In INTERLINKAGE_CHECK with the relationship type PROREF to implement your own check.

End of the note.

Example

Permitted Object Categories

Hierarchy H1 Category C1

Hierarchy H1 Category C2

Hierarchy H2 Category C1

Object O1

Hierarchy H1 Category C2

Hierarchy H3 Category C1

®   Accepted

The reference is accepted for O1 as H1C2 is entered as a reference category. H3 is not checked as H3 is not contained in the reference categories.

Object O2

Hierarchy H1 Category C3

Hierarchy H3 Category C1

®   Rejected

The reference is rejected for O2. Although categories in hierarchy H1 are specified as reference categories, category C3 is not specified as a reference category.

Object O3

Hierarchy H3 Category C1

Hierarchy H4 Category C1

®   Accepted

The reference is accepted for O3, as the hierarchies H3 and H4 are not contained in the reference categories.