Share via


ReleaseUpdateDB60_Vend.allowDupCustomsImpInvVendAccSetup_IN 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_Vend

Method

allowDupCustomsImpInvVendAccSetup_IN

Description

Updates the AccountNumIdx index in the CustomsImportInvoiceVendAcctSetup_IN table to allow for duplicate records.

Affected Modules and Tables

Affected Modules

Accounts payable

Affected Tables

CustomsImportInvoiceVendAcctSetup_IN

Remarks

The ImportInvoiceNumber field is replaced with the new surrogate key field reference in the AccountNumIdx unique index. Initially the CustomsImportInvoiceNumberTable field contains no value. So the index is set to allow for duplicates before the field is updated with the value of the record ID field of the CustomsImportInvoiceNumberTable_IN table.