Skip to content

KVSKBADocumentPrint#

Events#

OnBeforeCalcSalesDisc(Record Sales Header, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforeCalcSalesDisc(var SalesHeader: Record "Sales Header"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBADocumentPrint", 'OnBeforeCalcSalesDisc', '', false, false)]
local procedure DoSomethingOnBeforeCalcSalesDisc(var SalesHeader: Record "Sales Header"; var IsHandled: Boolean)
begin
end;
[IntegrationEvent(false, false)]
local procedure OnBeforeSetPrintWithLogo(var ReportID: Integer; RecordVariant: Variant; var PrintWithLogo: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBADocumentPrint", 'OnBeforeSetPrintWithLogo', '', false, false)]
local procedure DoSomethingOnBeforeSetPrintWithLogo(var ReportID: Integer; RecordVariant: Variant; var PrintWithLogo: Boolean)
begin
end;

OnBeforePrintProformaServiceInvoice(Record Service Header, Enum Report Selection Usage, Boolean) :#

[IntegrationEvent(false, false)]
local procedure OnBeforePrintProformaServiceInvoice(ServiceHeader: Record "Service Header"; ReportSelectionUsage: Enum "Report Selection Usage"; var IsHandled: Boolean): 
[EventSubscriber(ObjectType::Codeunit, Codeunit::"KVSKBADocumentPrint", 'OnBeforePrintProformaServiceInvoice', '', false, false)]
local procedure DoSomethingOnBeforePrintProformaServiceInvoice(ServiceHeader: Record "Service Header"; ReportSelectionUsage: Enum "Report Selection Usage"; var IsHandled: Boolean)
begin
end;