{"title":"Codeunit 5513 Graph Mgt - Time Registration, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/5513-graph-mgt-time-registration/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":5513,"name":"Graph Mgt - Time Registration","app":"Base Application","url":"https://jonas-paprotka.de/ref/codeunit/5513-graph-mgt-time-registration/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/5513-graph-mgt-time-registration/source/","path":"src/Layers/W1/BaseApp/Integration/Graph/GraphMgtTimeRegistration.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:91":{"name":"User Setup","url":"https://jonas-paprotka.de/ref/table/91-user-setup/"},"table:156":{"name":"Resource","url":"https://jonas-paprotka.de/ref/table/156-resource/"},"codeunit:5465":{"name":"Graph Mgt - General Tools","url":"https://jonas-paprotka.de/ref/codeunit/5465-graph-mgt-general-tools/"},"table:952":{"name":"Time Sheet Detail","url":"https://jonas-paprotka.de/ref/table/952-time-sheet-detail/"},"report:950":{"name":"Create Time Sheets","url":"https://jonas-paprotka.de/ref/report/950-create-time-sheets/"},"table:951":{"name":"Time Sheet Line","url":"https://jonas-paprotka.de/ref/table/951-time-sheet-line/"}},"procs":[{"name":"InitUserSetup","line":21,"kind":"procedure","params":0,"steps":[[26,"validate",91,"User ID"],[27,"validate",91,"Time Sheet Admin."],[28,"write",91,"Insert",1]]},{"name":"ModifyResourceToUseTimeSheet","line":33,"kind":"procedure","params":1,"steps":[[35,"call","SetResourceFieldsToUseTimeSheet",1],[36,"write",156,"Modify",1]]},{"name":"CreateResourceToUseTimeSheet","line":40,"kind":"procedure","params":1,"steps":[[47,"write",156,"Insert",1],[50,"ext","codeunit",5465,"ProcessNewRecordFromAPI",3],[53,"call","ModifyResourceToUseTimeSheet",1]]},{"name":"GetTimeSheetHeader","line":57,"kind":"procedure","params":2,"steps":[[65,"call","CreateTimeSheetHeader",2]]},{"name":"GetTimeSheetLineWithEmptyDate","line":73,"kind":"procedure","params":3,"steps":[[95,"call","CreateTimeSheetLine",2]]},{"name":"AddTimeSheetDetail","line":100,"kind":"procedure","params":4,"steps":[[103,"ext","table",952,"CopyFromTimeSheetLine",1],[106,"write",952,"Insert",1]]},{"name":"AddTimeSheetDetailWithDimensionSetAndJob","line":110,"kind":"procedure","params":6,"steps":[[115,"ext","table",952,"CopyFromTimeSheetLine",1],[125,"write",952,"Insert",1]]},{"name":"SetResourceFieldsToUseTimeSheet","line":128,"kind":"procedure","access":"local","params":1,"steps":[[137,"validate",156,"Use Time Sheet"],[139,"validate",156,"Time Sheet Approver User ID"],[141,"validate",156,"Time Sheet Owner User ID"]]},{"name":"CreateTimeSheetHeader","line":146,"kind":"procedure","access":"local","params":2,"steps":[[150,"ext","report",950,"InitParameters",5],[151,"ext","report",950,"UseRequestPage",1]]},{"name":"CreateTimeSheetLine","line":155,"kind":"procedure","access":"local","params":2,"steps":[[162,"write",951,"Insert",1]]}]}