Record Localization Context

You can use the record localization context in user event and client scripts to filter which scripts or workflows run.

Developers can use this feature to customize scripts for certain countries and keep them from running on records from other countries.

With localization context, the system doesn't need to load and run scripts to check if they're relevant.

Only customers using the Classic Center or Executive Center can use this feature, and it's only visible to these roles:

For more information about Centers and Roles, see NetSuite Standard Centers.

This feature also adds two new entry points for client scripts, localizationContextEnter(scriptContext) and localizationContextExit(scriptContext). For more information, see Localization Context.

For more information about entry points in SuiteScript, see SuiteScript 2.x Client Script Entry Points and API.

For information about the Localization Context and Context Association Rule feature, see the following:

For more details about setting up localization context filtering for user event and client script execution, see Localization Context Filtering for SuiteScript 2.x.

Localization context filtering also works for scripts in SF SuiteApps, Bundles, and other parts of NetSuite, like workflows:

Related Topics:

General Notices