Source AL, 280 lines
src/Layers/W1/BaseApp/Service/Document/ServDocumentPrint.Codeunit.allines 13 to 28 of 280, Copyright (c) Microsoft Corporation. MIT
codeunit 6461 "Serv. Document Print"{ var MissingReportSelectionErr: Label 'Report Selections is missing for %1 %2.', Comment = '%1 - Contract Type, %2 - Contract No.'; MissingReportSelection2Err: Label '%1 for %2 is missing in Report Selections.', Comment = '%1 - Document Type, %2 - Service Header'; [EventSubscriber(ObjectType::Table, Database::"Report Selections", 'OnAfterIsCustomerAccount', '', true, false)] local procedure OnAfterIsCustomerAccount(DocumentTableId: Integer; var IsCustomer: Boolean); begin if DocumentTableId = Database::"Service Invoice Header" then IsCustomer := true; end; [EventSubscriber(ObjectType::Table, Database::"Report Selections", 'OnSendEmailDirectlyOnAfterSetFieldName', '', true, false)] local procedure OnSendEmailDirectlyOnAfterSetFieldName(DocumentTableId: Integer; var FieldName: Text);
All 280 lines
Events 6 in 29
| [IntegrationEvent] OnBeforeCalcServDisc(var ServiceHeader: Record "Service Header"; var IsHandled: Boolean) | new in 25 |
| [IntegrationEvent] OnBeforePrintServiceHeader(var ServiceHeader: Record "Service Header"; ReportUsage: Integer; var IsPrinted: Boolean) | new in 25 |
| [IntegrationEvent] OnBeforePrintServiceItemWorksheet(var ServiceItemLine: Record "Service Item Line"; ReportUsage: Enum "Report Selection Usage"; var IsPrinted: Boolean) | new in 25 |
| [IntegrationEvent] OnBeforePrintServiceContract(var ServiceContractHeader: Record "Service Contract Header"; ReportUsage: Integer; var IsPrinted: Boolean) | new in 25 |
| [IntegrationEvent] OnGetServHeaderDocTypeUsageElseCase(ServiceHeader: Record "Service Header"; var TypeUsage: Integer; var IsHandled: Boolean) | new in 25 |
| [IntegrationEvent] OnGetServContractTypeUsageElseCase(ServiceContractHeader: Record "Service Contract Header"; var TypeUsage: Integer; var IsHandled: Boolean) | new in 25 |
Public procedures 8 in 29
All 8 procedures