localizationContextEnter(scriptContext)
Description |
This function runs when a record enters a specific localization context set in 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 you've set up localization 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. If that happens, none of the script's callbacks will run. 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)