VersioningPurchReq Class [AX 2012]

The VersioningPurchReq class is the purchase requisition versioning state model implementation.

class VersioningPurchReq extends VersioningDocument

Run On

Server

  MethodDescription
Gg882842.pubmethod(en-us,AX.60).gif approveChangeRequest Approves the current document version. (Inherited from VersioningDocument.)
Gg882842.protmethod(en-us,AX.60).gif archiveAccountingDistributions Marks the current distributions as part of the version that is being created.
Gg882842.pubmethod(en-us,AX.60).gif archiveCurrentVersion Copies all the changed records of the purchase requisition to the history tables. (Overrides the archiveCurrentVersion Method.)
Gg882842.protmethod(en-us,AX.60).gif archiveMarkupTrans Copies all MarkupTrans table records that belong to the purchase requisition and marked as modified to the history table.
Gg882842.pubmethod(en-us,AX.60).gif archiveOnDemand Archives current version. (Inherited from VersioningDocument.)
Gg882842.protmethod(en-us,AX.60).gif archivePurchReqBusJustification Copies the PurchReqBusJustification record that is related to the purchase requisition to the history table if it is marked as modified.
Gg882842.protmethod(en-us,AX.60).gif archivePurchReqLine Copies all PurchReqLine records that belong to the purchase requisition and marked as modified to the history table.
Gg882842.protmethod(en-us,AX.60).gif archivePurchReqLineAnswerLines Copies the PurchReqLineQuestionnaireResponse record that is related to the purchase requisition to the history table if it is marked as modified.
Gg882842.protmethod(en-us,AX.60).gif archivePurchReqLineAnswerTable Copies the PurchReqLineQuestionnaireResponse record that is related to the purchase requisition to the history table if it is marked as modified.
Gg882842.protmethod(en-us,AX.60).gif archivePurchReqLineBusJustification Copies the PurchReqBusJustification record that is related to the purchase requisition line to the history table if it is marked as modified.
Gg882842.protmethod(en-us,AX.60).gif archivePurchReqLineQuestionnaire Copies the PurchReqLineQuestionnaire record that is related to the purchase requisition line to the history table if it is marked as modified.
Gg882842.protmethod(en-us,AX.60).gif archivePurchReqLineVendorProposal Copies all PurchReqLineVendorProposal records that belong to the purchase requisition line and marked as modified to the history table.
Gg882842.protmethod(en-us,AX.60).gif archivePurchReqLineVendorSuggestion Copies all PurchReqLineVendorSuggestion records that belong to the purchase requisition line and marked as modified to the history table.
Gg882842.protmethod(en-us,AX.60).gif archivePurchReqTable Copies the PurchReqTable table record that represents the purchase requisition to the history table if it is marked as modified.
Gg882842.protmethod(en-us,AX.60).gif archivePurchReqTableHistoryTotals
Gg882842.pubmethod(en-us,AX.60).gif cancelChangeRequest Cancels the current change request. (Inherited from VersioningDocument.)
Gg882842.pubmethod(en-us,AX.60).gif cancelTimeOut Cancels a previous method call to the setTimeOut method. (Inherited from Object.)
Gg882842.pubmethod(en-us,AX.60).gif canChangeBeRequested Determines whether a change request can be created. (Inherited from VersioningDocument.)
Gg882842.pubmethod(en-us,AX.60).gif change Adjusts document state after a change to its record. (Inherited from VersioningDocument.)
Gg882842.pubmethod(en-us,AX.60).gif close Finalizes current document version. (Inherited from VersioningDocument.)
Gg882842.protmethod(en-us,AX.60).gif compareBusinessJustificationAndHistory Compares fields of Purchase requisition business justification
Gg882842.protmethod(en-us,AX.60).gif comparePurchReqLineAndHistory Compares fields of the purchase requisition line objects.
Gg882842.protmethod(en-us,AX.60).gif comparePurchReqTableAndHistory Compares fields of Purchase requisition header.
Gg882842.protmethod(en-us,AX.60).gif compareVendorProposalAndHistory Compares fields of the vendor proposal.
Gg882842.protmethod(en-us,AX.60).gif compareVendorSuggestionAndHistory Compares fields of the vendor suggestion.
Gg882842.pubmethod(en-us,AX.60).gif confirm Confirms current document version. (Inherited from VersioningDocument.)
Gg882842.pubmethod(en-us,AX.60).gif createApprovedVersion Creates an approved version of the document. (Inherited from VersioningDocument.)
Gg882842.pubmethod(en-us,AX.60).gif createChangeRequest Creates a new document version in a Draft state, or a change request. (Inherited from VersioningDocument.)
Gg882842.protmethod(en-us,AX.60).gif createNewVersion Creates a new version record. (Overrides the createNewVersion Method.)
Gg882842.protmethod(en-us,AX.60).gif createPurchReqVersion Creates a version of the purchase requisition based on the current date and time.
Gg882842.pubmethod(en-us,AX.60).gif delete Deletes the document. (Inherited from VersioningDocument.)
Gg882842.pubmethod(en-us,AX.60).gif doesHistoryExist Determines whether the purchase requisition has ever been copied to the history tables. (Overrides the doesHistoryExist Method.)
Gg882842.pubmethod(en-us,AX.60).gif equal Determines whether the specified object is equal to the current one. (Inherited from Object.)
Gg882842.pubmethod(en-us,AX.60).gif getDocumentState Retrieves the state of the current purchase requisition version. (Overrides the getDocumentState Method.)
Gg882842.privmethod(en-us,AX.60).gif getPurchReqVersionDateTime
Gg882842.pubmethod(en-us,AX.60).gif getTimeOutTimerHandle Returns the timer handle for the object. (Inherited from Object.)
Gg882842.pubmethod(en-us,AX.60).gif handle Retrieves the handle of the class of the object. (Inherited from Object.)
Gg882842.pubmethod(en-us,AX.60).gif initiate Initiates the initial document version. (Inherited from VersioningDocument.)
Gg882842.protmethod(en-us,AX.60).gif isChangeConfirmationRequired Determines whether a change to a record will require purchase requisition confirmation or not. (Overrides the isChangeConfirmationRequired Method.)
Gg882842.protmethod(en-us,AX.60).gif isChangeRequestRequired Determines whether a change request for the purchase requisition is required. (Overrides the isChangeRequestRequired Method.)
Gg882842.protmethod(en-us,AX.60).gif isDataChanged Indicates whether data is changed in the table.
Gg882842.pubmethod(en-us,AX.60).gif isLastVersionArchived Checks whether the last version was archived in the history tables. (Overrides the isLastVersionArchived Method.)
Gg882842.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. (Inherited from VersioningDocument.)
Gg882842.protmethod(en-us,AX.60).gif new Initializes a new instance of the VersioningPurchReq class.
Gg882842.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.)
Gg882842.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.)
Gg882842.pubmethod(en-us,AX.60).gif objectOnServer Determines whether the object is on a server. (Inherited from Object.)
Gg882842.pubmethod(en-us,AX.60).gif owner Returns the instance that owns the object. (Inherited from Object.)
Gg882842.protmethod(en-us,AX.60).gif parmPurchReqTable Gets or sets the PurchReqTable parameter.
Gg882842.protmethod(en-us,AX.60).gif parmSourceDocumentHeader Gets or sets the SourceDocumentHeader parameter.
Gg882842.pubmethod(en-us,AX.60).gif rejectChangeRequest Rejects the current change request. (Inherited from VersioningDocument.)
Gg882842.pubmethod(en-us,AX.60).gif reSubmitChangeRequest Resubmits the current document version for approval. (Inherited from VersioningDocument.)
Gg882842.pubmethod(en-us,AX.60).gif sendToVendor Sends the current document version to vendor for review. (Inherited from VersioningDocument.)
Gg882842.protmethod(en-us,AX.60).gif setDocumentState Sets the document state of the purchase requisition. (Overrides the setDocumentState Method.)
Gg882842.pubmethod(en-us,AX.60).gif setTimeOut Sets up the scheduled execution of a specified method. (Inherited from Object.)
Gg882842.pubmethod(en-us,AX.60).gif submitChangeRequest Submits the current document version for approval. (Inherited from VersioningDocument.)
Gg882842.pubmethod(en-us,AX.60).gif toString Returns a string that represents the current object. (Inherited from Object.)
Gg882842.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.)
Gg882842.pubmethod(en-us,AX.60).gif wait Pauses a process. (Inherited from Object.)
Gg882842.pubmethod(en-us,AX.60).gif xml Returns an XML string that represents the current object. (Inherited from Object.)
Gg882842.protmethod(en-us,AX.60).gif Gg882842.static(en-us,AX.60).gif ::construct Initializes a new instance of the VersioningPurchReq class.
Gg882842.pubmethod(en-us,AX.60).gif Gg882842.static(en-us,AX.60).gif ::newVersioningPurchReq
Top

Object Class
  VersioningDocument Class
    VersioningPurchReq Class

Community Additions

ADD
Show: