VersioningDocument Class [AX 2012]

The VersioningDocument class manages the state of versionable documents.

class VersioningDocument

Run On

Server

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

The public methods of this class correspond to document state transitions.

Community Additions

ADD
Show: