Codeunit 9065 Check Service Document

Base Application, Microsoft.Service.Document

Source AL, 97 lines

src/Layers/W1/BaseApp/Service/Document/CheckServiceDocument.Codeunit.allines 11 to 26 of 97, Copyright (c) Microsoft Corporation. MIT

codeunit 9065 "Check Service Document"{    TableNo = "Service Header";    trigger OnRun()    begin        RunCheck(Rec);    end;    var        CannotChangeItemWithOutstandingDocumentLinesErr: Label 'You cannot delete %1 %2 because there is at least one outstanding Service %3 that includes this item.', Comment = '%1 - Item, %2 - Item No., %3 - Service Document Type';    local procedure RunCheck(var ServiceHeader: Record "Service Header")    var        TempServLine: Record "Service Line" temporary;        ServicePost: Codeunit "Service-Post";

All 97 lines

Events 2 in 29

[IntegrationEvent] OnBeforeCheckServiceLines(Item: Record Item; CurrentFieldNo: Integer; CheckFieldNo: Integer; CheckFieldCaption: Text; var IsHandled: Boolean)new in 25
[IntegrationEvent] OnBeforeCheckServiceContractLines(Item: Record Item; CurrentFieldNo: Integer; CheckFieldNo: Integer; CheckFieldCaption: Text; var IsHandled: Boolean)new in 25

Changes 4 in 25

List17181920212223242526272829
Procedures2
Events2
internal CheckServiceLines(Item: Record Item; CurrentFieldNo: Integer; CheckFieldNo: Integer; CheckFieldCaption: Text)new in 25
added
internal CheckServiceContractLines(Item: Record Item; CurrentFieldNo: Integer; CheckFieldNo: Integer; CheckFieldCaption: Text)new in 25
added
[IntegrationEvent] OnBeforeCheckServiceLines(Item: Record Item; CurrentFieldNo: Integer; CheckFieldNo: Integer; CheckFieldCaption: Text; var IsHandled: Boolean)new in 25
added
[IntegrationEvent] OnBeforeCheckServiceContractLines(Item: Record Item; CurrentFieldNo: Integer; CheckFieldNo: Integer; CheckFieldCaption: Text; var IsHandled: Boolean)new in 25
added

All 4 changes in 20-29