Compartilhar via


ReleaseUpdateDB60_Ledger.allowDupCustomsInvRegJourTable_IN

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

allowDupCustomsInvRegJourTable_IN

Description

Updates the OrderIdInvoiceRegnIdx index in the CustomsInvoiceRegnJournalTable_IN table to allow for duplicate records.

Affected Modules and Tables

Affected Modules

Ledger

Affected Tables

CustomsInvoiceRegnJournalTable_IN

Remarks

The ImporterInvoiceNumber field is replaced with the new CustomsImportInvoiceNumberTable surrogate key field in the OrderIdInvoiceRegnIdx unique index. Initially the CustomsImportInvoiceNumberTable field contains no value. So the index is set to allow duplicates before the field is updated with the value of the RecId fields in the CustomsImportInvoiceNumberTable_IN table.