ReleaseUpdateTransformDB50_Basic.validatePartyRelationshipDuplicates Upgrade Script

Applies To: Microsoft Dynamics AX 2012 R3, Microsoft Dynamics AX 2012 R2, Microsoft Dynamics AX 2012 Feature Pack, Microsoft Dynamics AX 2012

Class

ReleaseUpdateTransformDB50_Basic

Method

validatePartyRelationshipDuplicates

Description

Validates that there are duplicate records in the DirPartyRelationship table.

Script Type

Upgrade readiness scripts

Microsoft Dynamics AX Source

Microsoft Dynamics AX 4.0

Microsoft Dynamics AX 2009

Affected Modules and Tables

Affected Modules

CRM

Validation Issues

Validation Issues Description

Validates that there are duplicate records in the DirPartyRelationship table.

Checked Conditions

The RelationshipTypeId, ParentPartyId, ChildPartyId, ValidFromDateTime will be the key to identify the duplicates.

Mitigation/How-to-fix

The user needs to go to the party relationship form to remove all of the duplicate records.

Remarks

The user needs to go to the party relationship form to remove all of the duplicate records.