VersioningComparePurchOrder.initCallerRecord Method [AX 2012]

Extracts the purchase ID from the calling record and initializes the comparison based on the records.

protected void initCallerRecord(VersioningVersionMap _changeVersion, [VersioningVersionMap _alternateNewVersion])

Run On

Server

Parameters

_changeVersion
Type: VersioningVersionMap Map
A record from a table that is mapped by the VersioningVersionMap database map.
_alternateNewVersion
Type: VersioningVersionMap Map
A second record from a table that is mapped by the VersioningVersionMap database map.

If the record originates from an instance of the FormDataSource class the correct selection will be used. If the first argument does not contain a multi selection and the second optional parameter is not specified; the comparison will be against the current version.

Community Additions

ADD
Show: