KVSKBAPEPPOLManagement#
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):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAPEPPOLManagement", 'OnBeforeOnAfterFindNextSalesCrMemoLineRec', '', false, false)]
local procedure DoSomethingOnBeforeOnAfterFindNextSalesCrMemoLineRec(var SalesCrMemoLine: Record "Sales Cr.Memo Line"; var SalesLine: Record "Sales Line"; var Found: Boolean; var IsHandled: Boolean)
begin
end;
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):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAPEPPOLManagement", 'OnBeforeOnFindNextInvoiceLineRec', '', false, false)]
local procedure DoSomethingOnBeforeOnFindNextInvoiceLineRec(var SalesInvoiceLine: Record "Sales Invoice Line"; var SalesLine: Record "Sales Line"; var Found: Boolean; var IsHandled: Boolean)
begin
end;
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):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAPEPPOLManagement", 'OnBeforeOnAfterFindNextServiceCrMemoLineRec', '', false, false)]
local procedure DoSomethingOnBeforeOnAfterFindNextServiceCrMemoLineRec(var ServiceCrMemoLine: Record "Service Cr.Memo Line"; var SalesLine: Record "Sales Line"; var Found: Boolean; var IsHandled: Boolean)
begin
end;
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):
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBAPEPPOLManagement", 'OnBeforeOnAfterFindNextServiceInvoiceLineRec', '', false, false)]
local procedure DoSomethingOnBeforeOnAfterFindNextServiceInvoiceLineRec(var ServiceInvoiceLine: Record "Service Invoice Line"; var SalesLine: Record "Sales Line"; var Found: Boolean; var IsHandled: Boolean)
begin
end;
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.