ReleaseUpdateDB60_Ledger.allowDupCustomsInvRegJourTable_IN Method [AX 2012]
Updates the index OrderIdInvoiceRegnIdx in the table CustomsInvoiceRegnJournalTable_IN to allow duplicate records.
Syntax
public void allowDupCustomsInvRegJourTable_IN()
Run On
Server
Remarks
The ImporterInvoiceNumber field is replaced with the new surrogate key field CustomsImportInvoiceNumberTable in the unique index OrderIdInvoiceRegnIdx. 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 CustomsImportInvoiceNumberTable_IN.