Compartir a través de


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

validateEmployeeTerminationDate

Description

Validates whether there are any records in the HRMPartyEmployeeRelationship table in which the TerminationDate field is not populated and the corresponding status field of the EmplTable record is equal to the HRMEmplStatus::Resigned enumeration value.

Script Type

Upgrade readiness scripts

Microsoft Dynamics AX Source

Microsoft Dynamics AX 2009

Affected Modules and Tables

Affected Modules

Human Resources

Validation Issues

Validation Issues Description

Validates whether there are any records in the HRMPartyEmployeeRelationship table in which the TerminationDate field is not populated and the corresponding status field of the EmplTable record is equal to the HRMEmplStatus::Resigned enumeration value.

Checked Conditions

HRMPartyEmployeeRelationship.TerminationDate != DateTimeUtil::minValue() && EmplTable.status == HRMRmplStatus::Resigned

Mitigation/How-to-fix

The user is informed that the TerminationDate field in the HRMPartyEmployeeRelationship table needs to be set.