{"title":"Codeunit 99000755 Shop Calendar Management, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/99000755-shop-calendar-management/points/","author":"JOP-AL","license":"Metadata from Microsoft's symbol packages. AL source MIT, Copyright (c) Microsoft Corporation. Selection and wording © 2026 JOP-AL. https://jonas-paprotka.de/licenses/","subject":"Microsoft Dynamics 365 Business Central","checked":"2026-11-20","changed":"2026-10-05","object":{"type":"codeunit","id":99000755,"name":"Shop Calendar Management","app":"Base Application","url":"https://jonas-paprotka.de/ref/codeunit/99000755-shop-calendar-management/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/99000755-shop-calendar-management/source/","path":"src/Layers/W1/BaseApp/Manufacturing/Capacity/ShopCalendarManagement.Codeunit.al","commit":"4303e5e584d3aa5d9e98cbc615525a5396ad6ed7","lines":"a line is <source url>#L<line>"},"steps":{"event":"[line, \"event\", name, handled]: raises an event of this object; handled 1 when it has an IsHandled parameter","call":"[line, \"call\", name, arguments]: calls a procedure of this object","ext":"[line, \"ext\", type, id, name, arguments]: calls a procedure of another object, through a variable declared with that type","write":"[line, \"write\", table id, method, 1 when called with true]: Insert, Modify, ModifyAll, Delete, DeleteAll or Rename","validate":"[line, \"validate\", table id, field name]","run":"[line, \"run\", type, id]: Codeunit.Run, Page.Run, Report.Run and their kin"},"objects":{"table:99000757":{"name":"Calendar Entry","url":"https://jonas-paprotka.de/ref/table/99000757-calendar-entry/"},"table:99000760":{"name":"Calendar Absence Entry","url":"https://jonas-paprotka.de/ref/table/99000760-calendar-absence-entry/"},"codeunit:99000759":{"name":"Calendar Absence Management","url":"https://jonas-paprotka.de/ref/codeunit/99000759-calendar-absence-management/"},"codeunit:7600":{"name":"Calendar Management","url":"https://jonas-paprotka.de/ref/codeunit/7600-calendar-management/"}},"procs":[{"name":"QtyperTimeUnitofMeasure","line":24,"kind":"procedure","params":2,"steps":[[26,"call","GetWorkCenter",1],[27,"call","TimeFactor",1],[27,"call","TimeFactor",1]]},{"name":"TimeFactor","line":30,"kind":"procedure","params":1,"steps":[[35,"call","GetCapUnitOfMeasure",1],[51,"event","OnAfterTimeFactor",0]]},{"name":"CalculateSchedule","line":63,"kind":"procedure","params":5,"steps":[[73,"call","GetWorkCenter",1],[76,"event","OnBeforeCalculateSchedule",0],[82,"write",99000757,"DeleteAll"],[86,"write",99000760,"ModifyAll"],[92,"event","OnCalculateScheduleOnSetShopCalendarFilters",0],[96,"event","OnCalculateScheduleOnBeforeProcessShopCalendar",1],[108,"validate",99000757,"No."],[110,"call","ShopCalHoliday",4],[116,"call","InsertCalendarEntry",3],[120,"call","InsertCalendarEntry",3],[122,"call","InsertCalendarEntry",3],[124,"call","InsertCalendarEntry",3],[129,"event","OnCalculateScheduleOnAfterProcessShopCalendar",0],[137,"ext","codeunit",99000759,"UpdateAbsence",1],[142,"event","OnAfterCalculateSchedule",0]]},{"name":"InsertCalendarEntry","line":145,"kind":"procedure","access":"local","params":3,"steps":[[148,"validate",99000757,"Ending Time"],[149,"write",99000757,"Insert"]]},{"name":"CalcTimeDelta","line":174,"kind":"procedure","params":2,"steps":[[176,"ext","codeunit",7600,"CalcTimeDelta",2]]},{"name":"CalcTimeSubtract","line":179,"kind":"procedure","params":2,"steps":[[181,"ext","codeunit",7600,"CalcTimeSubtract",2]]}]}