PurchReApprovalVersioningCompare::newVersion Method [AX 2012]

Instantiates a new instance of the VersioningCompare class that is based on the specified records.

server public static PurchReApprovalVersioningCompare newVersion(
    Set _includedFields, 
    Common _common, 
   [Common _alternateNewVersion])

Run On

Server

Parameters

_includedFields
Type: Set Class
A set of fields that should be compared.
_common
Type: Common Table
A record that holds the versions.
_alternateNewVersion
Type: Common Table
A second record from a table mapped by the VersioningVersionMap database map; optional.

Return Value

Type: PurchReApprovalVersioningCompare Class
An instance of the PurchReApprovalVersioningCompare class.

If only one version is specified the comparison will be against the current version.

Show: