Compartilhar via


ReleaseUpdateDB60_Ledger.allowDupCustImportInvVendAcctSetup_IN Upgrade Script

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

Class

ReleaseUpdateDB60_Ledger

Method

allowDupCustImportInvVendAcctSetup_IN

Description

Updates the AccountNumIdx index in the CustomsComponentTaxCodes_IN table 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 CustomsImportInvoiceNumberTable surrogate key field in the unique AccountNumIdx 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 of the CustomsImportInvoiceVendAcctSetup_IN table.