title: ReleaseUpdateDB60_Ledger.allowDupTaxLedAccSetupGrpCodeNum_IN Upgrade Script TOCTitle: ReleaseUpdateDB60_Ledger.allowDupTaxLedAccSetupGrpCodeNum_IN Upgrade Script ms:assetid: 2057d08d-a3e0-e69e-e002-fb98a5d9c288 ms:mtpsurl: https://msdn.microsoft.com/en-us/library/JJ684885(v=AX.60) ms:contentKeyID: 49707088 ms.date: 05/18/2015 mtps_version: v=AX.60
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 |
allowDupTaxLedAccSetupGrpCodeNum_IN |
Description |
Updates the GroupCodeNumIdx index in the TaxLedgerAccountSetup_IN table to allow for duplicate records. |
Affected Modules |
---|
General ledger |
Affected Tables |
---|
TaxLedgerAccountSetup_IN |
The TaxAccountGroup and RegistrationNumber fields are replaced with the new TaxLedgerAccountGroup and TaxRegistrationNumberTable surrogate key field in the GroupCodeNumIdx unique index. Initially these fields contains no value. So the index is set to allow for duplicates before the field is updated with the value of the record ID fields in the TaxLedgerAccountGroup_IN and TaxRegistrationNumberTable_IN tables.