Entry points in Client Scripts :

Script Entry PointDescription
fieldChanged(scriptContext)Defines the function that is executed when a field is changed by a user or client call.
lineInit(scriptContext)Defines the function that is executed when an existing line is selected.
localizationContextEnter(scriptContext)Defines the function that is executed when the record enters the localization context that is specified on the script deployment record.
localizationContextExit(scriptContext)Defines the function that is executed when the record exits that context.
pageInit(scriptContext)Defines the function that is executed when the page completes loading or when the form is reset.
postSourcing(scriptContext)Defines the function that is executed when a field that sources information from another field is modified. Executes on transaction forms only.
saveRecord(scriptContext)Defines the function that is executed when a record is saved (after the submit button is pressed but before the form is submitted).
sublistChanged(scriptContext)Defines the function that is executed after a sublist has been inserted, removed, or edited.
validateDelete(scriptContext)Defines the validation function that is executed when an existing line in an edit sublist is deleted.
validateField(scriptContext)Defines the validation function that is executed when a field is changed by a user or client call.
validateInsert(scriptContext)Defines the validation function that is executed when a sublist line is inserted into an edit sublist.
validateLine(scriptContext)Defines the validation function that is executed before a line is added to an inline editor sublist or editor sublist.

Entry points in User Event Scripts :

Script Entry PointDescription
afterSubmit(context)Executes immediately after a write operation on a record.
beforeLoad(context)Executes whenever a read operation occurs on a record, and prior to returning the record or page.
beforeSubmit(context)Executes prior to any write operation on the record.
context.UserEventTypeHolds the string values for user event execution contexts.

Leave a comment

Your email address will not be published. Required fields are marked *