Codeunit 1005 Job Calculate Batches

Base Application, Microsoft.Projects.Project.Journal

Source AL, 565 lines

src/Layers/W1/BaseApp/Projects/Project/Journal/JobCalculateBatches.Codeunit.allines 14 to 29 of 565, Copyright (c) Microsoft Corporation. MIT

codeunit 1005 "Job Calculate Batches"{    trigger OnRun()    begin    end;    var        JobDiffBuffer: array[2] of Record "Job Difference Buffer" temporary;        PeriodLength2: DateFormula;#pragma warning disable AA0074#pragma warning disable AA0470        Text000: Label '%1 lines were successfully transferred to the journal.';#pragma warning restore AA0470        Text001: Label 'There is no remaining usage on the project(s).';

All 565 lines

Events 14 in 29

[IntegrationEvent] OnBeforeJobPlanningLineInsert(var JobPlanningLine: Record "Job Planning Line")17-29
[IntegrationEvent] OnBeforePostDiffBuffer(var JobDiffBuffer: array[2] of Record "Job Difference Buffer"; var IsHandled: Boolean)17-29
[IntegrationEvent] OnBeforeTransferToPlanningLine(var JobLedgerEntry: Record "Job Ledger Entry")17-29
[IntegrationEvent] OnCreateJTOnBeforeAssigneJobDiffBuffer2(var JobDiffBuffer: array[2] of Record "Job Difference Buffer"; JobPlanningLine: Record "Job Planning Line")17-29
[IntegrationEvent] OnPostDiffBufferOnAfterInsertJobJnlLine(var JobJnlLine: Record "Job Journal Line"; var JobDiffBuffer: Record "Job Difference Buffer" temporary)17-29
[IntegrationEvent] OnPostDiffBufferOnBeforeModify(var JobLedgEntry: Record "Job Ledger Entry"; var JobDiffBuffer: Record "Job Difference Buffer" temporary)17-29
[IntegrationEvent] OnChangeCurrencyDatesOnBeforeJobPlanningLineModify(var JobPlanningLine: Record "Job Planning Line")new in 21

All 14 events

Public procedures 12 in 29

SplitLines(var JT2: Record "Job Task"): Integer17-29
TransferToPlanningLine(var JobLedgEntry: Record "Job Ledger Entry"; LineType: Integer)17-29
ChangePlanningDates(JT: Record "Job Task"; ScheduleLine: Boolean; ContractLine: Boolean; PeriodLength: DateFormula; FixedDate: Date; StartingDate: Date; EndingDate: Date)17-29
ChangeCurrencyDates(JT: Record "Job Task"; scheduleLine: Boolean; ContractLine: Boolean; PeriodLength: DateFormula; FixedDate: Date; StartingDate: Date; EndingDate: Date)17-29
ChangeDatesEnd()17-29
CreateJT(JobPlanningLine: Record "Job Planning Line")17-29

All 12 procedures

Changes 1 in 25

List17181920212223242526272829
Events2411
[IntegrationEvent] OnBeforeEndCreateInvoice(var NoOfInvoices: Integer; var IsHandled: Boolean)new in 25
added

All 8 changes in 17-29