ALAppExtensions icon indicating copy to clipboard operation
ALAppExtensions copied to clipboard

[Event Request] OnAfterImportBankStatement event

Open GregoryAA opened this issue 7 years ago • 0 comments

Dear ALAppExtensions team,

Through this issue we would like to request the following event-publisher to be added in codeunit 11404 Import SEPA CAMP (NL localizations object)

LOCAL [IntegrationEvent] OnAfterImportBankStatement(VAR CBGStatement : Record "CBG Statement"; ImportProtocol: Record "Import Protocol")

including

  1. VAR parameter CBGStatement : Record "CBG Statement" table id -11400
  2. parameter ImportProtocol: Record "Import Protocol" table id - 11000007

This event would be called in the OnRun trigger of codeunit 11404 Import SEPA CAMP as follows:

`OnRun() IF NOT ImportProtocolMgt.GetCurrentImportprotocol(ImportProtocol) THEN EXIT;

ImportBankStatement(CBGStatement,ImportProtocol."Bank Account No.");

//new event call>> OnAfterImportBankStatement(CBGStatement, ImportProtocol); //new event call<<

IF ImportProtocol."Automatic Reconciliation" THEN BEGIN CBGStatementReconciliation.SetHideMessages(TRUE); CBGStatementReconciliation.MatchCBGStatement(CBGStatement); END;`

GregoryAA avatar Feb 27 '19 21:02 GregoryAA