ALAppExtensions
ALAppExtensions copied to clipboard
[Event Request] OnAfterImportBankStatement event
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
- VAR parameter CBGStatement : Record "CBG Statement" table id -11400
- 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;`