Share via


ReleaseUpdateTransformDB50_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

ReleaseUpdateTransformDB50_LedgerTrx

Method

validateTaxTrans

Description

Performs validation to make sure that the records in the TaxTrans table have valid values for the AccountNum and Dimension field.

Script Type

Upgrade readiness scripts

Microsoft Dynamics AX Source

Microsoft Dynamics AX 4.0

Microsoft Dynamics AX 2009

Affected Modules and Tables

Affected Modules

General ledger

Affected Tables

LedgerTrans

Validation Issues

Validation Issues Description

There may be a situation where the TaxTrans table contains a record with an invalid value for the AccountNum or Dimension fields. The account and dimension must exist in the LedgerTable table in order for the upgrade to proceed.

Checked Conditions

Checks to make sure that the values for the TaxTrans.AccountNum, TaxTrans.OperationAccount, TaxTrans. TaxOffsetAccountUseTax, and TaxTrans. Dimension fields contain values that are found in the LedgerTabletable.

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.