Interpret the Pop-Up Viewer
Let's examine the rules for the Organization Name field to see how it would appear to two different users: first, a buyer in Canada, and then a buyer in Argentina.
The pop-up viewer shows that three rules have modified the Organization Name:
Let's begin by looking at the first rule that is evaluated, the Default rule, which is always applied. The properties for the Organization Name field are set to Optional, Visible, and Editable, and no value is set for the field. None of these properties are locked in the Default rule, so they can all be overridden by rules above it.
Moving up from the Default rule, the Buyer in Argentina rule is not enforced because it's conditions aren't met (the current user is in Canada.)
- The Required property does not have a value enforced by this rule, as indicated by the dash mark. Moving down the Required column, the next rule (Buyer in Argentina) doesn't enforce a value for this property because its conditions aren't met, so we look to the Default rule, which enforces a value of Optional. So, for the buyer with the "supporting role" located in Canada, the Organization Name field is optional because no rule overrides the value set in the Default rule; in other words, the user doesn't have to supply a value for this field before submitting the form.
- Now let's scan the Hidden, Read Only and Value columns in the rule. Two of these have values that are enforced by the rule, overriding values set in lower rules; that is, the Hidden property is set to Visible, and the Value property is set to an expression. The rule doesn't set a value for the Read Only property.
Now let's see what happens at runtime if the user is a buyer but located in Argentina, rather than Canada. Once again we start with the Default rule, which sets the properties described above.
- Once again, this rule does not enforce a value for the Required property. Continuing down the column we reach the Default rule, which states that the Organization Name field is Optional for these users.
- Likewise, the Hidden property does not have a value, so we take the value from the Default rule, Visible.
- The Read Only property is set to Read Only, overriding any value set in lower rules (just the Default rule, in this case).
- The Value property is set to an expression (this expression is different from the one set in the Buyer in Canada rule.)
Moving up to the Buyer in Canada rule, this time the conditions for this rule are NOT satisfied, because the user is not in Canada, so this rule is not enforced.
In summary, buyers with the "supporting role" in Argentina can see the Organization Name field, but, unlike their counterparts in Canada, it is read only, and its value might be calculated differently.