You created a realignment Run, but it is not deriving the territories as expected.
SAP Hybris Cloud for Customer
Reproducing the Issue
Suppose that you have a realignment run with the following criteria:
If Country = US
Territory = XYZ (XYZ represents the name of the territory).
And that you have account 123 with Country = US (123 represents the Account ID).
When you go to:
- Go to the Customers work centre.
- Select the Accounts view.
- Open account 123.
- Click the Actions button.
- Choose the Derive Territory option.
Territory is not set to XYZ.
The operator for the Rule Valid From and Rule Valid to attribute is not set correctly.
In order for the territory to be derived avoid using the operator Equal to for the Rule Valid From and Rule Valid to column in the rules.
Rule engine has no context available and thus can not interpret Rule Valid From, for the engine every column is just a value which,
needs to be compared with the account's attribute or with today's date using the operator specified with the value.
You have to use the operators Greater or Equal and Less or Equal.
Realignment Run, Realignment rules, Operator, Valid From, Territory Rules. , KBA , LOD-CRM-TM , Territory Management , How To