codeunitProjectsofficial - Microsoftderived - from the source, no model text

Codeunit 1008 "Job Calculate Statistics"

Base Application · Microsoft.Projects.Project.Job

Across versions

  1. BC23-30present

Neighbourhood 6 connected objects and pages

Codeunit 759 "Job Chart Mgt" (calls, 12 links)Job Chart MgtPage 1024 "Job Task Statistics" (calls, 6 links)Job Task StatisticsPage 1025 "Job Statistics" (calls, 6 links)Job StatisticsTable 167 "Job" (calls, 6 links)JobPage 1030 "Job Cost Factbox" (calls, 4 links)Job Cost FactboxPage 1007 "Job Planning Lines" (calls)Job 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.Job · BC23-30 · source at ea08af5e · facts from BC29

Events published

  • OnAfterJobCalculateCommonFilters(var Job: Record Job; var JobLedgerEntry: Record "Job Ledger Entry"; var JobPlanningLine: Record "Job Planning Line") (integration)
  • OnAfterJTCalculateCommonFilters(JobTask: Record "Job Task"; var JobTask2: Record "Job Task"; var Job2: Record Job; UseJobFilter: Boolean; var JobLedgerEntry: Record "Job Ledger Entry"; var JobPlanningLine: Record "Job Planning Line") (integration)
  • OnAfterReportAnalysis(AmountField: array[8] of Option " ",SchPrice,UsagePrice,ContractPrice,InvoicedPrice,SchCost,UsageCost,ContractCost,InvoicedCost,SchProfit,UsageProfit,ContractProfit,InvoicedProfit; CurrencyField: array[8] of Option LCY,FCY; var Amt: array[8] of Decimal) (integration)
  • OnCalcJobPlanAmountsOnAfterJobPlanningLineSetFilters(var JobPlanningLine: Record "Job Planning Line") (integration)
  • OnReportAnalysisOnAfterGetAmounts(var PL: array[16] of Decimal; var CL: array[16] of Decimal; var P: array[16] of Decimal; var C: array[16] of Decimal; var I: Integer) (integration)
  • OnShowPlanningLineOnAfterJobPlanningLineSetFilters(var JobPlanningLine: Record "Job Planning Line") (integration)

Procedures

  • ReportAnalysis(var Job2: Record Job; var JT: Record "Job Task"; var Amt: array[8] of Decimal; AmountField: array[8] of Option " ",SchPrice,UsagePrice,ContractPrice,InvoicedPrice,SchCost,UsageCost,ContractCost,InvoicedCost,SchProfit,UsageProfit,ContractProfit,InvoicedProfit; CurrencyField: array[8] of Option LCY,FCY; JobLevel: Boolean)
  • ReportSuggBilling(var Job2: Record Job; var JT: Record "Job Task"; var Amt: array[8] of Decimal; CurrencyField: array[8] of Option LCY,FCY)
  • RepJobCustomer(var Job2: Record Job; var Amt: array[8] of Decimal)
  • JobCalculateCommonFilters(var Job: Record Job)
  • JTCalculateCommonFilters(var JT2: Record "Job Task"; var Job2: Record Job; UseJobFilter: Boolean)
  • CalculateAmounts()
  • GetLCYCostAmounts(var Amt: array[16] of Decimal)
  • GetCostAmounts(var Amt: array[16] of Decimal)
  • GetLCYPriceAmounts(var Amt: array[16] of Decimal)
  • GetPriceAmounts(var Amt: array[16] of Decimal)
  • ShowPlanningLine(JobType: Option " ",Resource,Item,GL; Schedule: Boolean)
  • ShowLedgEntry(JobType: Option " ",Resource,Item,GL; Usage: Boolean)
  • GetHeadLineText(AmountField: array[8] of Option " ",SchPrice,UsagePrice,BillablePrice,InvoicedPrice,SchCost,UsageCost,BillableCost,InvoicedCost,SchProfit,UsageProfit,BillableProfit,InvoicedProfit; CurrencyField: array[8] of Option LCY,FCY; var HeadLineText: array[8] of Text[50]; Job: Record Job)

Plus 3 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

  • Codeunit 759 “Job Chart Mgt” (12 calls: CalculateJobCosts → CalculateAmounts, CalculateJobCosts → GetLCYCostAmounts, CalculateJobCosts → GetLCYPriceAmounts, …)
  • Page 1024 “Job Task Statistics” (6 calls: OnAfterGetCurrRecord → CalculateAmounts, OnAfterGetCurrRecord → GetCostAmounts, OnAfterGetCurrRecord → GetLCYCostAmounts, …)
  • Page 1025 “Job Statistics” (6 calls: OnAfterGetCurrRecord → CalculateAmounts, OnAfterGetCurrRecord → GetCostAmounts, OnAfterGetCurrRecord → GetLCYCostAmounts, …)
  • Table 167 “Job” (6 calls: PercentCompleted → CalculateAmounts, PercentCompleted → GetLCYCostAmounts, PercentCompleted → JobCalculateCommonFilters, …)
  • Page 1030 “Job Cost Factbox” (4 calls: OnAfterGetCurrRecord → CalculateAmounts, OnAfterGetCurrRecord → GetLCYCostAmounts, OnAfterGetCurrRecord → GetLCYPriceAmounts, …)

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 Statistics"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.

Evidence 1 sources