Using JSDOs to create mobile and web clients : Accessing custom Invoke operations : Invoke operation example
  

Invoke operation example

To illustrate different ways that an Invoke operation can return results, the following examples show different ways of calling an Invoke operation on the client that is implemented by an OpenEdge ABL class method that returns both a DECIMAL value and an output parameter value of type TABLE.
Note: The bold code in the JavaScript examples primarily trace the path of referenced JSDO method and callback parameters, as well as key code elements in the example, including those elements that are directly or indirectly referenced in the example description and notes.
* An OpenEdge ABL implementation for an Invoke operation
* Client JavaScript code: An Invoke