{"title":"Codeunit 5930 ServAllocationManagement, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/5930-servallocationmanagement/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":5930,"name":"ServAllocationManagement","app":"Base Application","url":"https://jonas-paprotka.de/ref/codeunit/5930-servallocationmanagement/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/5930-servallocationmanagement/source/","path":"src/Layers/W1/BaseApp/Service/Document/ServAllocationManagement.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:5950":{"name":"Service Order Allocation","url":"https://jonas-paprotka.de/ref/table/5950-service-order-allocation/"},"page:6002":{"name":"Cancelled Allocation Reasons","url":"https://jonas-paprotka.de/ref/page/6002-cancelled-allocation-reasons/"},"table:5901":{"name":"Service Item Line","url":"https://jonas-paprotka.de/ref/table/5901-service-item-line/"},"table:5900":{"name":"Service Header","url":"https://jonas-paprotka.de/ref/table/5900-service-header/"},"codeunit:27":{"name":"Confirm Management","url":"https://jonas-paprotka.de/ref/codeunit/27-confirm-management/"}},"procs":[{"name":"AllocateDate","line":32,"kind":"procedure","params":7,"steps":[[39,"event","OnBeforeAllocateDate",1],[47,"call","CheckServiceItemLineFinished",2],[49,"validate",5950,"Resource No."],[51,"validate",5950,"Resource Group No."],[52,"validate",5950,"Allocated Hours"],[53,"write",5950,"Modify",1],[57,"event","OnAfterAllocateDate",0]]},{"name":"CancelAllocation","line":60,"kind":"procedure","params":1,"steps":[[72,"event","OnBeforeCancelAllocation",1],[77,"call","CheckServiceItemLineFinished",2],[82,"ext","page",6002,"ReturnReasonCode",0],[83,"validate",5950,"Status"],[85,"write",5950,"Modify",1],[89,"validate",5901,"Priority"],[89,"ext","page",6002,"ReturnPriority",0],[113,"write",5901,"Modify",1],[116,"validate",5900,"Priority"],[116,"ext","page",6002,"ReturnPriority",0],[117,"write",5900,"Modify",1],[122,"event","OnAfterCancelAllocation",0]]},{"name":"CreateAllocationEntry","line":125,"kind":"procedure","params":5,"steps":[[133,"event","OnBeforeCreateAllocationEntry",1],[139,"call","CheckServiceItemLineFinished",2],[153,"write",5950,"Insert",1]]},{"name":"SplitAllocation","line":158,"kind":"procedure","params":1,"steps":[[170,"ext","codeunit",27,"GetResponseOrDefault",2],[183,"ext","table",5950,"SetHideDialog",1],[187,"write",5950,"DeleteAll"],[196,"write",5950,"Insert"],[207,"validate",5950,"Allocation Date"],[208,"validate",5950,"Resource No."],[209,"validate",5950,"Resource Group No."],[210,"validate",5950,"Allocated Hours"],[211,"event","OnSplitAllocationOnBeforeServOrderAllocModify",0],[212,"write",5950,"Modify",1],[214,"validate",5950,"Allocated Hours"],[215,"write",5950,"Modify",1]]},{"name":"QualifiedForServiceItemLine","line":251,"kind":"procedure","params":2,"steps":[[258,"call","ResourceQualified",3],[266,"call","ResourceQualified",3],[274,"call","ResourceQualified",3]]},{"name":"SetServOrderAllocStatus","line":297,"kind":"procedure","params":1,"steps":[[312,"event","OnSetServOrderAllocStatusOnBeforeServOrderAlloc2Modify",0],[313,"write",5950,"Modify"]]},{"name":"SetServLineAllocStatus","line":317,"kind":"procedure","params":1,"steps":[[333,"write",5950,"Modify"]]}]}