Share via


ReleaseUpdateTransformDB40_Ledger.validateTaxAdjustments 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

validateTaxAdjustments

Description

Validates the TaxWorkRegulation table does not contain sales order or purchase order tax adjustments.

Script Type

Upgrade readiness scripts

Ax Version

Microsoft Dynamics AX 4.0

Affected Modules and Tables

Affected Modules

Accounts receivable

Accounts payable

Validation Issues

Validation Issues Description

Verifies the TaxWorkRegulation table does not contain sales order or purchase order tax adjustments.

Checked Conditions

Checks that the HeadingTableId field value in the TaxWorkRegulation table does not equal to the SalesTable or the PurchTable table ID.

Mitigation/How-to-fix

Delete the tax adjustments or post the sales order or purchase order invoice.

Remarks

New tax adjustments for sales order and purchase order invoices in the upgraded version will be stored at the invoice line level. Existing Microsoft Dynamics AX 4.0 tax adjustments stored at the invoice document level in the TaxWorkRegulation table will not be used after the upgrade.