VersioningDocument Class [AX 2012]
The VersioningDocument class manages the state of versionable documents.
| Method | Description | |
|---|---|---|
| approveChangeRequest | Approves the current document version. |
| archiveCurrentVersion | Performs archiving of the current document data to the history tables. |
| archiveOnDemand | Archives current version. |
| cancelChangeRequest | Cancels the current change request. |
| cancelTimeOut | Cancels a previous method call to the setTimeOut method. (Inherited from Object.) |
| canChangeBeRequested | Determines whether a change request can be created. |
| change | Adjusts document state after a change to its record. |
| close | Finalizes current document version. |
| confirm | Confirms current document version. |
| createApprovedVersion | Creates an approved version of the document. |
| createChangeRequest | Creates a new document version in a Draft state, or a change request. |
| createNewVersion | Creates a new version record. |
| delete | Deletes the document. |
| doesHistoryExist | Determines whether any version of the document is stored in the history tables. |
| equal | Determines whether the specified object is equal to the current one. (Inherited from Object.) |
| getDocumentState | Retrieves the state of the current document version. |
| getTimeOutTimerHandle | Returns the timer handle for the object. (Inherited from Object.) |
| handle | Retrieves the handle of the class of the object. (Inherited from Object.) |
| initiate | Initiates the initial document version. |
| isChangeConfirmationRequired | Determines whether a change to the record will require document confirmation. |
| isChangeRequestRequired | Determines whether change request for the document is required. |
| isLastVersionArchived | Checks whether the last version was archived in the history tables. |
| markModified | Allows to mark a document as modified when a document state is changed because a change to the record will require document confirmation. |
| new | Initializes a new instance of the Object class. (Inherited from Object.) |
| notify | Releases the hold on an object that has called the wait method on this object. (Inherited from Object.) |
| notifyAll | Releases a lock on the object that was issued by the wait method on this object. (Inherited from Object.) |
| objectOnServer | Determines whether the object is on a server. (Inherited from Object.) |
| owner | Returns the instance that owns the object. (Inherited from Object.) |
| rejectChangeRequest | Rejects the current change request. |
| reSubmitChangeRequest | Resubmits the current document version for approval. |
| sendToVendor | Sends the current document version to vendor for review. |
| setDocumentState | Sets the state of the current version of the document. |
| setTimeOut | Sets up the scheduled execution of a specified method. (Inherited from Object.) |
| submitChangeRequest | Submits the current document version for approval. |
| toString | Returns a string that represents the current object. (Inherited from Object.) |
| usageCount | Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.) |
| wait | Pauses a process. (Inherited from Object.) |
| xml | Returns an XML string that represents the current object. (Inherited from Object.) |
Community Additions
ADD
Show: