ReleaseUpdateDB60_Basic.allowDupIntrastatArchiveDetailArchIdx 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

allowDupIntrastatArchiveDetailArchIdx

Description

Updates the ArchIdx index in the IntrastatArchiveDetail table to allow duplicate records.

Affected Modules and Tables

Affected Modules

Basic

Affected Tables

IntrastatArchiveDetail

Remarks

The IntrastatArchiveId field is replaced with the new IntrastatArchiveGeneral surrogate key field in the unique ArchIdx index. Initially 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 IntrastatArchiveGeneral table.