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.

Note: When the number of organizations is very high, use import or mass updates to assign items to organizations. You may experience slowness or error if you use rules to assign very high number of organizations.

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 organizations M2 and M3.

  • 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 organization T1.

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

[Item].[Logistics].[Product_type] == 'In-house'

Return Value

'M2','M3'

Organization codes must be entered in quotation marks, either single, or double.

Secondary If Expression

[Item].[Logistics].[Product_type] == 'Bought-outside'

Return Value

'T1'

User Message

The item was assigned to an organization, based on the product type.