Condividi tramite


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

updateProjInvoiceRevenue

Description

Populates the new transaction invoice detail table.

Affected Modules and Tables

Affected Modules

Project

Affected Tables

ProjInvoiceRevenue

ProjInvoiceRevenueDetail

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 fee transactions will be stored in the new ProjInvoiceRevenueDetail table. This new table is related to the existing ProjInvoiceRevenue table.

Data Migration Section

From Table: ProjInvoiceRevenue

To Table: ProjInvoiceRevenueDetail

RecId

InvoiceRefRecId

DEL_SalesPrice

SalesPrice

LineAmount

LineAmount

From Table: ProjRevenueTransSale

To Table: ProjInvoiceRevenueDetail

RecId

SaleRefRecId

From Table: ProjInvoiceRevenueDetail

To Table: ProjInvoiceRevenueDetail

RecId

RefRecId

New Tables or Fields

Table

Field

Extended Data Type

-or- Base Enum

ProjInvoiceRevenueDetail

Deleted Tables or Fields

Table

Field

ProjInvoiceRevenue

DEL_SalesPrice