Compartir a través de


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

updateProjInvoiceCost

Description

Populates the new transaction invoice detail table.

Affected Modules and Tables

Affected Modules

Project

Affected Tables

ProjInvoiceCost

ProjInvoiceCostDetail

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 expense transactions will be stored in the new ProjInvoiceCostDetail table. This new table is related to the existing ProjInvoiceCost table.

Data Migration Section

From Table: ProjInvoiceCost

To Table: ProjInvoiceCostDetail

RecId

InvoiceRefRecId

DEL_CostAmount

CostAmount

DEL_SalesPrice

SalesPrice

LineAmount

LineAmount

From Table: ProjCostTransSale

To Table: ProjInvoiceCostDetail

RecId

SaleRefRecId

From Table: ProjInvoiceCostDetail

To Table: ProjInvoiceCostDetail

RecId

RefRecId

New Tables or Fields

Table

Field

Extended Data Type

-or- Base Enum

ProjInvoiceCostDetail

Deleted Tables or Fields

Table

Field

ProjInvoiceCost

DEL_CostAmount

ProjInvoiceCost

DEL_SalesPrice