Localization Context Filtering in SDF
The SuiteCloud Development Framework (SDF) lets you filter SuiteScript 2.0 user event and client scripts by localization context. A record’s localization context shows which countries are linked to it. Set up localization context filtering in the Localization Context field on the Context Filtering subtab of the script deployment record. This controls which records user event and client scripts run on, based on their localization context. For example, if you set a script's localization context to France, it only runs on records with a localization context of France—not on records with other context.
You can set localization context in usereventscript and clientscript custom objects by adding locales to the localizationcontext field. For usereventscript objects, use the alllocalizationcontexts field to include all locales.
If you set up localization context filtering in custom objects in a SuiteCloud project, it works in all target accounts where you deploy the project. The Filtering also works when you install an SDF SuiteApp from the SuiteApp Marketplace.