postSourcing(scriptContext)
Description |
This function runs when you click a field that gets its info from another field. Sometimes this happens as soon as you click the field. Other times, it happens after you've changed the field's value. This event works like fieldChanged event after all dependent field values have been set. It waits for all the related field changes to finish before running your function. This only works on transaction forms. For an example, see SuiteScript Client Script Sample.
Note:
If a field doesn't have any related fields, this event won't be triggered by changes to that field. |
Returns |
void |
Since |
Version 2015 Release 2 |
Parameters
The scriptContext
parameter is a JavaScript object. NetSuite automatically sends it to your script's entry point.
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 sublist ID name. |
Version 2015 Release 2 |
|
string |
The field ID name. |
Version 2015 Release 2 |
For an example of the postSourcing entry point, see SuiteScript Client Script Sample.
Related Topics
- SuiteScript 2.x Client Script Entry Points and API
- fieldChanged(scriptContext)
- lineInit(scriptContext)
- pageInit(scriptContext)
- saveRecord(scriptContext)
- sublistChanged(scriptContext)
- validateDelete(scriptContext)
- validateField(scriptContext)
- validateInsert(scriptContext)
- validateLine(scriptContext)
- localizationContextEnter(scriptContext)
- localizationContextExit(scriptContext)