localizationContextEnter(scriptContext)
Description |
Defines the function that is executed when the record enters the localization context that is specified on the script deployment record. |
Returns |
void |
Since |
Version 2020 Release 1 |
Parameters
Parameter |
Type |
Description |
Since |
---|---|---|---|
|
The current form record. For more information about CurrentRecord object members, see CurrentRecord Object Members. |
Version 2015 Release 2 |
|
|
string |
The list of countries that represent the new localization context. |
Version 2020 Release 1 |
If a script deployment is localized on the Context Filtering tab, the pageInit
entry point of the script is ignored, and no other entry points of the script are called before localizationContextEnter
or after localizationContextExit
. It is possible that the record may never enter a localization context. In this case, no callbacks of the script are executed. For more information, see Using the Context Filtering Tab.
Related Topics
- SuiteScript 2.x Client Script Entry Points and API
- fieldChanged(scriptContext)
- lineInit(scriptContext)
- pageInit(scriptContext)
- postSourcing(scriptContext)
- saveRecord(scriptContext)
- sublistChanged(scriptContext)
- validateDelete(scriptContext)
- validateField(scriptContext)
- validateInsert(scriptContext)
- localizationContextEnter(scriptContext)
- localizationContextExit(scriptContext)