ReleaseUpdateDB60_Ledger.allowNoDupTaxWithholdReportVoucher_THDat 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

ReleaseUpdateDB60_Ledger

Method

allowNoDupTaxWithholdReportVoucher_THDat

Description

Updates the DatePeriodIdx index in the TaxWithholdReportVoucher_TH table not to allow for duplicate records.

Affected Modules and Tables

Affected Modules

General ledger

Affected Tables

TaxWithholdReportVoucher_TH

Remarks

After updating the TaxWithholdPeriod surrogate key field with the value of the RecId field of the TaxWithholdPeriodHead_TH table, the DatePeriodIdx index is reset not to allow for duplicate records.