{"title":"Report 950 Create Time Sheets, extension points 29","url":"https://jonas-paprotka.de/ref/report/950-create-time-sheets/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":"report","id":950,"name":"Create Time Sheets","app":"Base Application","url":"https://jonas-paprotka.de/ref/report/950-create-time-sheets/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/report/950-create-time-sheets/source/","path":"src/Layers/W1/BaseApp/Projects/TimeSheet/CreateTimeSheets.Report.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":{"codeunit:310":{"name":"No. Series","url":"https://jonas-paprotka.de/ref/codeunit/310-no-series/"},"table:950":{"name":"Time Sheet Header","url":"https://jonas-paprotka.de/ref/table/950-time-sheet-header/"},"codeunit:950":{"name":"Time Sheet Management","url":"https://jonas-paprotka.de/ref/codeunit/950-time-sheet-management/"},"page:119":{"name":"User Setup","url":"https://jonas-paprotka.de/ref/page/119-user-setup/"}},"procs":[{"name":"Resource.OnAfterGetRecord","line":32,"kind":"trigger","steps":[[39,"event","OnBeforeResourceOnAfterGerRecord",1],[43,"call","CheckExistingPeriods",0],[45,"ext","codeunit",310,"GetNextNo",2],[48,"validate",950,"Resource No."],[49,"call","GetWeekNumber",1],[50,"event","OnResourceOnAfterGerRecordOnBeforeTimeSheetHeaderInsert",0],[51,"write",950,"Insert",1],[55,"ext","codeunit",950,"CreateLinesFromJobPlanning",1],[56,"event","OnResourceOnAfterGerRecordOnAfterTimeSheetHeaderInserted",0]]},{"name":"StartingDate.OnValidate","line":101,"kind":"trigger","steps":[[103,"call","ValidateStartingDate",0]]},{"name":"OnOpenPage","line":127,"kind":"trigger","steps":[[137,"ext","codeunit",950,"FindNearestTimeSheetStartDate",1]]},{"name":"OnPreReport","line":156,"kind":"trigger","steps":[[163,"call","CheckUserSetup",0]]},{"name":"CheckUserSetup","line":236,"kind":"procedure","access":"local","params":0,"steps":[[242,"event","OnBeforeCheckUserSetup",1],[248,"run","page",119]]}]}