Determining the Localization Context
A record's localization context shows which countries are linked to it. The system automatically determines a record's localization context using values in certain fields, like subsidiary and tax nexus. These fields show specific countries, like France, United Kingdom, or Germany.
The system uses a set process to determine the localization context for a record, based on several factors. The diagram below shows how this process works:
The process moves through the decision tree from START to one of the results in dark-gray boxes.
The results show which field the localization context is based on. For example, if it's "Subsidiary (Country)," the context uses the country field from that subsidiary.
A record's localization context can include more than one country and it's not limited to a single option. When scripts are filtered by localization context, a script runs if its context association rule matches any country in the localization context.
For client scripts, localization context is determined dynamically:
-
A user changes a field that affects the record's localization context.
-
The system immediately checks again to make sure the localization context is set correctly.
-
Based on the new localization context, the right scripts are loaded and attached to the record, and any that aren't needed are removed.