KVSKBAPEPPOLManagement
Summary: Handles Business Central events for PEPPOL Management, including Find Next Sales Cr Memo Line Rec, Find Next Sales Invoice Line Rec, and Find Next Service Cr Memo Line Rec.
Events
OnBeforeOnAfterFindNextSalesCrMemoLineRec(Record Sales Cr.Memo Line, Record Sales Line, Boolean, Boolean) :
Summary: Integration event triggered before processing the next sales credit memo line for PEPPOL export.
[IntegrationEvent(false, false)]
local procedure OnBeforeOnAfterFindNextSalesCrMemoLineRec(var SalesCrMemoLine: Record "Sales Cr.Memo Line"; var SalesLine: Record "Sales Line"; var Found: Boolean; var IsHandled: Boolean):
Parameters:
SalesCrMemoLine: The sales credit memo line being processed.SalesLine: The sales line buffer to receive the transferred data (can be modified).Found: Whether a line was found (can be modified).IsHandled: Set to true to skip the standard line filtering logic.
Remarks: Use this event to implement custom logic for finding the next credit memo line in PEPPOL exports. The standard logic skips heading, bundle, subtotal, and non-printable lines. Set IsHandled to true to completely replace the standard filtering behavior.
OnBeforeOnFindNextInvoiceLineRec(Record Sales Invoice Line, Record Sales Line, Boolean, Boolean) :
Summary: Integration event triggered before processing the next sales invoice line for PEPPOL export.
[IntegrationEvent(false, false)]
local procedure OnBeforeOnFindNextInvoiceLineRec(var SalesInvoiceLine: Record "Sales Invoice Line"; var SalesLine: Record "Sales Line"; var Found: Boolean; var IsHandled: Boolean):
Parameters:
SalesInvoiceLine: The sales invoice line being processed.SalesLine: The sales line buffer to receive the transferred data (can be modified).Found: Whether a line was found (can be modified).IsHandled: Set to true to skip the standard line filtering logic.
Remarks: Use this event to implement custom logic for finding the next invoice line in PEPPOL exports. The standard logic skips heading, bundle, subtotal, and non-printable lines. Set IsHandled to true to completely replace the standard filtering behavior.
OnBeforeOnAfterFindNextServiceCrMemoLineRec(Record Service Cr.Memo Line, Record Sales Line, Boolean, Boolean) :
Summary: Integration event triggered before processing the next service credit memo line for PEPPOL export.
[IntegrationEvent(false, false)]
local procedure OnBeforeOnAfterFindNextServiceCrMemoLineRec(var ServiceCrMemoLine: Record "Service Cr.Memo Line"; var SalesLine: Record "Sales Line"; var Found: Boolean; var IsHandled: Boolean):
Parameters:
ServiceCrMemoLine: The service credit memo line being processed.SalesLine: The sales line buffer to receive the transferred data (can be modified).Found: Whether a line was found (can be modified).IsHandled: Set to true to skip the standard line filtering logic.
Remarks: Use this event to implement custom logic for finding the next service credit memo line in PEPPOL exports. The standard logic skips heading, bundle, subtotal, and non-printable lines. Set IsHandled to true to completely replace the standard filtering behavior. Service line types are mapped to sales line types during the transfer.
OnBeforeOnAfterFindNextServiceInvoiceLineRec(Record Service Invoice Line, Record Sales Line, Boolean, Boolean) :
Summary: Integration event triggered before processing the next service invoice line for PEPPOL export.
[IntegrationEvent(false, false)]
local procedure OnBeforeOnAfterFindNextServiceInvoiceLineRec(var ServiceInvoiceLine: Record "Service Invoice Line"; var SalesLine: Record "Sales Line"; var Found: Boolean; var IsHandled: Boolean):
Parameters:
ServiceInvoiceLine: The service invoice line being processed.SalesLine: The sales line buffer to receive the transferred data (can be modified).Found: Whether a line was found (can be modified).IsHandled: Set to true to skip the standard line filtering logic.
Remarks: Use this event to implement custom logic for finding the next service invoice line in PEPPOL exports. The standard logic skips heading, bundle, subtotal, and non-printable lines. Set IsHandled to true to completely replace the standard filtering behavior. Service line types are mapped to sales line types during the transfer.