Returns the next document available for retrieval from BargeEx.

Overload List

  NameDescription
GetNextDocument(IDocument%)
Returns the next document available for retrieval from BargeEx as a IDocument object.
GetNextDocument(XmlDocument%)
Returns the next document available for retrieval from BargeEx as an XmlDocument.

Remarks

This method invokes the GetNextDocument method available from the BargeEx web service. This method returns a GetNextDocumentReturnCode value that indicates if a document was returned, no document was available, or an error occurred. A value of Success indicates the document parameter contains the next available document. A value of NoMoreDocuments indicates no more documents are available at this time. Any other value indicates a failure.

Once the document returned by this method has been successfully processed or persisted, the AcknowledgeDocument method should be called to notify BargeEx to send the next document the next time the GetNextDocument method is called.

See Also