ReleaseUpdateDB60_Ledger.allowDupCustImportInvVendAcctSetup_IN

Applies To: Microsoft Dynamics AX 2012 R3, Microsoft Dynamics AX 2012 R2

Class

ReleaseUpdateDB60_Ledger

Method

allowDupCustImportInvVendAcctSetup_IN

Description

Updates the index <c>AccountNumIdx</c> in the table <c>CustomsComponentTaxCodes_IN</c> to allow duplicate records.

Affected Modules and Tables

Affected Modules

General ledger

Affected Tables

CUSTOMSIMPORTINVOICEVENDACCTSETUP_IN

Remarks

The ImportInvoiceNumber field is replaced with the new surrogate key field CustomsImportInvoiceNumberTable in the unique index AccountNumIdx. 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 of the table CustomsImportInvoiceVendAcctSetup_IN.