{"title":"Table 5950 Service Order Allocation, extension points 29","url":"https://jonas-paprotka.de/ref/table/5950-service-order-allocation/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":"table","id":5950,"name":"Service Order Allocation","app":"Base Application","url":"https://jonas-paprotka.de/ref/table/5950-service-order-allocation/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/table/5950-service-order-allocation/source/","path":"src/Layers/W1/BaseApp/Service/Document/ServiceOrderAllocation.Table.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:5906":{"name":"ServLogManagement","url":"https://jonas-paprotka.de/ref/codeunit/5906-servlogmanagement/"},"codeunit:5900":{"name":"ServOrderManagement","url":"https://jonas-paprotka.de/ref/codeunit/5900-servordermanagement/"},"codeunit:5930":{"name":"ServAllocationManagement","url":"https://jonas-paprotka.de/ref/codeunit/5930-servallocationmanagement/"},"codeunit:27":{"name":"Confirm Management","url":"https://jonas-paprotka.de/ref/codeunit/27-confirm-management/"},"table:5950":{"name":"Service Order Allocation","url":"https://jonas-paprotka.de/ref/table/5950-service-order-allocation/"},"page:6022":{"name":"Reallocation Entry Reasons","url":"https://jonas-paprotka.de/ref/page/6022-reallocation-entry-reasons/"},"table:5901":{"name":"Service Item Line","url":"https://jonas-paprotka.de/ref/table/5901-service-item-line/"}},"procs":[{"name":"Status.OnValidate","line":37,"kind":"trigger","steps":[[43,"ext","codeunit",5906,"ServHeaderCancelAllocation",4],[48,"ext","codeunit",5906,"ServHeaderAllocation",4],[53,"ext","codeunit",5906,"ServHeaderReallocationNeeded",4]]},{"name":"Document No..OnLookup","line":64,"kind":"trigger","steps":[[70,"ext","codeunit",5900,"ServHeaderLookup",2]]},{"name":"Resource No..OnValidate","line":94,"kind":"trigger","steps":[[107,"ext","codeunit",5930,"QualifiedForServiceItemLine",2],[119,"ext","codeunit",27,"GetResponseOrDefault",2],[131,"call","CreateReallocationEntry",0]]},{"name":"Resource Group No..OnValidate","line":141,"kind":"trigger","steps":[[150,"call","CreateReallocationEntry",0]]},{"name":"Service Item Line No..OnValidate","line":161,"kind":"trigger","steps":[[166,"ext","codeunit",5930,"CheckServiceItemLineFinished",2],[168,"ext","codeunit",5900,"CheckServiceItemBlockedForAll",1]]},{"name":"Starting Time.OnValidate","line":200,"kind":"trigger","steps":[[202,"call","ValidateStartEndTime",0]]},{"name":"Finishing Time.OnValidate","line":210,"kind":"trigger","steps":[[212,"call","ValidateStartEndTime",0]]},{"name":"Service Item No..OnLookup","line":234,"kind":"trigger","steps":[[241,"validate",5950,"Service Item Line No."]]},{"name":"Service Item No..OnValidate","line":244,"kind":"trigger","steps":[[252,"validate",5950,"Service Item Line No."]]},{"name":"Service Item Serial No..OnLookup","line":275,"kind":"trigger","steps":[[282,"validate",5950,"Service Item Line No."]]},{"name":"Service Item Serial No..OnValidate","line":285,"kind":"trigger","steps":[[293,"validate",5950,"Service Item Line No."]]},{"name":"OnDelete","line":349,"kind":"trigger","steps":[[352,"ext","codeunit",5930,"CheckServiceItemLineFinished",2]]},{"name":"OnInsert","line":355,"kind":"trigger","steps":[[367,"call","CheckAllocationEntry",0],[369,"ext","codeunit",5930,"CheckServiceItemLineFinished",2],[376,"call","CheckAllocationEntry",0],[381,"validate",5950,"Status"]]},{"name":"OnModify","line":385,"kind":"trigger","steps":[[389,"ext","codeunit",5930,"CheckServiceItemLineFinished",2],[390,"ext","codeunit",5930,"CheckServiceItemLineFinished",2],[397,"call","CheckAllocationEntry",0],[403,"validate",5950,"Status"]]},{"name":"ValidateStartEndTime","line":439,"kind":"procedure","access":"local","params":0,"steps":[[444,"event","OnBeforeValidateStartEndTime",1]]},{"name":"CreateReallocationEntry","line":456,"kind":"procedure","access":"local","params":0,"steps":[[461,"event","OnBeforeCreateReallocationEntry",1],[475,"ext","page",6022,"SetNewResource",2],[483,"ext","page",6022,"ReturnReasonCode",0],[491,"event","OnCreateReallocationEntryOnBeforeResetRepairStatus",0],[498,"validate",5950,"Status"],[503,"validate",5950,"Status"],[505,"validate",5950,"Status"],[506,"write",5950,"Insert"],[518,"validate",5950,"Status"],[523,"validate",5950,"Status"],[525,"validate",5950,"Status"],[526,"write",5950,"Insert"],[532,"validate",5950,"Status"],[537,"validate",5950,"Status"],[539,"validate",5950,"Status"],[540,"write",5950,"Insert"],[543,"validate",5950,"Status"],[548,"validate",5950,"Status"],[550,"validate",5950,"Status"],[551,"write",5950,"Insert"],[557,"write",5901,"Modify",1]]},{"name":"CheckAllocationEntry","line":576,"kind":"procedure","access":"local","params":0,"steps":[[581,"event","OnBeforeCheckAllocationEntry",1]]}]}