Compartilhar via


ReleaseUpdateTransformDB50_Cust.validateCustLedgerAccounts 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_Cust

Method

validateCustLedgerAccounts

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 AX

Microsoft Dynamics AX 4.0

Microsoft Dynamics AX 2009

Affected Modules and Tables

Affected Modules

Accounts receivable

Validation Issues

Validation Issues Description

Validates the ClearingAccount field.

Checked Conditions

Verifies that the ClearingAccount values exist in the LedgerTable table.

Mitigation/How-to-fix

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

Validation Issues Description

Validates the LiabilitiesForDiscountAccount field.

Checked Conditions

Verifies that the LiabilitiesForDiscountAccount values exist in the LedgerTable table.

Mitigation/How-to-fix

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

Validation Issues Description

Validates the SumAccount field.

Checked Conditions

Verifies that the SumAccount values exist in the LedgerTable table.

Mitigation/How-to-fix

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

Validation Issues Description

Validates the VATprepaymentsAccount field.

Checked Conditions

Verifies that the VATprepaymentsAccount values exist in the LedgerTable table.

Mitigation/How-to-fix

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