ReleaseUpdateDB60_Invent.allowDupInvtFsclLIFOJrnllTrnsAdjGrpIdx 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_Invent

Method

allowDupInvtFsclLIFOJrnllTrnsAdjGrpIdx

Description

Updates the GroupItemYearIdx index in the InventFiscalLIFOJournalTransAdj table to allow for duplicate records.

Affected Modules and Tables

Affected Modules

General ledger

Affected Tables

InventFiscalLIFOJournalTransAdj

Remarks

The name of this method is truncated from allowDupInventFiscalLIFOJournalTransAdjGroupItemYearIdx. The FiscalLIFOGroupId field is replaced with the new surrogate key InventFiscalLIFOGroup field in the unique GroupItemYearIdx index. Initially, this field contains no value. Therefore, the index is set to allow for duplicates before the field is updated with the value of the RecId field of the InventFiscalLIFOGroup table.