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