Compartir a través de


ReleaseUpdateDB60_Proj.updateProjInvoiceItem 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

updateProjInvoiceItem

Description

Populates the new transaction invoice detail table.

Affected Modules and Tables

Affected Modules

Project

Affected Tables

ProjInvoiceItem

ProjInvoiceItemDetail

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 item transactions will be stored in the new ProjInvoiceItemDetail table. This new table is related to the existing ProjInvoiceItem table.

Data Migration Section

From Table: ProjInvoiceItem

To Table: ProjInvoiceItemDetail

RecId

InvoiceRefRecId

DEL_CostValue

CostValue

DEL_SalesPrice

SalesPrice

LineAmount

LineAmount

From Table: ProjItemTransSale

To Table: ProjInvoiceItemDetail

RecId

SaleRefRecId

From Table: ProjInvoiceItemDetail

To Table: ProjInvoiceItemDetail

RecId

RefRecId

New Tables or Fields

Table

Field

Extended Data Type

-or- Base Enum

ProjInvoiceItemDetail

Deleted Tables or Fields

Table

Field

ProjInvoiceItem

DEL_CostValue

ProjInvoiceItem

DEL_SalesPrice