Share via


ReleaseUpdateTransformDB50_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

ReleaseUpdateTransformDB50_Ledger

Method

validateTaxAdjustments

Description

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

Script Type

Upgrade readiness scripts

Ax Version

Microsoft Dynamics AX 2009

Affected Modules and Tables

Affected Modules

Accounts receivable

Validation Issues

Validation Issues Description

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

Checked Conditions

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

Mitigation/How-to-fix

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

Remarks

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