VersioningCompare Class [AX 2012]

The VersionCompare class analyzes the differences between two versions of a record collection.

class VersioningCompare

Run On

Server

  MethodDescription
Gg849148.pubmethod(en-us,AX.60).gif cancelTimeOut Cancels a previous method call to the setTimeOut method. (Inherited from Object.)
Gg849148.pubmethod(en-us,AX.60).gif enableAccountingDistributionView Method indicating if button for viewing accounting distributions should be enabled and visible on the VersioningCompare form. The button invokes the AccountingDistribution form.
Gg849148.pubmethod(en-us,AX.60).gif equal Determines whether the specified object is equal to the current one. (Inherited from Object.)
Gg849148.pubmethod(en-us,AX.60).gif getCaption
Gg849148.protmethod(en-us,AX.60).gif getChangeList Gets a list of changed fields by comparing two records.
Gg849148.pubmethod(en-us,AX.60).gif getTimeOutTimerHandle Returns the timer handle for the object. (Inherited from Object.)
Gg849148.pubmethod(en-us,AX.60).gif handle Retrieves the handle of the class of the object. (Inherited from Object.)
Gg849148.protmethod(en-us,AX.60).gif initCallerRecord Initializes the comparison based on the records.
Gg849148.protmethod(en-us,AX.60).gif insertVersioningTmpTrans Inserts a record in the VersioningTmpTrans temporary table with the comparison of a single record.
Gg849148.protmethod(en-us,AX.60).gif loadAccountingDistribution Analyzes the AccountingDistribution records that are related to the specified record and then saves the result in the temporary VersioningTmpTrans table.
Gg849148.protmethod(en-us,AX.60).gif loadData
Gg849148.protmethod(en-us,AX.60).gif loadMarkup Analyzes the MarkupTrans records related to the specified record and saves the result in the VersioningTmpTrans temporary table.
Gg849148.pubmethod(en-us,AX.60).gif loadVersioningTmpTrans Initializes the VersioningTmpTrans temporary table that is used to save the result of the comparison.
Gg849148.protmethod(en-us,AX.60).gif new Initializes a new instance of the VersioningCompare class.
Gg849148.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.)
Gg849148.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.)
Gg849148.pubmethod(en-us,AX.60).gif objectOnServer Determines whether the object is on a server. (Inherited from Object.)
Gg849148.pubmethod(en-us,AX.60).gif owner Returns the instance that owns the object. (Inherited from Object.)
Gg849148.pubmethod(en-us,AX.60).gif packVersioningTmpTrans
Gg849148.protmethod(en-us,AX.60).gif parmVersioningTmpTrans Gets or sets the VersioningTmpTrans parameter.
Gg849148.pubmethod(en-us,AX.60).gif removeEmptyTreeNodes Removes all nodes that do not have a change in them and in their child nodes.
Gg849148.pubmethod(en-us,AX.60).gif setTimeOut Sets up the scheduled execution of a specified method. (Inherited from Object.)
Gg849148.pubmethod(en-us,AX.60).gif toString Returns a string that represents the current object. (Inherited from Object.)
Gg849148.protmethod(en-us,AX.60).gif treeNodeName Initializes the name of the tree node that represents the specified record.
Gg849148.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.)
Gg849148.pubmethod(en-us,AX.60).gif wait Pauses a process. (Inherited from Object.)
Gg849148.pubmethod(en-us,AX.60).gif xml Returns an XML string that represents the current object. (Inherited from Object.)
Gg849148.pubmethod(en-us,AX.60).gif Gg849148.static(en-us,AX.60).gif ::newForm Instantiates a new instance of the VersioningCompare class based on the specified FormTreeControl control and data source record.
Gg849148.pubmethod(en-us,AX.60).gif Gg849148.static(en-us,AX.60).gif ::newTableId
Gg849148.pubmethod(en-us,AX.60).gif Gg849148.static(en-us,AX.60).gif ::newVersion Instantiates a new instance of the VersioningCompare class based on the specified records.
Gg849148.pubmethod(en-us,AX.60).gif Gg849148.static(en-us,AX.60).gif ::packFromEP Initializes a container by using a comparison based on the specified data source record.
Gg849148.pubmethod(en-us,AX.60).gif Gg849148.static(en-us,AX.60).gif ::packFromForm Initializes a container with the comparison based on the specified data source record.
Gg849148.pubmethod(en-us,AX.60).gif Gg849148.static(en-us,AX.60).gif ::unpackVersioningTmpTrans
Top

A purchase requisition or an Order is composed of multiple records in several tables. This class is used to traverse the data structure and find the differences between two versions of the data.

This class requires that the data structure supports the history framework.

The result of the analysis is saved in the VersioningTmpTrans temporary table. The tree structure of the original data is stored in the temporary table by using references to the parent record in the temporary table.

Community Additions

ADD
Show: