Share via


ReleaseUpdateDB60_Ledger.allowDupTaxLedgerAccounts_INLedgerAccoun Method [AX 2012]

Updates the index GroupCodeNumTypeComponentIdx in the table TaxLedgerAccounts_IN to allow duplicate records.

Syntax

public void allowDupTaxLedgerAccounts_INLedgerAccoun()

Run On

Server

Remarks

The TaxAccountGroup, AccountCode and RegistrationNumber fields are replaced with the new surrogate key field TaxLedgerAccountSetup in the unique index GroupCodeNumTypeComponentIdx.

Also, the Component and LedgerAccount fields are replaced with the Rec Ids of TaxComponentTable_IN and DimensionAttributeValueComibation tables. Initially these fields contains no values. So the index is set to allow duplicates before the field is updated with the value of the RecId's of the corresponding tables.

See Also

Reference

ReleaseUpdateDB60_Ledger Class