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
| List | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 |
|---|
| Procedures | | | | | | | | | 2 | | | | |
|---|
| Events | | | | | | | | | 2 | | | | |
|---|
| 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