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