ReleaseUpdateDB60_Ledger.updateGDL_TaxRepLines_BookType 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_Ledger

Method

updateGDL_TaxRepLines_BookType

Description

Populates the TaxReportLines.TaxBookType field values based on the corresponding TaxTrans.TaxDirection field values.

Affected Modules and Tables

Affected Modules

General ledger

Affected Tables

TaxReportLines

Remarks

The TaxReportLines.TaxBookType is set to the TaxBookType_ES::IncomingTax value if the value of the corresponding TaxTrans.TaxDirection field is the TaxDirection::IncomingTax value or the TaxDirection::TaxExemptPurchase value. The TaxReportLines.TaxBookType is set to the TaxBookType_ES::OutgoingTax value if the value of the corresponding TaxTrans.TaxDirection field is the TaxDirection::OutgoingTax or TaxDirection::TaxExemptSales value.

New Tables or Fields

Table

Field

Extended Data Type

-or- Base Enum

TaxReportLines

TaxBookType

TaxBookType_ES