Compartilhar via


ReleaseUpdateTransformDB40_Ledger.validateTaxLedgerAccountGroup 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_Ledger

Method

validateTaxLedgerAccountGroup

Description

Validates whether the account and dimension reference data is in place for the account and dimension fields in the table.

Script Type

Upgrade readiness scripts

Microsoft Dynamics AX Source

Microsoft Dynamics AX 4.0

Affected Modules and Tables

Affected Modules

General ledger

Validation Issues

Validation Issues Description

Validates the CashDiscIncoming field.

Checked Conditions

Verifies that the CashDiscIncoming values exist in the LedgerTable table.

Mitigation/How-to-fix

Create the corresponding LedgerTable record or update the reference in the TaxLedgerAccountGroup table.

Validation Issues Description

Validates the CashDiscOutgoing field.

Checked Conditions

Verifies that the CashDiscOutgoing values exist in the LedgerTable table.

Mitigation/How-to-fix

Create the corresponding LedgerTable record or update the reference in the TaxLedgerAccountGroup table.

Validation Issues Description

Validates the PennyDiffCust field.

Checked Conditions

Verifies that the PennyDiffCust values exist in the LedgerTable table.

Mitigation/How-to-fix

Create the corresponding LedgerTable record or update the reference in the TaxLedgerAccountGroup table.

Validation Issues Description

Validates the PennyDiffVend field.

Checked Conditions

Verifies that the PennyDiffVend values exist in the LedgerTable table.

Mitigation/How-to-fix

Create the corresponding LedgerTable record or update the reference in the TaxLedgerAccountGroup table.

Validation Issues Description

Validates the TaxAccountFreePct field.

Checked Conditions

Verifies that the TaxAccountFreePict values exist in the LedgerTable table.

Mitigation/How-to-fix

Create the corresponding LedgerTable record or update the reference in the TaxLedgerAccountGroup table.

Validation Issues Description

Validates the TaxAccountIncoming field.

Checked Conditions

Verifies that the TaxAccountIncoming values exist in the LedgerTable table.

Mitigation/How-to-fix

Create the corresponding LedgerTable record or update the reference in the TaxLedgerAccountGroup table.

Validation Issues Description

Validates the TaxAccountOutgoing field.

Checked Conditions

Verifies that the TaxAccountOutgoing values exist in the LedgerTable table.

Mitigation/How-to-fix

Create the corresponding LedgerTable record or update the reference in the TaxLedgerAccountGroup table.

Validation Issues Description

Validates the TaxAccountReport field.

Checked Conditions

Verifies that the TaxAccountReport values exist in the LedgerTable table.

Mitigation/How-to-fix

Create the corresponding LedgerTable record or update the reference in the TaxLedgerAccountGroup table.

Validation Issues Description

Validates the TaxAccountUseTax field.

Checked Conditions

Verifies that the TaxAccountUseTax values exist in the LedgerTable table.

Mitigation/How-to-fix

Create the corresponding LedgerTable record or update the reference in the TaxLedgerAccountGroup table.

Validation Issues Description

Validates the TaxOffsetAccountUseTax field.

Checked Conditions

Verifies that the TaxOffsetAccountUseTax values exist in the LedgerTable table.

Mitigation/How-to-fix

Create the corresponding LedgerTable record or update the reference in the TaxLedgerAccountGroup table.