title: ReleaseUpdateDB60_Ledger.allowDupTaxLedgerAccountSetup_INLedgerAc Upgrade Script TOCTitle: ReleaseUpdateDB60_Ledger.allowDupTaxLedgerAccountSetup_INLedgerAc Upgrade Script ms:assetid: a7a7118a-8e2f-9fce-33de-5c0a4485c6ca ms:mtpsurl: https://msdn.microsoft.com/en-us/library/JJ686370(v=AX.60) ms:contentKeyID: 49710326 ms.date: 05/18/2015 mtps_version: v=AX.60
Applies To: Microsoft Dynamics AX 2012 R3, Microsoft Dynamics AX 2012 R2
Class |
ReleaseUpdateDB60_Ledger |
Method |
allowDupTaxLedgerAccountSetup_INLedgerAc |
Description |
Updates the GroupCodeNumIdx index in the TaxLedgerAccountSetup_IN table to allow 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 fields in the unique GroupCodeNumIdx index. Initially these fields contain no value. So the index is set to allow duplicates before the field is updated with the value of the RecId fields of the TaxLedgerAccountGroup_IN and TaxRegistrationNumberTable_IN tables.