Table of Contents

KVSMEDPaymentReconciliationMgt

Events

OnBeforeFillExternalDocumentNos(Record Bank Acc. Reconciliation Line, Boolean) :

Summary: Raised before the external document numbers of all lines of a payment reconciliation journal are filled.

[IntegrationEvent(false, false)]
local procedure OnBeforeFillExternalDocumentNos(var BankAccReconciliationLine: Record "Bank Acc. Reconciliation Line"; var IsHandled: Boolean): 

Parameters:

  • BankAccReconciliationLine: Lines of the journal, filtered by statement type, bank account and statement no. Additional filters restrict the processed lines.
  • IsHandled: Set to true to skip the standard filling and the completion message.

OnAfterFillExternalDocumentNos(Record Bank Acc. Reconciliation Line, Integer, Integer) :

Summary: Raised after the external document numbers of the journal lines were filled, before the completion message is shown.

[IntegrationEvent(false, false)]
local procedure OnAfterFillExternalDocumentNos(BankAccReconciliationLine: Record "Bank Acc. Reconciliation Line"; ExaminedLineCount: Integer; UpdatedLineCount: Integer): 

Parameters:

  • BankAccReconciliationLine: Processed lines of the journal with their filters.
  • ExaminedLineCount: Number of examined lines.
  • UpdatedLineCount: Number of lines whose external document no. was filled.

OnBeforeFillExternalDocumentNo(Record Bank Acc. Reconciliation Line, Boolean, Boolean) :

Summary: Raised before the external document no. of a single journal line is determined. Not raised for lines that already have a value.

[IntegrationEvent(false, false)]
local procedure OnBeforeFillExternalDocumentNo(var BankAccReconciliationLine: Record "Bank Acc. Reconciliation Line"; var Updated: Boolean; var IsHandled: Boolean): 

Parameters:

  • BankAccReconciliationLine: Journal line to fill. A subscriber that fills the line must modify it.
  • Updated: Set to true if the subscriber filled the line, so that it is counted as updated.
  • IsHandled: Set to true to skip the standard search in the transaction text.

OnAfterFillExternalDocumentNo(Record Bank Acc. Reconciliation Line, Boolean) :

Summary: Raised for each examined journal line after its external document no. was determined.

[IntegrationEvent(false, false)]
local procedure OnAfterFillExternalDocumentNo(var BankAccReconciliationLine: Record "Bank Acc. Reconciliation Line"; Updated: Boolean): 

Parameters:

  • BankAccReconciliationLine: Examined journal line.
  • Updated: True if the external document no. of the line was filled.

OnBeforeFindSalesInvoiceNo(Text, List, Code[20], Boolean) :

[IntegrationEvent(false, false)]
local procedure OnBeforeFindSalesInvoiceNo(TransactionText: Text; var NumberTemplates: List; var SalesInvoiceNo: Code[20]; var IsHandled: Boolean): 

OnAfterFindSalesInvoiceNo(Text, Code[20]) :

Summary: Raised after the posted sales invoice no. was searched for in the transaction text.

[IntegrationEvent(false, false)]
local procedure OnAfterFindSalesInvoiceNo(TransactionText: Text; var SalesInvoiceNo: Code[20]): 

Parameters:

  • TransactionText: Transaction text of the journal line.
  • SalesInvoiceNo: Found posted sales invoice no., empty if none was found. Can be changed.

OnAfterCheckInvoiceCandidate(Text, Integer, Code[20], Boolean) :

Summary: Raised for each text part that matches a number pattern, after it was checked against the posted sales invoices.

[IntegrationEvent(false, false)]
local procedure OnAfterCheckInvoiceCandidate(TransactionText: Text; TextPosition: Integer; CandidateNo: Code[20]; var IsValid: Boolean): 

Parameters:

  • TransactionText: Transaction text in upper case without leading and trailing spaces.
  • TextPosition: Position of the candidate in the transaction text.
  • CandidateNo: Candidate invoice no.
  • IsValid: True if a posted sales invoice with this no. exists. The first valid candidate is used.

OnAfterGetNumberTemplates(Record Sales & Receivables Setup, List) :

[IntegrationEvent(false, false)]
local procedure OnAfterGetNumberTemplates(SalesReceivablesSetup: Record "Sales & Receivables Setup"; var NumberTemplates: List): 

OnBeforeSetPostingContext(Record Bank Acc. Reconciliation Line, Code[10], Code[20], Code[35], Boolean) :

Summary: Raised before the posting context of a customer payment reconciliation line is stored. The context provides the external document no. for customer ledger entries posted without it, for example by Continia Banking.

[IntegrationEvent(false, false)]
local procedure OnBeforeSetPostingContext(BankAccReconciliationLine: Record "Bank Acc. Reconciliation Line"; SourceCode: Code[10]; var CustomerNo: Code[20]; var ExternalDocumentNo: Code[35]; var IsHandled: Boolean): 

Parameters:

  • BankAccReconciliationLine: Payment reconciliation line being posted.
  • SourceCode: Source code of the posting.
  • CustomerNo: Customer no. stored in the context. Can be changed.
  • ExternalDocumentNo: External document no. stored in the context. Can be changed.
  • IsHandled: Set to true to store no context for this line.

OnBeforeTransferExternalDocumentNo(Record Cust. Ledger Entry, Record Gen. Journal Line, Code[35], Boolean) :

Summary: Raised before the external document no. of the posting context is transferred to a new payment or refund customer ledger entry without external document no.

[IntegrationEvent(false, false)]
local procedure OnBeforeTransferExternalDocumentNo(var CustLedgerEntry: Record "Cust. Ledger Entry"; GenJournalLine: Record "Gen. Journal Line"; var ExternalDocumentNo: Code[35]; var IsHandled: Boolean): 

Parameters:

  • CustLedgerEntry: Customer ledger entry before it is inserted.
  • GenJournalLine: Journal line being posted.
  • ExternalDocumentNo: External document no. from the posting context. Can be changed.
  • IsHandled: Set to true to skip the transfer.

OnAfterTransferExternalDocumentNo(Record Cust. Ledger Entry, Record Gen. Journal Line) :

Summary: Raised after the external document no. of the posting context was transferred to the customer ledger entry.

[IntegrationEvent(false, false)]
local procedure OnAfterTransferExternalDocumentNo(var CustLedgerEntry: Record "Cust. Ledger Entry"; GenJournalLine: Record "Gen. Journal Line"): 

Parameters:

  • CustLedgerEntry: Customer ledger entry before it is inserted.
  • GenJournalLine: Journal line being posted.