Codeunit 18123343 EOS Cust.CT-Fill Export Buffer
Codeunit 18123343 EOS Cust.CT-Fill Export Buffer
Methods
FillExportBuffer
procedure FillExportBuffer(var GenJnlLine: Record "Gen. Journal Line"; var PaymentExportData: Record "Payment Export Data"; SEPAFormat: Option pain,CBI,AMC)
Parameters / Return Value
GenJnlLine
Record "Gen. Journal Line"
PaymentExportData
Record "Payment Export Data"
SEPAFormat
Option
pain
(0) ,CBI
(1) ,AMC
(2)
Events
OnAfterCreateNewCreditTransferEntry
local procedure OnAfterCreateNewCreditTransferEntry(var PaymentExportData: Record "Payment Export Data"; var CreditTransferEntry: Record "Credit Transfer Entry"; var TempGenJnlLine: Record "Gen. Journal Line" temporary)
Integration event that is triggered after a new Credit Transfer Entry has been created.
Parameters / Return Value
PaymentExportData
Record "Payment Export Data"
The Payment Export Data record associated with the export process.
CreditTransferEntry
Record "Credit Transfer Entry"
The Credit Transfer Entry record that has been created.
TempGenJnlLine
Record "Gen. Journal Line"
A temporary Gen. Journal Line record related to the transaction.
OnAfterFillExportBuffer
local procedure OnAfterFillExportBuffer(var PaymentExportData: Record "Payment Export Data"; BankExportImportSetup: Record "Bank Export/Import Setup")
Integration event that is triggered after the export buffer has been filled with payment export data.
Parameters / Return Value
PaymentExportData
Record "Payment Export Data"
The payment export data record that has been filled.
BankExportImportSetup
Record "Bank Export/Import Setup"
The bank export/import setup record used during the process.
OnFillExportBufferOnAfterGetMessageID
local procedure OnFillExportBufferOnAfterGetMessageID(var TempGenJnlLine: Record "Gen. Journal Line" temporary; var MessageID: code[20])
Integration event that is triggered after obtaining the MessageID during the process of filling the export buffer.
Parameters / Return Value
TempGenJnlLine
Record "Gen. Journal Line"
Temporary record of type “Gen. Journal Line” that can be modified by the event subscriber.
MessageID
code[20]
The MessageID (Code[20]) that can be modified by the event subscriber.
OnFillExportBufferOnAfterCreateNewRegister
local procedure OnFillExportBufferOnAfterCreateNewRegister(var CreditTransferRegister: Record "Credit Transfer Register"; var BankExportImportSetup: Record "Bank Export/Import Setup")
Integration event that is triggered after a new Credit Transfer Register record is created during the export buffer fill process.
Parameters / Return Value
CreditTransferRegister
Record "Credit Transfer Register"
The Credit Transfer Register record that was created.
BankExportImportSetup
Record "Bank Export/Import Setup"
The Bank Export/Import Setup record associated with the operation.
OnGetAppliesToDocEntryNumbersCaseElse
local procedure OnGetAppliesToDocEntryNumbersCaseElse(var GenJournalLine: Record "Gen. Journal Line"; var TempInteger: Record Integer temporary; AccNo: Code[20])
Integration event triggered to handle custom logic for retrieving “Applies-To Doc. Entry Numbers” in cases not covered by standard logic.
Parameters / Return Value
GenJournalLine
Record "Gen. Journal Line"
The general journal line record to process.
TempInteger
Record "Integer"
A temporary integer record used for storing intermediate results.
AccNo
Code[20]
The account number associated with the operation.
OnFillExportBufferOnSetAsRecipient
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")
Integration event triggered when setting a recipient in the export buffer during the fill process.
Parameters / Return Value
GenJnlLine
Record "Gen. Journal Line"
The general journal line record to be processed.
PaymentExportData
Record "Payment Export Data"
The payment export data record associated with the transaction.
TempGenJnlLine
Record "Gen. Journal Line"
A temporary general journal line record for intermediate processing.
CreditTransferRegister
Record "Credit Transfer Register"
The credit transfer register record related to the export operation.
OnFillExportBufferOnBeforeInsertPaymentExportData
local procedure OnFillExportBufferOnBeforeInsertPaymentExportData(var PaymentExportData: Record "Payment Export Data"; var TempGenJnlLine: Record "Gen. Journal Line" temporary)
Integration event that is triggered before inserting Payment Export Data into the export buffer.
Parameters / Return Value
PaymentExportData
Record "Payment Export Data"
The Payment Export Data record to be inserted.
TempGenJnlLine
Record "Gen. Journal Line"
The temporary General Journal Line record associated with the export.
OnFillExportBufferOnAfterInsertPaymentExportData
local procedure OnFillExportBufferOnAfterInsertPaymentExportData(var PaymentExportData: Record "Payment Export Data"; var TempGenJnlLine: Record "Gen. Journal Line" temporary; BankExportImportSetup: Record "Bank Export/Import Setup")
Integration event that is triggered after inserting payment export data into the export buffer.
Parameters / Return Value
PaymentExportData
Record "Payment Export Data"
The record of type “Payment Export Data” that was inserted.
TempGenJnlLine
Record "Gen. Journal Line"
The temporary “Gen. Journal Line” record associated with the export.
BankExportImportSetup
Record "Bank Export/Import Setup"
The “Bank Export/Import Setup” record used for the export process.
OnFillExportBufferOnAfterSetCustomerAsRecipient
local procedure OnFillExportBufferOnAfterSetCustomerAsRecipient(var PaymentExportData: Record "Payment Export Data"; var TempGenJnlLine: Record "Gen. Journal Line" temporary; Customer: Record Customer; CustomerBankAccount: Record "Customer Bank Account")
Integration event that is triggered after setting the customer as the recipient in the export buffer.
Parameters / Return Value
PaymentExportData
Record "Payment Export Data"
The payment export data record to be filled or modified.
TempGenJnlLine
Record "Gen. Journal Line"
A temporary general journal line record associated with the export process.
Customer
Record "Customer"
The customer record being processed as the recipient.
CustomerBankAccount
Record "Customer Bank Account"
The bank account record of the customer.
OnFillExportBufferOnAfterSetVendorAsRecipient
local procedure OnFillExportBufferOnAfterSetVendorAsRecipient(var PaymentExportData: Record "Payment Export Data"; var TempGenJnlLine: Record "Gen. Journal Line" temporary; Vendor: Record Vendor; VendorBankAccount: Record "Vendor Bank Account")
Integration event that is triggered after setting the vendor as the recipient in the export buffer.
Parameters / Return Value
PaymentExportData
Record "Payment Export Data"
The payment export data record to be updated.
TempGenJnlLine
Record "Gen. Journal Line"
The temporary general journal line record associated with the export.
Vendor
Record "Vendor"
The vendor record representing the recipient.
VendorBankAccount
Record "Vendor Bank Account"
The vendor bank account record used for the payment.
OnFillExportBufferOnAfterSetBankAsRecipient
local procedure OnFillExportBufferOnAfterSetBankAsRecipient(var PaymentExportData: Record "Payment Export Data"; var TempGenJnlLine: Record "Gen. Journal Line" temporary; BankAccount: Record "Bank Account")
Integration event that is triggered after setting the bank as recipient in the export buffer.
Parameters / Return Value
PaymentExportData
Record "Payment Export Data"
The payment export data record to be processed.
TempGenJnlLine
Record "Gen. Journal Line"
The temporary general journal line record associated with the export.
BankAccount
Record "Bank Account"
The bank account record used as the recipient.
OnBeforeGetCustRemittanceText
local procedure OnBeforeGetCustRemittanceText(var RemittanceText: Text; CustTransferBillLine: Record "EOS Cust. Transfer Bill Line"; var IsHandled: Boolean)
Raised before build Remittance text to the PaymentExportData
Parameters / Return Value
RemittanceText
Text[]
Current Remittance Text
CustTransferBillLine
Record "EOS Cust. Transfer Bill Line"
Customer Transfer Bill Line being processed
IsHandled
Boolean
Parameter to skip standard build of RemittanceText
OnAfterGetCustRemittanceText
local procedure OnAfterGetCustRemittanceText(var RemittanceText: Text; CustTransferBillLine: Record "EOS Cust. Transfer Bill Line")
Raised before assigning Remittance text to the PaymentExportData
Parameters / Return Value
RemittanceText
Text[]
Current Remittance Text
CustTransferBillLine
Record "EOS Cust. Transfer Bill Line"
Customer Transfer Bill Line being processed
OnBeforeGetCustPostedRemittanceText
local procedure OnBeforeGetCustPostedRemittanceText(var RemittanceText: Text; PostedCustTrBillLine: Record "EOS Posted Cust. Tr. Bill Line"; var IsHandled: Boolean)
Raised before build Posted Remittance text to the PaymentExportData
Parameters / Return Value
RemittanceText
Text[]
Current Remittance Text
PostedCustTrBillLine
Record "EOS Posted Cust. Tr. Bill Line"
Posted Customer Transfer Bill Line being processed
IsHandled
Boolean
Parameter to skip standard build of RemittanceText
OnAfterGetCustPostedRemittanceText
local procedure OnAfterGetCustPostedRemittanceText(var RemittanceText: Text; PostedCustTrBillLine: Record "EOS Posted Cust. Tr. Bill Line")
Raised before assigning Posted Remittance text to the PaymentExportData
Parameters / Return Value
RemittanceText
Text[]
Current Remittance Text
PostedCustTrBillLine
Record "EOS Posted Cust. Tr. Bill Line"
Posted Customer Transfer Bill Line being processed
OnBeforeOnFillExportBufferOnBeforeInsertCustPaymentExportData
local procedure OnBeforeOnFillExportBufferOnBeforeInsertCustPaymentExportData(var PaymentExportData: Record "Payment Export Data"; var TempGenJnlLine: Record "Gen. Journal Line"; var isHandled: Boolean)
Raised before building and adding Remittance text to PaymentExportData in OnFillExportBufferOnBeforeInsertCustPaymentExportData event subscriber
Parameters / Return Value
PaymentExportData
Record "Payment Export Data"
Payment Export Data variable with the data that will be written in the XML file
TempGenJnlLine
Record "Gen. Journal Line"
Temporary General Journal Line
isHandled
Boolean
if true will skip the EOS005 BNK procedure that builds and adds the remittance text to XML file
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.