ReleaseUpdateDB60_Ledger.allowDupIncentiveSchemeData_IN 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_Ledger

Method

allowDupIncentiveSchemeData_IN

Description

Updates the IncentiveSchemeIdx index in the EximIncentiveSchemeData_IN table to allow for duplicate records.

Affected Modules and Tables

Affected Modules

Ledger

Affected Tables

EximIncentiveSchemeData_IN

Remarks

The Incentive scheme group is replaced with the new Reference and EximIncentiveSchemeGroup surrogate key fields in the IncentiveSchemeIdx unique index. Initially the EximIncentiveSchemeGroup 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 fields in the EximIncentiveSchemeGroup_IN table.