An OpenEdge ABL implementation for an Invoke operation
- Last Updated: October 29, 2020
- 1 minute read
- OpenEdge
- Version 12.2
- Documentation
The following example shows an ABL method that might implement an Invoke
operation in any Business Entity that accesses the sports2020
database, such as Customer (see CRUD and Submit operations):
|
This method loops through Customer records,
and returns, as an output parameter, a temp-table with a single record containing three fields
(CustNum, Name, and CreditLimit) that are set from three corresponding fields of the
unique Customer record with its CustNum field matching the value of the input parameter, piCustNum. The method also returns, as its value, the CreditLimit field value from the same Customer
record. This allows CreditLimit to be more easily referenced
on the client as the method return value in an expression if desired.