Compartilhar via


ReleaseUpdateTransformDB40_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

ReleaseUpdateTransformDB40_Cust

Method

validateCustLedgerAccounts

Description

Validates if 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

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 SumAcccount 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.