Compartilhar via


ReleaseUpdateDB60_Proj.updateProjInvoiceEmpl 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_Proj

Method

updateProjInvoiceEmpl

Description

Populates the new transaction invoice detail table.

Affected Modules and Tables

Affected Modules

Project

Affected Tables

ProjInvoiceEmpl

ProjInvoiceEmplDetail

Remarks

A project transaction can now be billed to multiple customers. To support split billing, another level of tables was created. The sales amounts of billed hour transactions will be stored in the new ProjInvoiceEmplDetail table. This new table is related to the existing ProjInvoiceEmpl table.

Data Migration Section

From Table: ProjInvoiceEmpl

To Table: ProjInvoiceEmplDetail

RecId

InvoiceRefRecId

DEL_CostValue

CostValue

DEL_SalesPrice

SalesPrice

LineAmount

LineAmount

From Table: ProjEmplTransSale

To Table: ProjInvoiceEmplDetail

RecId

SaleRefRecId

From Table: ProjInvoiceEmplDetail

To Table: ProjInvoiceEmplDetail

RecId

RefRecId

New Tables or Fields

Table

Field

Extended Data Type

-or- Base Enum

ProjInvoiceEmplDetail

Deleted Tables or Fields

Table

Field

ProjInvoiceEmpl

DEL_CostValue

ProjInvoiceEmpl

DEL_SalesPrice