Compartilhar via


ReleaseUpdateDB60_Ledger.allowDupLedgerGDPdUTableSelectionDataSou 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

allowDupLedgerGDPdUTableSelectionDataSou

Description

Updates the DataSourceIdx index in the LedgerGDPdUTableSelection table to allow for duplicate records.

Affected Modules and Tables

Affected Modules

General ledger

Affected Tables

LedgerGDPdUTableSelection

Remarks

The name of this method is truncated from allowDupLedgerGDPdUTableSelectionDataSourceIdx to allowDupLedgerGDPdUTableSelectionDataSou. The GDPdUGroupId field is replaced with the new LedgerGDPdUTable surrogate key field in the unique DataSourceIdx index. Initially, this field contains no value. Therefore, the index is set to allow for duplicate values before the field is updated with the value of the RecId field of the LedgerGDPdUTable table.