codeunitPlatform, DevOps & Performanceofficial - Microsoftderived - from the source, no model text

Codeunit 7600 "Calendar Management"

Base Application · Microsoft.Foundation.Calendar

Across versions

  1. BC23present
  2. BC245 events added, 4 events changed
  3. BC252 procedures removed, 1 events changed
  4. BC261 procedures changed
  5. BC27unchanged
  6. BC281 events added
  7. BC29-30unchanged

Neighbourhood 22 connected objects and pages

Codeunit 6450 "Serv. Integration Mgt." (event subscribers, 2 links)Serv. Integration Mgt.Table 37 "Sales Line" (calls, 6 links)Sales LineTable 5742 "Transfer Route" (calls, 6 links)Transfer RouteTable 39 "Purchase Line" (calls, 5 links)Purchase LineCodeunit 5404 "Lead-Time Management" (calls, 3 links)Lead-Time ManagementCodeunit 5900 "ServOrderManagement" (calls, 3 links)ServOrderManagementCodeunit 5918 "ServOrder-Check Response Time" (calls, 3 links)ServOrder-Check Response TimeTable 5901 "Service Item Line" (calls, 3 links)Service Item LineCodeunit 5780 "Whse. Cross-Dock Management" (calls, 2 links)Whse. Cross-Dock ManagementCodeunit 5790 "Available to Promise" (calls, 2 links)Available to PromiseCodeunit 99000755 "Shop Calendar Management" (calls, 2 links)Shop Calendar ManagementCodeunit 99000854 "Inventory Profile Offsetting" (calls, 2 links)Inventory Profile OffsettingPage 7604 "Base Calendar Entries Subform" (calls, 2 links)Base Calendar Entries SubformPage 7605 "Customized Cal. Entries Subfm" (calls, 2 links)Table 14 "Location" (calls, 2 links)LocationTable 18 "Customer" (calls, 2 links)Table 23 "Vendor" (calls, 2 links)Table 291 "Shipping Agent" (calls, 2 links)Codeunit 6450 "Serv. Integration Mgt." (calls)Page 21 "Customer Card" (calls)Page 6013 "Resource Capacity Settings" (calls)Page 7606 "Customized Calendar Entries" (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.Foundation.Calendar · BC23-30 · source at ea08af5e · facts from BC29

Properties

Property Value
Permissions tabledata “Base Calendar Change” = r

Events published

  • OnFillSourceRec(RecRef: RecordRef; var CustomCalendarChange: Record "Customized Calendar Change") (integration)
  • OnCombineCustomCalendarChange(CustomCalChange: Record "Customized Calendar Change"; var CustomizedCalendarChange: record "Customized Calendar Change") (integration)
  • OnCombineBaseCalendarChange(BaseCalendarChange: Record "Base Calendar Change"; var CustomizedCalendarChange: record "Customized Calendar Change") (integration)
  • OnCreateWhereUsedEntries(BaseCalendarCode: code[10]) Δ BC25 (integration)
  • OnBeforeCalcDateBOC(var CustomCalendarChange: array[2] of Record "Customized Calendar Change"; var CalConvTimeFrame: Integer; var IsHandled: Boolean) Δ BC24 (integration)
  • OnAfterReverseSign(DateFormulaExpr: Text[30]; var NewDateFormulaExpr: Text[30]) + BC28 (integration)
  • OnAfterCheckDateStatus(var CustomizedCalendarChange: Record "Customized Calendar Change") (integration)
  • OnBeforeCalcTimeSubtract(SubstractTime: Time; SubstractValue: Integer; var Result: Time; var IsHandled: Boolean) (integration)
  • OnBeforeCheckDateStatus(var CustomizedCalendarChange: Record "Customized Calendar Change"; var IsHandled: Boolean) (integration)
  • OnBeforeIsNonworkingDay(var TargetDate: Date; var CustomizedCalendarChange: Record "Customized Calendar Change") (integration)
  • OnBeforeSetSourceShippingAgentServices(var ShippingAgentServices: Record "Shipping Agent Services") (integration)
  • OnCalcDateBOCOnAfterCheckDates(var CustomCalendarChange: Record "Customized Calendar Change") (integration)
  • OnCalcDateBOCOnAfterGetCalendarCodes(var CustomCalendarChange: array[2] of Record "Customized Calendar Change"; var CalConvTimeFrame: Integer) + BC24 − BC24 (integration)
  • OnCalcDateBOCOnAfterSetNonworking(var CustomCalendarChange: array[2] of Record "Customized Calendar Change") Δ BC24 (integration)
  • OnCheckDateStatusAfterDateCustomized(var TargetCustomizedCalendarChange: Record "Customized Calendar Change"; TempCustChange: Record "Customized Calendar Change") (integration)
  • OnCheckDateStatusOnAfterCombineChanges(var TargetCustomizedCalendarChange: Record "Customized Calendar Change"; var TempCustChange: Record "Customized Calendar Change") Δ BC24 (integration)
  • OnCalcDateBOCOnBeforeCalcNewDate(var OrgDateExpression: Text[30]; var OrgDate: Date; var CustomCalendarChange: array[2] of Record "Customized Calendar Change"; CheckBothCalendars: Boolean; var NewDate: Date; var IsHandled: Boolean) Δ BC24 (integration)
  • OnDeleteCustomizedBaseCalendarDataOnAfterFilterCalendarChange(var CustomizedCalendarChange: Record "Customized Calendar Change") (integration)
  • OnDeleteCustomizedBaseCalendarDataOnAfterFilterCalendarEntry(var CustomizedCalendarEntry: Record "Customized Calendar Entry") (integration)
  • OnDeleteCustomizedBaseCalendarDataOnAfterFilterWhereUsedBaseCalendar(var WhereUsedBaseCalendar: Record "Where Used Base Calendar") (integration)
  • OnBeforeCalcTimeDelta(EndingTime: Time; StartingTime: Time; var Result: Integer; var IsHandled: Boolean) + BC24 (integration)
  • OnBeforeAddCustomizedCalendarChanges(var CustomizedCalendarChange: Record "Customized Calendar Change") + BC24 (integration)
  • OnBeforeSetSource(SourceVariant: Variant; var NewCustomizedCalendarChange: Record "Customized Calendar Change") + BC24 (integration)
  • OnBeforeAddBaseCalendarChanges(NewCustomizedCalendarChange: Record "Customized Calendar Change"; var TempCustomizedCalendarChange: Record "Customized Calendar Change" temporary; var BaseCalendarChange: Record "Base Calendar Change") + BC24 (integration)

Procedures

  • SetSource(SourceVariant: Variant; var NewCustomCalendarChange: Record "Customized Calendar Change")
  • FillSource(SourceVariant: Variant; var CustomCalendarChange: Record "Customized Calendar Change") Δ BC26
  • ShowCustomizedCalendar(SourceVariant: Variant)
  • GetMaxDate(): Date
  • IsNonworkingDay(TargetDate: Date; var CustomizedCalendarChange: Record "Customized Calendar Change"): Boolean
  • CheckDateStatus(var TargetCustomizedCalendarChange: Record "Customized Calendar Change")
  • CreateWhereUsedEntries(BaseCalendarCode: Code[10])
  • CustomizedChangesExist(SourceVariant: Variant): Boolean
  • CalcDateBOC(OrgDateExpression: Text[30]; OrgDate: Date; CustomCalendarChange: array[2] of Record "Customized Calendar Change"; CheckBothCalendars: Boolean): Date Δ BC24
  • CalcDateBOC2(OrgDateExpression: Text[30]; OrgDate: Date; CustomCalendarChange: array[2] of Record "Customized Calendar Change"; CheckBothCalendars: Boolean): Date Δ BC24
  • CheckDateFormulaPositive(CurrentDateFormula: DateFormula)
  • CalcTimeDelta(EndingTime: Time; StartingTime: Time): Integer
  • CalcTimeSubtract(SubstractTime: Time; SubstractValue: Integer): Time
  • DeleteCustomizedBaseCalendarData(SourceType: Enum "Calendar Source Type"; SourceCode: Code[20])
  • RenameCustomizedBaseCalendarData(SourceType: Enum "Calendar Source Type"; SourceCode: Code[20]; xSourceCode: Code[20])
  • ReverseDateFormula(var ReversedDateFormula: DateFormula; DateFormula: DateFormula)

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

Evidence 1 sources