Click or drag to resize

DocumentsRepositoryBaseChangeState Method

Changes the state of the specified document.

Namespace:  Aloe.EnterpriseOne.Model.General
Assembly:  Aloe.EnterpriseOne.Model (in Aloe.EnterpriseOne.Model.dll) Version: 20.1.3.5
Syntax
public void ChangeState(
	Document document,
	DocumentState newState,
	DocumentTypeUserStatus newUserStatus
)

Parameters

document
Type: Aloe.EnterpriseOne.Model.GeneralDocument
The document, whose state should be changed.
newState
Type: Aloe.EnterpriseOne.Model.GeneralDocumentState
The new state.
newUserStatus
Type: Aloe.EnterpriseOne.Model.GeneralDocumentTypeUserStatus
The new user status or null. The State property of the user status should be equal to the new state.
See Also