GetErrorStatus

Returns the HRESULT associated with a given intercompany transaction.

Syntax

<HsvICTransactionsData>.GetErrorStatus lItemIndex, plHRStatus

Argument

Description

lItemIndex

Long (ByVal). The index of the transaction in the HsvICTransactionsData instance’s array of intercompany transactions.

Tip:

You can get the upper bounds of the index by subtracting one from the count of transactions returned by BeginDataEnum.

plHRStatus

Long. Returns the HRESULT. If there’s no error, zero (0) is returned, otherwise a non-zero error number is returned.

Tip:

For information on Financial Management error numbers, see Error Handling and the HsvResourceManager Type Library.

Example

GetErrorStatus is used in the example for GetICTransactionData.