Codeunit 1034 Job Planning Line - Calendar

Base Application, Microsoft.Projects.Project.Planning

Source AL, 358 lines

src/Layers/W1/BaseApp/Projects/Project/Planning/JobPlanningLineCalendar.Codeunit.allines 17 to 32 of 358, Copyright (c) Microsoft Corporation. MIT

codeunit 1034 "Job Planning Line - Calendar"{    TableNo = "Job Planning Line";    trigger OnRun()    var        LocalJobPlanningLine: Record "Job Planning Line";    begin        LocalJobPlanningLine.SetRange("Job No.", Rec."Job No.");        LocalJobPlanningLine.SetRange("Job Task No.", Rec."Job Task No.");        LocalJobPlanningLine.SetFilter("Line Type", '%1|%2', Rec."Line Type"::Budget, Rec."Line Type"::"Both Budget and Billable");        LocalJobPlanningLine.SetRange(Type, Rec.Type::Resource);        LocalJobPlanningLine.SetFilter("No.", '<>''''');        if LocalJobPlanningLine.FindSet() then            repeat                SetPlanningLine(LocalJobPlanningLine);

All 358 lines

Events 3 in 29

[IntegrationEvent] OnAfterSetPlanningLine(NewJobPlanningLine: Record "Job Planning Line"; var ProjectManagerResource: Record Resource)new in 22
[IntegrationEvent] OnAfterGetStartDate(JobPlanningLine: Record "Job Planning Line"; var StartDateTime: Text)new in 23
[IntegrationEvent] OnAfterGetEndDate(JobPlanningLine: Record "Job Planning Line"; var EndDateTime: Text)new in 23

Public procedures 4 in 29

SetPlanningLine(NewJobPlanningLine: Record "Job Planning Line")17-29
CreateAndSend()17-29
CreateRequest(var TempEmailItem: Record "Email Item" temporary): Boolean17-29
CreateCancellation(var TempEmailItem: Record "Email Item" temporary): Boolean17-29

Changes 2 in 23

List17181920212223242526272829
Events12
[IntegrationEvent] OnAfterGetStartDate(JobPlanningLine: Record "Job Planning Line"; var StartDateTime: Text)new in 23
added
[IntegrationEvent] OnAfterGetEndDate(JobPlanningLine: Record "Job Planning Line"; var EndDateTime: Text)new in 23
added

All 3 changes in 17-29