Using Fetch Variables

Use fetch variables to retrieve and return specific information, such as a result; to define the table ID; and to specify the number of keys to use in a fetch.

Fetch Variable

Description

idJDEDBResult

APIs or JD Edwards EnterpriseOne functions, such as JDEDB_RESULT

idReturnValue

Business function return value, such as ER_WARNING or ER_ERROR

idTableXXXXID

Where XXXX is the table name, such as F4101 and F41021, the variable used to define the Table ID.

idIndexXXXXID

Where XXXX is the table name, such as F4101 or F41021, the variable used to define the Index ID of a table.

usXXXXNumColToFetch

Where XXXX is the table name, such as F4101 and F41021, the number of the column to fetch. Do not put the literal value in the API functions as the parameter.

usXXXXNumOfKeys

Where XXXX is the table name, such as F4101 and F41021, the number of keys to use in the fetch.