Compartilhar via


ReleaseUpdateTransformDB50_Vend.vendInvoiceInfoLinePreUpgrade 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

ReleaseUpdateTransformDB50_Vend

Method

vendInvoiceInfoLinePreUpgrade

Description

Creates data in SourceDocumentLine table, and initializes the SourceDocumentLine, TaxGroup and TaxItemGroup fields in the VendInvoiceInfoLine table.

Script Type

Preprocessing 60: Live

Microsoft Dynamics AX Source

Microsoft Dynamics AX 4.0

Microsoft Dynamics AX 2009

Affected Modules and Tables

Affected Modules

Accounts payable

Affected Tables

VendInvoiceInfoLine

SourceDocumentLine

Remarks

This upgrade is required in order to create records in SourceDocumentLine table which is a mandatory FK to the VendInvoiceInfoLine table in the next release.

Data Migration Section

From Table: PurchLine

To Table: VendInvoiceInfoLine

TaxGroup

TaxGroup

TaxItemGroup

TaxItemGroup

From Table: SourceDocumentLine

To Table: VendInvoiceInfoLine

RecId

SourceDocumentLine

New Tables or Fields

Table

Field

Extended Data Type

-or- Base Enum

SourceDocumentLine

VendInvoiceInfoLine

TaxGroup

TaxGroup

VendInvoiceInfoLine

TaxItemGroup

TaxItemGroup