DocumentRollback Class
The DocumentRollback class allows you to create a collection that stores Microsoft Dynamics GP document numbers.
Use a DocumentRollback object to store the document numbers you retrieve for an eConnect transaction. If an error occurs during your eConnect transaction, the DocumentRollback class allows you to produce an arraylist that specifies all the document numbers in your transaction. The RollBackDocumentList method of the GetNextDocNumbers class uses this arraylist to restore the specified Microsoft Dynamics GP document numbers.
Constructor
Name |
Description |
---|---|
DocumentRollback() |
Initializes an instance of the DocumentRollback class. |
Methods
Name |
Return Value |
Description |
---|---|---|
void |
Adds a Microsoft Dynamics GP document number to a DocumentRollback collection. |
|
void |
Releases the resources of the DocumentRollback object. |
|
bool |
Specifies whether a DocumentRollback collection is empty. |
|
List<RollBackDocument> |
Returns a list of document numbers from the Rollback collection. |
|
ArrayList |
Returns an arraylist of document numbers from the Rollback collection. |