| Docs Help
  AppSource  
Docs  /  App  /  NAVAX Payment  /  Information for Developers

 Imports


2026/03/23 • 11 min. to read
The following page lists events that are intended to help you integrate with NAVAX Payment Payment Imports.

Codeunit - NCPI Import

  • OnBeforeFindAndOpenCustomFormatPage

    The event is triggered before the custom format page is opened. The event is triggered in the function "FindAndOpenCustomFormatPage" in the codeunit "NCPI Import".
    [IntegrationEvent(true, false)]
    local procedure OnBeforeFindAndOpenCustomFormatPage(NCPIImportCustFormat: Record "NCPI Import Cust. Format"; var IsHandled: Boolean)
    begin
    end;
    Type Name Description
    Record "NCPI Import Cust. Format" NCPIImportCustFormat The custom format record.
    Boolean IsHandled [Pass by Reference]
    Indicates if the vendor ledger entry is handled by custom code. The standard behavior will be skipped.
  • OnBeforeImportFile

    The event is triggered before the file is imported. The event is triggered in the function "ImportFile" in the codeunit "NCPI Import".
    [IntegrationEvent(true, false)]
    local procedure OnBeforeImportFile(GlobTempBlob: Codeunit "Temp Blob"; DefaultFileName: Text; WindowTitle: Text[250]; FilterString: Text[250]; var IsHandled: Boolean)
    begin
    end;
    Type Name Description
    Codeunit "Temp Blob" GlobTempBlob The temporary blob that holds the data.
    Text DefaultFileName The default file name.
    Text[250] WindowTitle The window title.
    Text[250] FilterString The filter string.
    Boolean IsHandled [Pass by Reference]
    Indicates if the vendor ledger entry is handled by custom code. The standard behavior will be skipped.
  • OnAfterImportFile

    The event is triggered after the file is imported. The event is triggered in the function "ImportFile" in the codeunit "NCPI Import".
    [IntegrationEvent(true, false)]
    local procedure OnAfterImportFile(GlobTempBlob: Codeunit "Temp Blob"; DefaultFileName: Text)
    begin
    end;
    Type Name Description
    Codeunit "Temp Blob" GlobTempBlob The temporary blob that holds the data.
    Text DefaultFileName The default file name.
  • OnBeforeInsertImport

    The event is triggered before the import is inserted. The event is triggered in the function "InsertImport" in the codeunit "NCPI Import".
    [IntegrationEvent(true, false)]
    local procedure OnBeforeInsertImport(NCPIImport: Record "NCPI Import")
    begin
    end;
    Type Name Description
    Record "NCPI Import" NCPIImport The import record.
  • OnAfterInsertImport

    The event is triggered after the import is inserted. The event is triggered in the function "InsertImport" in the codeunit "NCPI Import".
    [IntegrationEvent(true, false)]
    local procedure OnAfterInsertImport(NCPIImport: Record "NCPI Import")
    begin
    end;
    Type Name Description
    Record "NCPI Import" NCPIImport The import record.
  • OnBeforeImportDataSuggestBankAccount

    The event is triggered before the bank account is suggested. The event is triggered in the function "ImportDataSuggestBankAccount" in the codeunit "NCPI Import".
    [IntegrationEvent(true, false)]
    local procedure OnBeforeImportDataSuggestBankAccount(NCPIImportData: Record "NCPI Import Data"; var IsHandled: Boolean)
    begin
    end;
    Type Name Description
    Record "NCPI Import Data" NCPIImportData The import data record.
    Boolean IsHandled [Pass by Reference]
    Indicates if the vendor ledger entry is handled by custom code. The standard behavior will be skipped.
  • Codeunit - NCPI Import Delete Data

  • OnBeforeDeleteData

    The event is triggered before the data is deleted. The event is triggered in the function "DeleteData" in the codeunit "NCPI Import Delete Data".
    [IntegrationEvent(true, false)]
    procedure OnBeforeDeleteData(var SetDeleteArchivedFiles: Boolean; var SuppressError: Boolean; var SuppressConfirm: Boolean)
    begin
    end;
    Type Name Description
    Boolean SetDeleteArchivedFiles [Pass by Reference]
    Indicates if the archived files are deleted.
    Boolean SuppressError [Pass by Reference]
    Indicates if the error is suppressed.
    Boolean SuppressConfirm [Pass by Reference]
    Indicates if the confirmation is suppressed.
  • OnAfterGetEntriesToDeleteCounters

    The event is triggered after the entries to delete counters are retrieved. The event is triggered in the function "GetEntriesToDeleteCounters" in the codeunit "NCPI Import Delete Data".
    [IntegrationEvent(true, false)]
    procedure OnAfterGetEntriesToDeleteCounters(var ProgressDialog: Dialog; var TotalWindowCounter: Integer; var WindowCounter: Integer; var FromDate: Date; ToDate: Date)
    begin
    end;
    Type Name Description
    Dialog ProgressDialog The progress dialog.
    Integer TotalWindowCounter [Pass by Reference]
    The total window counter.
    Integer WindowCounter [Pass by Reference]
    The window counter.
    Date FromDate The from date.
    Date ToDate The to date.
  • OnAfterDeleteArchivedFilesOnBeforeUpdateNCPISetup

    The event is triggered after the archived files are deleted and before the NCPI setup is updated. The event is triggered in the function "DeleteArchivedFilesOnBeforeUpdateNCPISetup" in the codeunit "NCPI Import Delete Data".
    [IntegrationEvent(true, false)]
    procedure OnAfterDeleteArchivedFilesOnBeforeUpdateNCPISetup(var WindowCounter: Integer; TotalWindowCounter: Integer; var ProgressDialog: Dialog; var UpdateSetup: Boolean)
    begin
    end;
    Type Name Description
    Integer WindowCounter [Pass by Reference]
    The window counter.
    Integer TotalWindowCounter The total window counter.
    Dialog ProgressDialog The progress dialog.
    Boolean UpdateSetup [Pass by Reference]
    Indicates if the setup is updated.
  • Codeunit - NCPI Import Functions

  • OnBeforeJnlMatchAutomaticallyHandleImportAllocBufferAccountTypeCustomer

    The event is triggered before the journal is matched automatically for customer account type. The event is triggered in the function "JnlMatchAutomaticallyHandleImportAllocBufferAccountTypeCustomer" in the codeunit "NCPI Import Functions".
    [IntegrationEvent(false, false)]
    local procedure OnBeforeJnlMatchAutomaticallyHandleImportAllocBufferAccountTypeCustomer(CustLedgerEntry: Record "Cust. Ledger Entry"; TempNCPIImportAllocBuffer: Record "NCPI Import Alloc. Buffer" temporary; var GenJournalLine: Record "Gen. Journal Line"; var IsHandled: Boolean);
    begin
    end;
    Type Name Description
    Record "Cust. Ledger Entry" CustLedgerEntry The customer ledger entry record.
    Record "NCPI Import Alloc. Buffer" temporary TempNCPIImportAllocBuffer The temporary import allocation buffer record.
    Record "Gen. Journal Line" GenJournalLine The general journal line record.
    Boolean IsHandled [Pass by Reference]
    Indicates if the vendor ledger entry is handled by custom code. The standard behavior will be skipped.
  • OnBeforeJnlMatchAutomaticallyHandleImportAllocBufferAccountTypeVendor

    The event is triggered before the journal is matched automatically for vendor account type. The event is triggered in the function "JnlMatchAutomaticallyHandleImportAllocBufferAccountTypeVendor" in the codeunit "NCPI Import Functions".
    [IntegrationEvent(false, false)]
    local procedure OnBeforeJnlMatchAutomaticallyHandleImportAllocBufferAccountTypeVendor(VendorLedgerEntry: Record "Vendor Ledger Entry"; TempNCPIImportAllocBuffer: Record "NCPI Import Alloc. Buffer" temporary; var GenJournalLine: Record "Gen. Journal Line"; var IsHandled: Boolean);
    begin
    end;
    Type Name Description
    Record "Vendor Ledger Entry" VendorLedgerEntry The vendor ledger entry record.
    Record "NCPI Import Alloc. Buffer" temporary TempNCPIImportAllocBuffer The temporary import allocation buffer record.
    Record "Gen. Journal Line" GenJournalLine The general journal line record.
    Boolean IsHandled [Pass by Reference]
    Indicates if the vendor ledger entry is handled by custom code. The standard behavior will be skipped.
  • OnBeforeJnlMatchAutomaticallyHandleImportAllocBufferAccountTypeEmployee

    The event is triggered before the journal is matched automatically for employee account type. The event is triggered in the function "JnlMatchAutomaticallyHandleImportAllocBufferAccountTypeEmployee" in the codeunit "NCPI Import Functions".
    [IntegrationEvent(false, false)]
    local procedure OnAfterCheckOtherRelationsCustLedgerEntry(var TempRelationsNCPIImportAllocBuffer: Record "NCPI Import Alloc. Buffer" temporary; var TempCustNCPIImportRemittanceInfo: Record "NCPI Import Remittance Info." temporary; var Rating: Integer)
    begin
    end;
    Type Name Description
    Record "NCPI Import Alloc. Buffer" temporary TempRelationsNCPIImportAllocBuffer The temporary import allocation buffer record.
    Record "NCPI Import Remittance Info." temporary TempCustNCPIImportRemittanceInfo The temporary import remittance info record.
    Integer Rating The rating.
  • OnAfterCheckOtherRelationsVendorLedgerEntry

    The event is triggered after the other relations are checked for vendor ledger entry. The event is triggered in the function "CheckOtherRelationsVendorLedgerEntry" in the codeunit "NCPI Import Functions".
    [IntegrationEvent(false, false)]
    local procedure OnAfterCheckOtherRelationsVendorLedgerEntry(var TempRelationsNCPIImportAllocBuffer: Record "NCPI Import Alloc. Buffer" temporary; var TempVendorNCPIImportRemittanceInfo: Record "NCPI Import Remittance Info." temporary; var Rating: Integer)
    begin
    end;
    Type Name Description
    Record "NCPI Import Alloc. Buffer" temporary TempRelationsNCPIImportAllocBuffer The temporary import allocation buffer record.
    Record "NCPI Import Remittance Info." temporary TempVendorNCPIImportRemittanceInfo The temporary import remittance info record.
    Integer Rating The rating.
  • OnAfterCheckOtherRelationsEmployeeLedgerEntry

    The event is triggered after the other relations are checked for employee ledger entry. The event is triggered in the function "CheckOtherRelationsEmployeeLedgerEntry" in the codeunit "NCPI Import Functions".
    [IntegrationEvent(false, false)]
    local procedure OnAfterCheckOtherRelationsEmployeeLedgerEntry(var TempRelationsNCPIImportAllocBuffer: Record "NCPI Import Alloc. Buffer" temporary; var TempEmployeeNCPIImportRemittanceInfo: Record "NCPI Import Remittance Info." temporary; var Rating: Integer)
    begin
    end;
    Type Name Description
    Record "NCPI Import Alloc. Buffer" temporary TempRelationsNCPIImportAllocBuffer The temporary import allocation buffer record.
    Record "NCPI Import Remittance Info." temporary TempEmployeeNCPIImportRemittanceInfo The temporary import remittance info record.
    Integer Rating The rating.
  • OnCheckStrongRelationsCustLedgEntryNotFound

    The event is triggered when the strong relation check for customer ledger entry does not find any entry. The event is triggered in the function "CheckStrongRelationsCustLedgEntryNotFound" in the codeunit "NCPI Import Functions".
       
    [IntegrationEvent(false, false)]
    local procedure OnCheckStrongRelationsCustLedgEntryNotFound(var SourceNCPIImportAllocBuffer: Record "NCPI Import Alloc. Buffer" temporary; var TempEntriesNCPIImportAllocBuffer: Record "NCPI Import Alloc. Buffer" temporary; var CustLedgerEntry: Record "Cust. Ledger Entry"; var PaymentRefFound: Boolean)
    begin
    end;
    Type Name Description
    Record "NCPI Import Alloc. Buffer" temporary SourceNCPIImportAllocBuffer The source temporary import allocation buffer record.
    Record "NCPI Import Alloc. Buffer" temporary TempEntriesNCPIImportAllocBuffer The temporary import allocation buffer record that holds the entries to check.
    Record "Cust. Ledger Entry" CustLedgerEntry The customer ledger entry record.
    Boolean PaymentRefFound [Pass by Reference]
    Indicates if the payment reference is found.
  • OnCheckStrongRelationsVendorLedgEntryNotFound

    The event is triggered when the strong relation check for vendor ledger entry does not find any entry. The event is triggered in the function "CheckStrongRelationsVendorLedgEntryNotFound" in the codeunit "NCPI Import Functions".
    [IntegrationEvent(false, false)]
    local procedure OnCheckStrongRelationsVendorLedgEntryNotFound(var SourceNCPIImportAllocBuffer: Record "NCPI Import Alloc. Buffer" temporary; var TempEntriesNCPIImportAllocBuffer: Record "NCPI Import Alloc. Buffer" temporary; var VendorLedgerEntry: Record "Vendor Ledger Entry"; var PaymentRefFound: Boolean)
    begin
    end;
    Type Name Description
    Record "NCPI Import Alloc. Buffer" temporary SourceNCPIImportAllocBuffer The source temporary import allocation buffer record.
    Record "NCPI Import Alloc. Buffer" temporary TempEntriesNCPIImportAllocBuffer The temporary import allocation buffer record that holds the entries to check.
    Record "Vendor Ledger Entry" VendorLedgerEntry The vendor ledger entry record.
    Boolean PaymentRefFound [Pass by Reference]
    Indicates if the payment reference is found.
  • OnCheckStrongRelationsEmployeeLedgEntryNotFound

    The event is triggered when the strong relation check for employee ledger entry does not find any entry. The event is triggered in the function "CheckStrongRelationsEmployeeLedgEntryNotFound" in the codeunit "NCPI Import Functions".
    [IntegrationEvent(false, false)]
    local procedure OnCheckStrongRelationsEmployeeLedgEntryNotFound(var SourceNCPIImportAllocBuffer: Record "NCPI Import Alloc. Buffer" temporary; var TempEntriesNCPIImportAllocBuffer: Record "NCPI Import Alloc. Buffer" temporary; var EmployeeLedgerEntry: Record "Employee Ledger Entry"; var PaymentRefFound: Boolean)
    begin
    end;
    Type Name Description
    Record "NCPI Import Alloc. Buffer" temporary SourceNCPIImportAllocBuffer The source temporary import allocation buffer record.
    Record "NCPI Import Alloc. Buffer" temporary TempEntriesNCPIImportAllocBuffer The temporary import allocation buffer record that holds the entries to check.
    Record "Employee Ledger Entry" EmployeeLedgerEntry The employee ledger entry record.
    Boolean PaymentRefFound [Pass by Reference]
    Indicates if the payment reference is found.
  • Codeunit - NCPI Online

  • OnDownloadContentUnknownAddressIndex

    The event is triggered when the content is downloaded for an unknown address index. The event is triggered in the function "DownloadContentUnknownAddressIndex" in the codeunit "NCPI Online".
    [IntegrationEvent(false, false)]
    local procedure OnDownloadContentUnknownAddressIndex(var TempBlob: Codeunit "Temp Blob"; AddressIndex: Integer)
    begin
    end;
    Type Name Description
    Codeunit "Temp Blob" TempBlob The temporary blob that holds the data.
    Integer AddressIndex The address index.

  • Related information




    Submit feedback for
    DE|EN Imprint