Share via


ReleaseUpdateTransformDB40_LedgerTrx.validateTaxTrans 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

ReleaseUpdateTransformDB40_LedgerTrx

Method

validateTaxTrans

Description

Performs validation to ensure that the records in TaxTrans table have valid values for the AccountNum and Dimension fields.

Script Type

Upgrade readiness scripts

Microsoft Dynamics AX Source

Microsoft Dynamics AX 4.0

Affected Modules and Tables

Affected Modules

General ledger

Affected Tables

LedgerTrans

Validation Issues

Validation Issues Description

The TaxTrans table contains a record with an invalid value for the AccountNum or Dimension fields. The AccountNum and Dimension values must exist in the LedgerTable table in order for the upgrade to proceed.

Checked Conditions

Checks to ensure the AccountNum, OperationAccount, TaxOffsetAccountUseTax and Dimension fields contain values found in LedgerTable table.

Mitigation/How-to-fix

Modify the existing TaxTrans record to hold a valid value for the AccountNum, OperationAccount, TaxOffsetAccountUseTax, and Dimension fields. These values must exist in the LedgerTable table.