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 field in the Detailed department region:

Description of metadatasoniapopup3.png follows

Description of the illustration metadatasoniapopup3.png

Let’s suppose the current user satisfies the conditions for the Buyer in Canada rule, that is, they have the Buying Role “Supporting role” and are located in Canada. What will he or she actually see on the page?

Let’s begin by looking at the first rule that is evaluated, the Default rule, which is a built-in rule that 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.)

Moving up to the Buyer in Canada rule, our current user satisfies the rule’s conditions, so this rule will be enforced, overriding the properties enforced by lower rules (in this case, just the Default rule.)

For buyers with a “supporting role” in Canada, then, the Organization Name field will be visible and its value set to an expression (as the field is not Read Only, the user has the power to change the value.)

Now let’s see what happens at runtime if the user is a buyer with the “supporting role” but located in Argentina, rather than Canada. Once again we start with the Default rule, which sets the properties described above.

Then we move up to the next rule, Buyer in Argentina. This time, both conditions are satisfied, so let’s look at what this rule does:

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.