Example of Assigning Organizations Using Item Rules
You can define assignment rules that automatically assign items to one or more organizations when a condition is satisfied. The condition can be based on attribute values, another organization assignment, or a catalog assignment.
Scenario
The following table summarizes an example of an item rule that:
-
Is defined in an assignment rule set.
-
Tests whether an item has a product type of
In-house
. If the result of the test is true, then assign the item to the organizationsM2
andM3
. -
Tests whether an item has a product type of
Bought-outside
. If the result of the test is true, then assign the item to the organizationT1
.
Note that this rule has more than one THEN expression. You add THEN expressions by using the Add Row action. The expressions are evaluated in the sequence of the rows, and the execution is halted when the first THEN expression evaluates to True. You can add additional rows of Then Expressions by clicking Add Row.
Field |
Value |
---|---|
Name |
Organization assignment |
Description |
Auto assignment of item to organization based on given attributes. |
Return type |
Organization |
Primary If Expression |
true |
Secondary If Expression |
|
Return Value |
Organization codes must be entered in quotation marks, either single, or double. |
Secondary If Expression |
|
Return Value |
|
User Message |
The item was assigned to an organization, based on the product type. |