Click or drag to resize

DocumentComplete Method

Changes the document state to Completed with all Release-ed sub-documents

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

Parameters

completion
Type: Aloe.EnterpriseOne.Model.GeneralDocumentCompletion
How the sub-documents will be completed, if at all
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