Example of Changing Item Supplier Site Organization Associations Using Validation Rules

You can define validation rules that automatically govern the creation and updating of item supplier site organization associations and the updating of association attributes, both Primary attributes and extensible flexfields.

Scenario

The following tables summarize an example of an item rule set and rules that govern an item supplier site organization association.

Rule Set Field

Value

Business Entity

Item

Rule Set Name

Supplier Association Rule Set

Rule Set Type

Validation

Association Type

Item Class

Association Name

Electronics

The rule:

  • Is applied when an item belongs to the item class Electronics.

  • Because the IF expression is true, performs the validation specified by the Validation Condition.

  • The Validation Condition tests whether name of the item supplier site is Acme.

  • If the Validation Condition evaluates to true, then the validation succeeds, and the action for the Severity is performed, which is Needs Approval

  • Consequently, if the user tries to add an item supplier site association for the supplier Acme to an item belonging to the item class Electronic, then the rule forces you to create a change order and get it approved.

Rule Field

Value

Name

Supplier Association Rule

Description

Ensures that a change order is required to add an item supplier site association for the supplier Acme.

Valid Component Rules check box

Check box must be deselected.

Severity

Needs Approval

IF Expression

true

Validation Condition

[Supplier].[Item Supplier Site Organization].[Supplier Name] == "Acme"

User Message

Adding the supplier Acme for Electronics items requires the creation and approval of a change order.