Compartir a través de


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

validateEmployeeWithWorkCenterType

Description

Validates whether there are records in the HRMPartyEmployeeRelationship table and that the value in the EmployeeType field is the HRMEmployeeType::WorkCenter. enumeration value

Script Type

Upgrade readiness scripts

Microsoft Dynamics AX Source

Microsoft Dynamics AX 4.0

Microsoft Dynamics AX 2009

Affected Modules and Tables

Affected Modules

Human Resources

Validation Issues

Validation Issues Description

Validates whether there are records in the HRMPartyEmployeeRelationship table and that the value in the EmployeeType field is the HRMEmployeeType::WorkCenter enumeration value.

Checked Conditions

HRMPartyEmployeeRelationship.EmployeeType == HRMEmployeeType::WorkCenter

Mitigation/How-to-fix

The user is informed that the value of the EmployeeType field in the HRMPartyEmployeeRelationship table is equal to the HRMEmployeeType::WorkCenter enumeration value; the record will be upgraded as Employee type.