Share via


ReleaseUpdateDB60_Basic.allowDupAddressCountryRegionBLWICountryR 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_Basic

Method

allowDupAddressCountryRegionBLWICountryR

Description

Updates the CountryRegionIdx index in the AddressCountryRegionBLWI table to allow duplicate records.

Affected Modules and Tables

Affected Modules

Basic

Affected Tables

AddressCountryRegionBLWI

Remarks

This is a truncated method name from the allowDupAddressCountryRegionBLWICountryRegionIdx method. The GroupId field is replaced with the new AddressCountryRegionGroupBLWI surrogate key field in the CountryRegionIdx unique index. At first, this field contains no value. So the index is set to allow duplicates before the field is updated with the value of the record ID field of the AddressCountryRegionGroupBLWI table.