codeunitManufacturingofficial - Microsoftderived - from the source, no model text

Codeunit 99000755 "Shop Calendar Management"

Base Application · Microsoft.Manufacturing.Capacity

Across versions

  1. BC23-26present
  2. BC273 procedures changed
  3. BC28-30unchanged

Neighbourhood 19 connected objects and pages

Codeunit 99000774 "Calculate Routing Line" (calls, 21 links)Calculate Routing LineCodeunit 99000810 "Calculate Planning Route Line" (calls, 17 links)Calculate Planning Route LineCodeunit 7600 "Calendar Management" (calls, 2 links)Codeunit 99000758 "Mfg. Cost Calculation Mgt." (calls, 2 links)Mfg. Cost Calculation Mgt.Table 99000757 "Calendar Entry" (calls, 2 links)Calendar EntryCodeunit 5407 "Prod. Order Status Management" (calls)Prod. Order Status ManagementCodeunit 99000759 "Calendar Absence Management" (calls)Calendar Absence ManagementCodeunit 99000762 "Mfg. Item Journal Mgt." (calls)Codeunit 99000773 "Calculate Prod. Order" (calls)Calculate Prod. OrderCodeunit 99000808 "PlanningRoutingManagement" (calls)PlanningRoutingManagementPage 5408 "Prod. Order Routing Lines" (calls)Prod. Order Routing LinesPage 9295 "Work Ctr. Grp. Calendar Matrix" (calls)Work Ctr. Grp. Calendar MatrixPage 99000816 "Production Order Statistics" (calls)Page 99000817 "Prod. Order Routing" (calls)Prod. Order RoutingPage 99000892 "Work Center Group Load Lines" (calls)Work Center Group Load LinesReport 99000780 "Capacity Task List" (calls)Capacity Task ListReport 99001045 "Calc. Machine Center Calendar" (calls)Calc. Machine Center CalendarTable extension 6247 "Sust. Prod. Order Routing Line" (calls)Table extension 99000820 "Mfg. BOM Buffer" (calls)

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.Manufacturing.Capacity · BC23-30 · source at ea08af5e · facts from BC29

Properties

Property Value
SingleInstance true

Events published

  • OnAfterTimeFactor(var CapUnitOfMeasure: Record "Capacity Unit of Measure"; var Factor: Decimal) (integration)
  • OnBeforeCalculateSchedule(var WorkCenter: Record "Work Center"; StartingDate: Date) (integration)
  • OnCalculateScheduleOnBeforeProcessShopCalendar(var ShopCalendarWorkingDays: Record "Shop Calendar Working Days"; PeriodDate: Date; StartingDate: Date; EndingDate: Date; var IsHandled: Boolean) (integration)
  • OnCalculateScheduleOnSetShopCalendarFilters(var ShopCalendarWorkingDays: Record "Shop Calendar Working Days"; PeriodDate: Date) (integration)
  • OnAfterCalculateSchedule(CapacityType: Enum "Capacity Type"; No: Code[20]; WorkCenterNo: Code[20]; StartingDate: Date; EndingDate: Date) (integration)
  • OnCalculateScheduleOnAfterProcessShopCalendar(CapacityType: Enum "Capacity Type"; No: Code[20]; WorkCenterNo: Code[20]; PeriodDate: Date) (integration)

Event subscriptions

  • OnAfterModifyWorkCenter subscribes to Table “Work Center” OnAfterModifyEvent
  • OnAfterModifyShopCalendarHoliday subscribes to Table “Shop Calendar Holiday” OnAfterModifyEvent
  • OnAfterModifyCapacityUnitOfMeasure subscribes to Table “Capacity Unit of Measure” OnAfterModifyEvent

Procedures

  • QtyperTimeUnitofMeasure(WorkCenterNo: Code[20]; UnitOfMeasureCode: Code[10]): Decimal
  • TimeFactor(UnitOfMeasureCode: Code[10]): Decimal
  • CalculateSchedule(CapacityType: Enum "Capacity Type"; No: Code[20]; WorkCenterNo: Code[20]; StartingDate: Date; EndingDate: Date)
  • ClearInternals()
  • CalcTimeDelta(EndingTime: Time; StartingTime: Time): Integer
  • CalcTimeSubtract(Time: Time; Value: Integer): Time
  • GetMaxDate(): Date

Plus 4 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: "Shop Calendar Management"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.

Evidence 1 sources