ResetCursor method: Business Interlink class
Syntax
ResetCursor()
Description
The ResetCursor method resets the cursor in the Output structure for a Business Interlink object to the top. After you call this method, the next time you call GetValue, you get an output value from the first document of the Output structures for a Business Interlink object.
Parameters
None.
Returns
None.
Example
The following code uses ResetCursor to reset the cursor in the Output structure to the top.
Local Interlink &QE_COST;
Local BIDocs &CalcCostOut;
&QE_COST = GetInterlink(Interlink.QE_COST_EX);
// Get inputs, execute. (code not shown)
&CalcCostOut = &QE_COST.GetOutputDocs("");
// Perform actions on the output documents (code not shown)
&CalcCostOut.ResetCursor();