You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add event publisher to codeunit 10637 "Import CAMT054" and the procedure HandleTransaction.
procedure HandleTransaction(XmlNodeTransactionEntry: XmlNode)
var
WaitingJournal: Record "Waiting Journal";
AmtDtlsGenJournalLine: Record "Gen. Journal Line";
OriginalMsgId: Text;
OriginalPmtInfId: Text;
OriginalEndToEndId: Text;
TransactionStatus: Text;
IsHandled: Boolean;
begin
GetTransactionInfo(
XmlNodeTransactionEntry, OriginalMsgId, OriginalPmtInfId, OriginalEndToEndId, TransactionStatus);
WaitingJournal.Reset();
WaitingJournal.SetFilter("SEPA Msg. ID", OriginalMsgId);
WaitingJournal.SetFilter("SEPA Payment Inf ID", OriginalPmtInfId);
WaitingJournal.SetFilter("SEPA End To End ID", OriginalEndToEndId);
OnSetWaitingJournalFiltersOnBeforeWaitingJournalFindFirst(WaitingJournal, XmlNodeTransactionEntry, OriginalMsgId, OriginalPmtInfId, OriginalEndToEndId, TransactionStatus, IsHandled);
if IsHandled then
exit;
...
[IntegrationEvent(false, false)]
local procedure OnSetWaitingJournalFiltersOnBeforeWaitingJournalFindFirst(var WaitingJournal: Record "Waiting Journal"; var XmlNodeTransactionEntry: XmlNode; var OriginalMsgId: Text; var OriginalPmtInfId: Text; var OriginalEndToEndId: Text; var TransactionStatus: Text; var IsHandled: Boolean)
begin
end;
Additional context
This is neede to be able to handle transaction types other than payment to vendor from the bank. The customer does not want to import all the return transaction types from the bank, they only want to import the vendor payments.
Internal work item: AB#561099
The text was updated successfully, but these errors were encountered:
Describe the request
Add event publisher to codeunit 10637 "Import CAMT054" and the procedure HandleTransaction.
...
Additional context
This is neede to be able to handle transaction types other than payment to vendor from the bank. The customer does not want to import all the return transaction types from the bank, they only want to import the vendor payments.
Internal work item: AB#561099
The text was updated successfully, but these errors were encountered: