codeunitProjectsofficial - Microsoftderived - from the source, no model text

Codeunit 1005 "Job Calculate Batches"

Base Application · Microsoft.Projects.Project.Journal

Across versions

  1. BC23present
  2. BC241 events added
  3. BC251 events added
  4. BC26-30unchanged

Neighbourhood 6 connected objects and pages

Report 1090 "Job Calc. Remaining Usage" (calls, 3 links)Job Calc. Remaining UsageReport 1093 "Job Create Sales Invoice" (calls, 2 links)Job Create Sales InvoiceCodeunit 1001 "Job Post-Line" (calls)Job Post-LineReport 1085 "Job Post WIP to G/L" (calls)Job Post WIP to G/LReport 1086 "Job Calculate WIP" (calls)Job Calculate WIPReport 1091 "Job Transfer To Planning Lines" (calls)Job Transfer To Planning Lines

Open in the neighbourhood explorer

One hop out, from the extracted relations and call graph. Up to 40 shown; the sections below list them all.

Base Application · Microsoft.Projects.Project.Journal · BC23-30 · source at ea08af5e · facts from BC29

Events published

  • OnBeforeJobPlanningLineInsert(var JobPlanningLine: Record "Job Planning Line") (integration)
  • OnBeforePostDiffBuffer(var JobDiffBuffer: array[2] of Record "Job Difference Buffer" temporary; var IsHandled: Boolean) (integration)
  • OnBeforeTransferToPlanningLine(var JobLedgerEntry: Record "Job Ledger Entry") (integration)
  • OnCreateJTOnBeforeAssigneJobDiffBuffer2(var JobDiffBuffer: array[2] of Record "Job Difference Buffer" temporary; JobPlanningLine: Record "Job Planning Line") (integration)
  • OnChangeCurrencyDatesOnBeforeJobPlanningLineModify(var JobPlanningLine: Record "Job Planning Line") (integration)
  • OnChangePlanningDatesOnBeforeJobPlanningLineModify(var JobPlanningLine: Record "Job Planning Line") (integration)
  • OnPostDiffBufferOnAfterInsertJobJnlLine(var JobJnlLine: Record "Job Journal Line"; var JobDiffBuffer: Record "Job Difference Buffer" temporary) (integration)
  • OnPostDiffBufferOnBeforeModify(var JobLedgEntry: Record "Job Ledger Entry"; var JobDiffBuffer: Record "Job Difference Buffer" temporary) (integration)
  • OnPostDiffBufferOnAfterSetFilters(var JobLedgerEntry: Record "Job Ledger Entry"; var JobDifferenceBuffer: Record "Job Difference Buffer" temporary) (integration)
  • OnBeforeCreateJT(var IsHanlded: Boolean; JobPlanningLine: Record "Job Planning Line") (integration)
  • OnBeforeInsertDiffBuffer(var JobLedgerEntry: Record "Job Ledger Entry"; var JobPlanningLine: Record "Job Planning Line"; var JobDiffBuffer: array[2] of Record "Job Difference Buffer" temporary; LineType: Option Schedule,Usage; CurrencyType: Option LCY,FCY) (integration)
  • OnAfterInsertDiffBuffer(var JobLedgerEntry: Record "Job Ledger Entry"; var JobPlanningLine: Record "Job Planning Line"; var JobDiffBuffer: array[2] of Record "Job Difference Buffer" temporary; LineType: Option Schedule,Usage; CurrencyType: Option LCY,FCY) (integration)
  • OnChangeCurrencyDatesOnBeforeChangeCurrencyDate(var JobPlanningLine: Record "Job Planning Line"; var ForceDateUpdate: Boolean) + BC24 (integration)
  • OnBeforeEndCreateInvoice(var NoOfInvoices: Integer; var IsHandled: Boolean) + BC25 (integration)

Procedures

  • SplitLines(var JT2: Record "Job Task"): Integer
  • TransferToPlanningLine(var JobLedgEntry: Record "Job Ledger Entry"; LineType: Integer)
  • ChangePlanningDates(JT: Record "Job Task"; ScheduleLine: Boolean; ContractLine: Boolean; PeriodLength: DateFormula; FixedDate: Date; StartingDate: Date; EndingDate: Date)
  • ChangeCurrencyDates(JT: Record "Job Task"; scheduleLine: Boolean; ContractLine: Boolean; PeriodLength: DateFormula; FixedDate: Date; StartingDate: Date; EndingDate: Date)
  • ChangeDatesEnd()
  • CreateJT(JobPlanningLine: Record "Job Planning Line")
  • InitDiffBuffer()
  • PostDiffBuffer(DocNo: Code[20]; PostingDate: Date; TemplateName: Code[10]; BatchName: Code[10])
  • BatchError(PostingDate: Date; DocNo: Code[20])
  • EndCreateInvoice(NoOfInvoices: Integer)
  • CalculateActualToBudget(var Job: Record Job; JT: Record "Job Task"; var JobDiffBuffer2: Record "Job Difference Buffer"; var JobDiffBuffer3: Record "Job Difference Buffer"; CurrencyType: Option LCY,FCY)
  • GetCurrencyCode(var Job: Record Job; Type: Option "0","1","2","3"; CurrencyType: Option "Local Currency","Foreign Currency"): Text[50]

Plus 2 local procedures.

Triggers

OnRun

Calls

From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an Object::"Name" argument. Interface dispatch and calls through events are not counted, so the list is not complete.

Called by

Ask your agent

Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: bcatlas_resolve_node(object_type: "codeunit", object_name: "Job Calculate Batches"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.

Evidence 1 sources