Codeunit 99000853 Service Line-Planning

Base Application, Microsoft.Service.Document

Source AL, 205 lines

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

codeunit 99000853 "Service Line-Planning"{    Permissions = tabledata "Service Header" = r;    var        ServiceTxt: Label 'Service';    [EventSubscriber(ObjectType::Table, Database::"Requisition Line", 'OnSetDemandTypeFromUnplannedDemand', '', true, false)]    local procedure ReqLineOnSetDemandTypeFromUnplannedDemand(var RequisitionLine: Record "Requisition Line"; UnplannedDemand: Record "Unplanned Demand")    begin        if UnplannedDemand."Demand Type" = UnplannedDemand."Demand Type"::Service then            RequisitionLine."Demand Type" := Database::"Service Line";    end;    [EventSubscriber(ObjectType::Table, Database::"Unplanned Demand", 'OnValidateDemandOrderNoOnGetSourceFields', '', true, false)]    local procedure OnValidateDemandOrderNoOnGetSourceFields(var UnplannedDemand: Record "Unplanned Demand")

All 205 lines

Events 3 in 29

[IntegrationEvent] OnBeforeGetUnplannedServLine(var UnplannedDemand: Record "Unplanned Demand"; var ServiceLine: Record "Service Line")new in 25
[IntegrationEvent] OnGetUnplannedServLineOnAfterInsertUnplannedDemand(var UnplannedDemand: Record "Unplanned Demand")new in 25
[IntegrationEvent] OnInsertServiceLineOnBeforeInsert(var UnplannedDemand: Record "Unplanned Demand"; ServiceLine: Record "Service Line")new in 25

All 4 events in 17-22, 25-29

Changes 6 in 25

List17181920212223242526272829
Object1
Procedures1
Events4
codeunit 99000853 "Service Line-Planning"17-22, 25-29
no longer obsolete, was codeunit 99000853 "Calc. Low-level code"
SetHideDialogs(NewHideDialogs: Boolean)gone after 22
gone
[IntegrationEvent] OnAfterFindTopLevel()gone after 22
gone
[IntegrationEvent] OnBeforeGetUnplannedServLine(var UnplannedDemand: Record "Unplanned Demand"; var ServiceLine: Record "Service Line")new in 25
added
[IntegrationEvent] OnGetUnplannedServLineOnAfterInsertUnplannedDemand(var UnplannedDemand: Record "Unplanned Demand")new in 25
added
[IntegrationEvent] OnInsertServiceLineOnBeforeInsert(var UnplannedDemand: Record "Unplanned Demand"; ServiceLine: Record "Service Line")new in 25
added

All 6 changes in 17-22, 25-29