VersioningCompareRecordVersions.packChangedFields Method [AX 2012]

Packs a container with the fields which are different in the two versions of the record.

public container packChangedFields(
    VersioningChangeType _changeType, 
    Common _origCommon, 
    Common _newCommon)

Run On

Called

Parameters

_changeType
Type: VersioningChangeType Enumeration
A VersionChangeType enumeration value which specifies the Modified, Added, Removed, or NoChange value.
_origCommon
Type: Common Table
The original version of the record.
_newCommon
Type: Common Table
The modified version of the record.

Return Value

Type: container
A container that specifies the fields that have changed.

The container has a nested container for each field. This nested container holds the attribute, the old value and the new value. The nested container has a length of 3.

Community Additions

ADD
Show: