Click or drag to resize

DocumentsRepositoryBaseComplete Method

Changes the document state to Completed

Namespace:  Aloe.EnterpriseOne.Model.General
Assembly:  Aloe.EnterpriseOne.Model (in Aloe.EnterpriseOne.Model.dll) Version: 20.1.3.5
Syntax
public void Complete(
	Document document,
	DocumentCompletion completion
)

Parameters

document
Type: Aloe.EnterpriseOne.Model.GeneralDocument
Document to Complete
completion
Type: Aloe.EnterpriseOne.Model.GeneralDocumentCompletion
Document completion mode
Remarks
The process of changing the document state is very labor intensive and includes validation, generation of sub-documents and some other document-specific tasks. The state changing process might be very time-consuming, usually ranging from 500 to 5000 milliseconds. Document states usually can only be advanced to higher states, but there are exceptions from this rule. Database settings and configuration options might affect the allowed state changes. Numerous kinds of document-specific and generic exceptions can be thrown during the process.
See Also