Codeunit 99000755 "Shop Calendar Management"
Base Application · Microsoft.Manufacturing.Capacity
Across versions
- BC23-26present
- BC273 procedures changed
- BC28-30unchanged
Neighbourhood 19 connected objects and pages
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]): DecimalTimeFactor(UnitOfMeasureCode: Code[10]): DecimalCalculateSchedule(CapacityType: Enum "Capacity Type"; No: Code[20]; WorkCenterNo: Code[20]; StartingDate: Date; EndingDate: Date)ClearInternals()CalcTimeDelta(EndingTime: Time; StartingTime: Time): IntegerCalcTimeSubtract(Time: Time; Value: Integer): TimeGetMaxDate(): 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.
- Codeunit 7600 “Calendar Management” (2 calls:
CalcTimeDelta → CalcTimeDelta,CalcTimeSubtract → CalcTimeSubtract) - Codeunit 99000759 “Calendar Absence Management” (1 call:
CalculateSchedule → UpdateAbsence)
Called by
- Codeunit 99000774 “Calculate Routing Line” (21 calls:
CalcCostInclSetup → QtyperTimeUnitofMeasure,CalcDuration → TimeFactor,CalcMove → TimeFactor, …) - Codeunit 99000810 “Calculate Planning Route Line” (17 calls:
CalcMoveTimeBack → TimeFactor,CalcRoutingLineBack → GetMaxDate,CalcRoutingLineBack → TimeFactor, …) - Codeunit 99000758 “Mfg. Cost Calculation Mgt.” (2 calls:
CalcProdOrderActTimeUsed → TimeFactor,CalculateCostTime → QtyperTimeUnitofMeasure) - Table 99000757 “Calendar Entry” (2 calls:
CalculateCapacity → CalcTimeDelta,CalculateCapacity → TimeFactor) - Codeunit 5407 “Prod. Order Status Management” (1 call:
SetTimeAndQuantityOmItemJnlLine → QtyperTimeUnitofMeasure) - Codeunit 99000762 “Mfg. Item Journal Mgt.” (1 call:
OnValidateCapUnitOfMeasureCodeOnSetQtyPerCapUnitOfMeasure → QtyperTimeUnitofMeasure) - Codeunit 99000773 “Calculate Prod. Order” (1 call:
CalculateRoutingFromActual → GetMaxDate) - Codeunit 99000808 “PlanningRoutingManagement” (1 call:
CalculateRoutingFromActual → GetMaxDate) - Page 5408 “Prod. Order Routing Lines” (1 call:
ExpCapacityNeed → TimeFactor) - Page 9295 “Work Ctr. Grp. Calendar Matrix” (1 call:
CalculateCapacity → TimeFactor) - Page 99000816 “Production Order Statistics” (1 call:
OnAfterGetRecord → TimeFactor) - Page 99000817 “Prod. Order Routing” (1 call:
ExpCapacityNeed → TimeFactor) - Page 99000892 “Work Center Group Load Lines” (1 call:
CalculateCapacity → TimeFactor) - Report 99000780 “Capacity Task List” (1 call:
CalcExpectedCapacityNeed → TimeFactor) - Report 99001045 “Calc. Machine Center Calendar” (1 call:
CalculateMachineCenterSchedule → CalculateSchedule) - Table extension 6247 “Sust. Prod. Order Routing Line” (1 call:
GetUnitCostPerOperation → QtyperTimeUnitofMeasure) - Table extension 99000820 “Mfg. BOM Buffer” (1 call:
CalcQtyPerParentFromProdRouting → TimeFactor)
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.