VersioningPurchaseOrder Class [AX 2012]

The VersioningPurchaseOrder class is used to implement a purchase order versioning state model.

class VersioningPurchaseOrder extends VersioningDocument

Run On

Server

  MethodDescription
Gg882702.pubmethod(en-us,AX.60).gif approveChangeRequest Approves the current purchase order version. (Overrides the approveChangeRequest Method.)
Gg882702.protmethod(en-us,AX.60).gif archiveAgreementLineReleasedLine Copies the AgreementLineReleasedLine records that belong to the purchase order and that are marked as modified to the history table.
Gg882702.protmethod(en-us,AX.60).gif archiveCurrentVersion Copies all the changed records of the purchase order to the history tables. (Overrides the archiveCurrentVersion Method.)
Gg882702.protmethod(en-us,AX.60).gif archiveMarkupTrans Copies all the MarkupTrans records that belong to the purchase order and are marked as modified to the history table.
Gg882702.pubmethod(en-us,AX.60).gif archiveOnDemand Archives current version. (Inherited from VersioningDocument.)
Gg882702.protmethod(en-us,AX.60).gif archivePurchDeliverySchedule Copies the PurchDeliverySchedule records that belong to the purchase order and are marked as modified to the history table.
Gg882702.protmethod(en-us,AX.60).gif archivePurchLine Copies all the PurchLine records that belong to the purchase order and are marked as modified to the history table.
Gg882702.protmethod(en-us,AX.60).gif archivePurchLineForeignTradeCategory Copies the PurchLineForeignTradeCategory records that belong to the purchase order and are marked as modified to the history table.
Gg882702.protmethod(en-us,AX.60).gif archivePurchPrepayTable Copies the PurchPrepayTable record that is related to the purchase order to the history table if it is marked as modified.
Gg882702.protmethod(en-us,AX.60).gif archivePurchTable Copies the PurchTable record that represents the purchase order to the history table if it is marked as modified.
Gg882702.protmethod(en-us,AX.60).gif archiveTax1099BoxDetail Copies the Tax1099BoxDetail table record that represents the purchase order to the history table when it is marked as modified.
Gg882702.protmethod(en-us,AX.60).gif archiveVendPaymSched Copies the VendPaymSched record that is related to the purchase order to the history table if it is marked as modified.
Gg882702.protmethod(en-us,AX.60).gif archiveVendPaymSchedLine Copies the VendPaymSchedLine records that are related to the purchase order and are marked as modified to the history table.
Gg882702.pubmethod(en-us,AX.60).gif cancelChangeRequest Cancels the current change request. (Inherited from VersioningDocument.)
Gg882702.pubmethod(en-us,AX.60).gif cancelTimeOut Cancels a previous method call to the setTimeOut method. (Inherited from Object.)
Gg882702.pubmethod(en-us,AX.60).gif canChangeBeRequested Determines whether a change request can be created. (Inherited from VersioningDocument.)
Gg882702.pubmethod(en-us,AX.60).gif change Adjusts document state after a change to its record. (Overrides the change Method.)
Gg882702.pubmethod(en-us,AX.60).gif close Finalizes current document version. (Inherited from VersioningDocument.)
Gg882702.pubmethod(en-us,AX.60).gif confirm Confirms the current purchase order version. (Overrides the confirm Method.)
Gg882702.pubmethod(en-us,AX.60).gif createApprovedVersion Creates an approved version of the document. (Inherited from VersioningDocument.)
Gg882702.pubmethod(en-us,AX.60).gif createChangeRequest Creates a new change request for the purchase order. (Overrides the createChangeRequest Method.)
Gg882702.protmethod(en-us,AX.60).gif createNewVersion Creates a new version record. (Overrides the createNewVersion Method.)
Gg882702.pubmethod(en-us,AX.60).gif delete Deletes the document. (Inherited from VersioningDocument.)
Gg882702.pubmethod(en-us,AX.60).gif doesHistoryExist Determines whether the purchase order has ever been copied to the history tables. (Overrides the doesHistoryExist Method.)
Gg882702.protmethod(en-us,AX.60).gif doMarkupTransChangesRequireConfirmation
Gg882702.protmethod(en-us,AX.60).gif doPurchTableChangesRequireConfirmation
Gg882702.pubmethod(en-us,AX.60).gif editableInWorkflow Returns if this VersioningPurchaseOrder is in an editable workflow.
Gg882702.pubmethod(en-us,AX.60).gif equal Determines whether the specified object is equal to the current one. (Inherited from Object.)
Gg882702.pubmethod(en-us,AX.60).gif getDocumentState Retrieves the state of the current purchase order version. (Overrides the getDocumentState Method.)
Gg882702.pubmethod(en-us,AX.60).gif getTimeOutTimerHandle Returns the timer handle for the object. (Inherited from Object.)
Gg882702.pubmethod(en-us,AX.60).gif handle Retrieves the handle of the class of the object. (Inherited from Object.)
Gg882702.pubmethod(en-us,AX.60).gif initiate Initiates the initial document version. (Inherited from VersioningDocument.)
Gg882702.protmethod(en-us,AX.60).gif isChangeConfirmationRequired Indicates whether a change to a record will require a purchase order confirmation. (Overrides the isChangeConfirmationRequired Method.)
Gg882702.protmethod(en-us,AX.60).gif isChangeRequestRequired Determines whether change request for the purchase order is required. (Overrides the isChangeRequestRequired Method.)
Gg882702.pubmethod(en-us,AX.60).gif isLastVersionArchived Checks if the last version was archived in the history tables. (Overrides the isLastVersionArchived Method.)
Gg882702.protmethod(en-us,AX.60).gif markModified Marks PurchTable record as modified by setting IsModifed to Yes when a document state is changed because a change to the record will require document confirmation. (Overrides the markModified Method.)
Gg882702.protmethod(en-us,AX.60).gif new Initializes a new instance of the VersioningPurchaseOrder class.
Gg882702.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.)
Gg882702.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.)
Gg882702.pubmethod(en-us,AX.60).gif objectOnServer Determines whether the object is on a server. (Inherited from Object.)
Gg882702.pubmethod(en-us,AX.60).gif owner Returns the instance that owns the object. (Inherited from Object.)
Gg882702.protmethod(en-us,AX.60).gif parmPurchTable Gets or sets the PurchTable parameter.
Gg882702.pubmethod(en-us,AX.60).gif parmSkipChangeRequest Gets or sets the SkipChangeRequest parameter.
Gg882702.protmethod(en-us,AX.60).gif parmSkipUpdatePurchTable Gets or sets the SkipUpdatePurchTable parameter.
Gg882702.pubmethod(en-us,AX.60).gif rejectChangeRequest Rejects the current change request. (Inherited from VersioningDocument.)
Gg882702.protmethod(en-us,AX.60).gif restorePreviousVersion Restores the previous purchase order version from the history tables.
Gg882702.protmethod(en-us,AX.60).gif restoreTax1099BoxDetail Restores Tax1099BoxDetail records of the purchase order to their earlier versions from the history table.
Gg882702.pubmethod(en-us,AX.60).gif reSubmitChangeRequest Resubmits the current document version for approval. (Inherited from VersioningDocument.)
Gg882702.pubmethod(en-us,AX.60).gif sendToVendor Updates the current purchase order version, setting Document state to InExternalReview enum value. (Overrides the sendToVendor Method.)
Gg882702.protmethod(en-us,AX.60).gif setDocumentState Sets the document state of the purchase order. (Overrides the setDocumentState Method.)
Gg882702.pubmethod(en-us,AX.60).gif setTimeOut Sets up the scheduled execution of a specified method. (Inherited from Object.)
Gg882702.pubmethod(en-us,AX.60).gif submitChangeRequest Submits the current document version for approval. (Inherited from VersioningDocument.)
Gg882702.pubmethod(en-us,AX.60).gif toString Returns a string that represents the current object. (Inherited from Object.)
Gg882702.protmethod(en-us,AX.60).gif updatePurchLineHistoryValidTo Updates ValidTo field for effective PurchLineHistory table records.
Gg882702.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.)
Gg882702.pubmethod(en-us,AX.60).gif wait Pauses a process. (Inherited from Object.)
Gg882702.pubmethod(en-us,AX.60).gif xml Returns an XML string that represents the current object. (Inherited from Object.)
Gg882702.pubmethod(en-us,AX.60).gif Gg882702.static(en-us,AX.60).gif ::archivedTables Retrieves a set of tables that will be archived.
Gg882702.pubmethod(en-us,AX.60).gif Gg882702.static(en-us,AX.60).gif ::archiveTable2Table Retrieves the table ID of a table that is archived.
Gg882702.pubmethod(en-us,AX.60).gif Gg882702.static(en-us,AX.60).gif ::checkCanChangeBeRequested Determines whether a change request can be created.
Gg882702.pubmethod(en-us,AX.60).gif Gg882702.static(en-us,AX.60).gif ::checkHistoryExist Determines whether a purchase order has been copied to the history tables.
Gg882702.protmethod(en-us,AX.60).gif Gg882702.static(en-us,AX.60).gif ::construct Initializes a new instance of the VersioningPurchaseOrder class.
Gg882702.pubmethod(en-us,AX.60).gif Gg882702.static(en-us,AX.60).gif ::doesHistoryExistCacheInsert Creates cache entry which indicates that PurchTableVersion exists for specified purchase order.
Gg882702.pubmethod(en-us,AX.60).gif Gg882702.static(en-us,AX.60).gif ::doesHistoryExistCacheRemove Removes the cached return value of doesHistoryExist method from the SysGlobalObjectCache by specifying the corresponding purchase order.
Gg882702.protmethod(en-us,AX.60).gif Gg882702.static(en-us,AX.60).gif ::doesHistoryExistCacheScope Generates the GlobalObjectCacheScope used for caching the return value of the doesHistoryExist method.
Gg882702.protmethod(en-us,AX.60).gif Gg882702.static(en-us,AX.60).gif ::doesHistoryExistRunOnServer Determines whether the purchase order has ever been copied to the history tables.
Gg882702.pubmethod(en-us,AX.60).gif Gg882702.static(en-us,AX.60).gif ::main Provides an entry point for the VersioningPurchaseOrder class when it is called from a command.
Gg882702.pubmethod(en-us,AX.60).gif Gg882702.static(en-us,AX.60).gif ::newPurchaseOrder Constructs VersioningPurchaseOrder object for a purchase order.
Top

Object Class
  VersioningDocument Class
    VersioningPurchaseOrder Class

Community Additions

ADD
Show: