Share via


ReleaseUpdateDB60_Trv.updateTrvCashAdvance 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

ReleaseUpdateDB60_Trv

Method

updateTrvCashAdvance

Description

Migrates data from the EmployeeID field to the RequestingWorker field and PaidBy field to the PayingWorker field in the TrvCashAdvance table.

Affected Modules and Tables

Affected Modules

Expense management

Affected Tables

TrvCashAdvance

Remarks

This upgrade script is needed to convert the employee ID to the new worker for Microsoft Dynamics AX 2012 as part of HCM uptake for Expense Management.

Data Migration Section

From Table: TrvCashAdvance

To Table: TrvCashAdvance

DEL_EmployeeID

RequestingWorker

DEL_PaidBy

PayingWorker

New Tables or Fields

Table

Field

Extended Data Type

-or- Base Enum

TrvCashAdvance

RequestingWorker

TrvHcmWorkerRecId

TrvCashAdvance

PayingWorker

TrvHcmWorkerRecId

Deleted Tables or Fields

Table

Field

TrvCashAdvance

DEL_EmployeeID

TrvCashAdvance

DEL_PaidBy