This event is provided to assist in data tracking and session state. If another client of the terminal session requests that the session be saved, the active emSess.fnSaveChanges object's function of the FVApiSession (msgAPI mode) or FVTermSession (original FVTermParent mode) will save the changed field values to the host screen. Sometimes when logic wants to "take over" the user's entries still need to be reflected in the active host screen.
Once the fields have been successfully saved at the Inventu Viewer+ Emulation server, this event is called.
The prototype of this function has no parameters and any returned value is ignored.
Declared as follows:
function onSave()
{
}
Bind your onSave in the FVMsgApi.ConnectMsgFVTerm or ConnectFVTerm function callback as follows:
fvApi.onsave = onSave;