Codeunit "SEPA CT-Fill Export Buffer"
Populates the payment export data buffer with information from general journal lines for SEPA credit transfer processing. Formats and validates data for XML export compliance.
Properties
| Name | Value |
|---|---|
| Permissions | TableData "Payment Export Data" = rimd |
| TableNo | Table Microsoft.Bank.Payment."Payment Export Data" |
Methods
FillExportBuffer
Fills the payment export data buffer with information from general journal lines for SEPA credit transfer. Validates journal lines, retrieves bank account and recipient information, and formats data according to SEPA credit transfer standards for XML export processing.
procedure FillExportBuffer(var GenJnlLine: Record "Gen. Journal Line", var PaymentExportData: Record "Payment Export Data")
Parameters
| Name | Type | Description |
|---|---|---|
| GenJnlLine | Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line" |
General journal lines containing payment data to export |
| PaymentExportData | Table Microsoft.Bank.Payment."Payment Export Data" |
Payment export data buffer to populate with formatted export data |
Events
OnAfterCreateNewCreditTransferEntry
Integration event raised after creating new credit transfer entry during export buffer processing. Enables custom processing or field updates after credit transfer entry creation.
[IntegrationEvent(False,False)]
local procedure OnAfterCreateNewCreditTransferEntry(var PaymentExportData: Record "Payment Export Data", var CreditTransferEntry: Record "Credit Transfer Entry", var TempGenJnlLine: Record "Gen. Journal Line" temporary)
Parameters
| Name | Type | Description |
|---|---|---|
| PaymentExportData | Table Microsoft.Bank.Payment."Payment Export Data" |
Payment export data record being processed |
| CreditTransferEntry | Table Microsoft.Bank.Payment."Credit Transfer Entry" |
Credit transfer entry that was created |
| TempGenJnlLine | Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line" |
Temporary general journal line providing source data |
Remarks
Raised from FillExportBuffer procedure after creating credit transfer entry.
OnAfterFillExportBuffer
Integration event raised after completing export buffer processing for SEPA credit transfer. Enables final custom processing or validation after all export data has been populated.
[IntegrationEvent(False,False)]
local procedure OnAfterFillExportBuffer(var PaymentExportData: Record "Payment Export Data", BankExportImportSetup: Record "Bank Export/Import Setup")
Parameters
| Name | Type | Description |
|---|---|---|
| PaymentExportData | Table Microsoft.Bank.Payment."Payment Export Data" |
Payment export data that was processed |
| BankExportImportSetup | Table Microsoft.Bank.Setup."Bank Export/Import Setup" |
Bank export/import setup used for processing |
Remarks
Raised from FillExportBuffer procedure after completing all export buffer operations.
OnFillExportBufferOnAfterGetMessageID
Integration event raised after generating message ID during export buffer processing. Enables custom message ID generation or modification.
[IntegrationEvent(False,False)]
local procedure OnFillExportBufferOnAfterGetMessageID(var TempGenJnlLine: Record "Gen. Journal Line" temporary, var MessageID: Code[20])
Parameters
| Name | Type | Description |
|---|---|---|
| TempGenJnlLine | Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line" |
Temporary general journal line being processed |
| MessageID | Code[20] |
Message ID that was generated |
Remarks
Raised from FillExportBuffer procedure after determining message ID for export.
OnFillExportBufferOnAfterCreateNewRegister
Integration event raised after creating new credit transfer register during export processing. Enables custom processing or field updates after register creation.
[IntegrationEvent(False,False)]
local procedure OnFillExportBufferOnAfterCreateNewRegister(var CreditTransferRegister: Record "Credit Transfer Register", var BankExportImportSetup: Record "Bank Export/Import Setup")
Parameters
| Name | Type | Description |
|---|---|---|
| CreditTransferRegister | Table Microsoft.Bank.Payment."Credit Transfer Register" |
Credit transfer register that was created |
| BankExportImportSetup | Table Microsoft.Bank.Setup."Bank Export/Import Setup" |
Bank export/import setup used for processing |
Remarks
Raised from FillExportBuffer procedure after creating credit transfer register.
OnFillExportBufferOnAfterSetCustomerAsRecipient
[IntegrationEvent(False,False)]
local procedure OnFillExportBufferOnAfterSetCustomerAsRecipient(var PaymentExportData: Record "Payment Export Data", var TempGenJnlLine: Record "Gen. Journal Line" temporary, Customer: Record Customer, CustomerBankAccount: Record "Customer Bank Account")
Parameters
| Name | Type | Description |
|---|---|---|
| PaymentExportData | Table Microsoft.Bank.Payment."Payment Export Data" | |
| TempGenJnlLine | Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line" | |
| Customer | Table Microsoft.Sales.Customer.Customer | |
| CustomerBankAccount | Table Microsoft.Sales.Customer."Customer Bank Account" |
OnFillExportBufferOnAfterSetVendorAsRecipient
[IntegrationEvent(False,False)]
local procedure OnFillExportBufferOnAfterSetVendorAsRecipient(var PaymentExportData: Record "Payment Export Data", var TempGenJnlLine: Record "Gen. Journal Line" temporary, Vendor: Record Vendor, VendorBankAccount: Record "Vendor Bank Account")
Parameters
| Name | Type | Description |
|---|---|---|
| PaymentExportData | Table Microsoft.Bank.Payment."Payment Export Data" | |
| TempGenJnlLine | Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line" | |
| Vendor | Table Microsoft.Purchases.Vendor.Vendor | |
| VendorBankAccount | Table Microsoft.Purchases.Vendor."Vendor Bank Account" |
OnFillExportBufferOnAfterSetBankAsRecipient
[IntegrationEvent(False,False)]
local procedure OnFillExportBufferOnAfterSetBankAsRecipient(var PaymentExportData: Record "Payment Export Data", var TempGenJnlLine: Record "Gen. Journal Line" temporary, BankAccount: Record "Bank Account")
Parameters
| Name | Type | Description |
|---|---|---|
| PaymentExportData | Table Microsoft.Bank.Payment."Payment Export Data" | |
| TempGenJnlLine | Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line" | |
| BankAccount | Table Microsoft.Bank.BankAccount."Bank Account" |
OnFillExportBufferOnAfterInsertPaymentExportData
[IntegrationEvent(False,False)]
local procedure OnFillExportBufferOnAfterInsertPaymentExportData(var PaymentExportData: Record "Payment Export Data", var TempGenJnlLine: Record "Gen. Journal Line" temporary, BankExportImportSetup: Record "Bank Export/Import Setup")
Parameters
| Name | Type | Description |
|---|---|---|
| PaymentExportData | Table Microsoft.Bank.Payment."Payment Export Data" | |
| TempGenJnlLine | Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line" | |
| BankExportImportSetup | Table Microsoft.Bank.Setup."Bank Export/Import Setup" |
OnFillExportBufferOnBeforeInsertPaymentExportData
[IntegrationEvent(False,False)]
local procedure OnFillExportBufferOnBeforeInsertPaymentExportData(var PaymentExportData: Record "Payment Export Data", var TempGenJnlLine: Record "Gen. Journal Line" temporary)
Parameters
| Name | Type | Description |
|---|---|---|
| PaymentExportData | Table Microsoft.Bank.Payment."Payment Export Data" | |
| TempGenJnlLine | Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line" |
OnFillExportBufferOnSetAsRecipient
[IntegrationEvent(False,False)]
local procedure OnFillExportBufferOnSetAsRecipient(var GenJnlLine: Record "Gen. Journal Line", var PaymentExportData: Record "Payment Export Data", var TempGenJnlLine: Record "Gen. Journal Line" temporary, var CreditTransferRegister: Record "Credit Transfer Register")
Parameters
| Name | Type | Description |
|---|---|---|
| GenJnlLine | Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line" | |
| PaymentExportData | Table Microsoft.Bank.Payment."Payment Export Data" | |
| TempGenJnlLine | Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line" | |
| CreditTransferRegister | Table Microsoft.Bank.Payment."Credit Transfer Register" |
OnGetAppliesToDocEntryNumbersCaseElse
[IntegrationEvent(False,False)]
local procedure OnGetAppliesToDocEntryNumbersCaseElse(var GenJournalLine: Record "Gen. Journal Line", var TempInteger: Record Integer temporary, AccNo: Code[20])
Parameters
| Name | Type | Description |
|---|---|---|
| GenJournalLine | Table Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Line" | |
| TempInteger | Table System.Utilities.Integer | |
| AccNo | Code[20] |