ReleaseUpdateDB60_Basic.allowDupTaxRegistration_CAAccountTypeIdx Method [AX 2012]

Updates the AccountTypeIdx index in the TaxRegistration_CA table to allow for duplicate records.

public void allowDupTaxRegistration_CAAccountTypeIdx()

Run On

Server

The BusinessNumber field is replaced with the new surrogate key field, the CompanyInfo field, in the unique AccountTypeIdx index.Initially this field contains no value. So the index is set to allow for duplicates before the field is updated with the value of the record ID field of the CompanyInfo table.After updating the surrogate key CompanyInfo field with the value of the record ID field of the CompanyInfo table, the AccountTypeIdx index is reset to disallow for duplicate records.

Community Additions

ADD
Show: