GetStatus method: Business Interlink class
Syntax
GetStatus()
Description
The GetStatus method tests the BIDocs document. To find the status for any BIDocs method that does not return a status value, call GetStatus just after you call that BIDocs method.
Parameters
None.
Returns
The following are the possible returns:
| Number | Enum Value | Description |
|---|---|---|
|
0 |
NoError |
The method succeeded. |
|
1 |
NO_DOCUMENT |
The document referenced by this method does not exist. |
|
2 |
LIST_OUT_RANGE |
You tried to access a document in a list, but the document list is out of range. For example, if a document list contains five documents, and then you call GetDoc/GetOutputDocs once, you can call GetNextDoc four times; the fifth time results in this error. |
|
3 |
DOCUMENT_UNINITIALIZED |
Internal error. |
|
4 |
NOT_DOCUMENTTYPE |
You tried to perform an operation upon a parameter that is not a document type. |
|
5 |
NOT_DOCUMENTLISTTYPE |
You tried to perform a GetNextDoc or AddNextDoc upon a document that is not a list. |
|
6 |
NOT_LISTTYPE |
You tried to perform a list operation using GetValue, AddValue, on a non-list. |
|
7 |
NOT_SINGLEBASICTYPE |
You tried to perform a GetValue or AddValue upon a list that does not use a single basic type: Integer, Float, String, Time, Date, DateTime. |
|
9 |
NO_DATA |
You tried to retrieve data from a document that contained no data. |
|
10 |
GENERIC_ERROR |
There was an error with the transaction. |