Compartilhar via


ReleaseUpdateTransformDB50_Basic.validateDataLossContractor 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

validateDataLossContractor

Description

Validate if there are records in the EmplTable and HRMPartyEmployeeRelationship table that have the HRMEmployeeType::Contractor value in the hrmEmployeeType field.

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

Validate if there are records in <c>EmplTable</c> table and <c>HRMPartyEmployeeRelationship</c> table which have HRMEmployeeType::Contractor in <c>hrmEmployeeType</c> field.

Checked Conditions

hrmPartyEmployeeRelationshipTable.hrmEmployeeType == HRMEmployeeType::Contrator

Mitigation/How-to-fix

User is informed that some data related to records with Contractor type will be lost since the data model changes.