Codeunit 1005 "Job Calculate Batches"
Base Application · Microsoft.Projects.Project.Journal
Across versions
- BC23present
- BC241 events added
- BC251 events added
- BC26-30unchanged
Neighbourhood 6 connected objects and pages
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"): IntegerTransferToPlanningLine(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.
- Codeunit 1001 “Job Post-Line” (1 call:
TransferToPlanningLine → InsertPlLineFromLedgEntry)
Called by
- Report 1090 “Job Calc. Remaining Usage” (3 calls:
OnPostReport → PostDiffBuffer,OnPreReport → BatchError,OnPreReport → InitDiffBuffer) - Report 1093 “Job Create Sales Invoice” (2 calls:
OnPostReport → EndCreateInvoice,OnPreReport → BatchError) - Report 1085 “Job Post WIP to G/L” (1 call:
OnPreReport → BatchError) - Report 1086 “Job Calculate WIP” (1 call:
OnPreReport → BatchError) - Report 1091 “Job Transfer To Planning Lines” (1 call:
OnPreReport → TransferToPlanningLine)
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.