-
Notifications
You must be signed in to change notification settings - Fork 674
Closed
Labels
FinanceGitHub request for Finance areaGitHub request for Finance areaevent-requestRequest for adding an eventRequest for adding an eventships-in-future-updateFix ships in a future updateFix ships in a future update
Description
Describe the request
Please add new event
procedure "Code"(var BankAccReconciliationLine: Record "Bank Acc. Reconciliation Line"; Overwrite: Boolean)
//----------------------------------------OnCodeOnBeforeNotifyIfEntriesMatchedElsewhere:BEGIN
var
IsHandled: Boolean;
//----------------------------------------OnCodeOnBeforeNotifyIfEntriesMatchedElsewhere:END
begin
if BankAccReconciliationLine.IsEmpty() then
exit;
MapLedgerEntriesToStatementLines(BankAccReconciliationLine, Overwrite, ApplyEntries);
if ApplyEntries then begin
ApplyLedgerEntriesToStatementLines(BankAccReconciliationLine, Overwrite);
//----------------------------------------OnCodeOnBeforeNotifyIfEntriesMatchedElsewhere:BEGIN
IsHandled := false;
OnCodeOnBeforeNotifyIfEntriesMatchedElsewhere(BankAccReconciliationLine, IsHandled);
if not IsHandled then
//----------------------------------------OnCodeOnBeforeNotifyIfEntriesMatchedElsewhere:END
NotifyIfEntriesMatchedElsewhere(BankAccReconciliationLine);
end;
end;
//----------------------------------------OnCodeOnBeforeNotifyIfEntriesMatchedElsewhere:BEGIN
[IntegrationEvent(true, false)]
local procedure OnCodeOnBeforeNotifyIfEntriesMatchedElsewhere(var BankAccReconciliationLine: Record "Bank Acc. Reconciliation Line"; var IsHandled: Boolean)
begin
end;
//----------------------------------------OnCodeOnBeforeNotifyIfEntriesMatchedElsewhere:END
Additional context
we need option how to skip NotifyIfEntriesMatchedElsewhere function.
Internal work item: AB#562600
Metadata
Metadata
Assignees
Labels
FinanceGitHub request for Finance areaGitHub request for Finance areaevent-requestRequest for adding an eventRequest for adding an eventships-in-future-updateFix ships in a future updateFix ships in a future update