---
title: "Codeunit 5930 ServAllocationManagement, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/5930-servallocationmanagement/points/
object: https://jonas-paprotka.de/ref/codeunit/5930-servallocationmanagement/
app: "Base Application"
major: 29
source: https://jonas-paprotka.de/ref/codeunit/5930-servallocationmanagement/source/
checked: 2026-11-20
changed: 2026-10-05
subject: "Microsoft Dynamics 365 Business Central"
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/"
---

# Codeunit 5930 ServAllocationManagement, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/codeunit/5930-servallocationmanagement/points/

7 procedures and triggers with a step in src/Layers/W1/BaseApp/Service/Document/ServAllocationManagement.Codeunit.al, in source order, read from the text, not from a run.

## AllocateDate

[Line 32](https://jonas-paprotka.de/ref/codeunit/5930-servallocationmanagement/source/#L32).

- [39](https://jonas-paprotka.de/ref/codeunit/5930-servallocationmanagement/source/#L39) raises `OnBeforeAllocateDate`, IsHandled
- [47](https://jonas-paprotka.de/ref/codeunit/5930-servallocationmanagement/source/#L47) calls `CheckServiceItemLineFinished`
- [49](https://jonas-paprotka.de/ref/codeunit/5930-servallocationmanagement/source/#L49) validates [Table 5950 Service Order Allocation](https://jonas-paprotka.de/ref/table/5950-service-order-allocation/) `Resource No.`
- [51](https://jonas-paprotka.de/ref/codeunit/5930-servallocationmanagement/source/#L51) validates [Table 5950 Service Order Allocation](https://jonas-paprotka.de/ref/table/5950-service-order-allocation/) `Resource Group No.`
- [52](https://jonas-paprotka.de/ref/codeunit/5930-servallocationmanagement/source/#L52) validates [Table 5950 Service Order Allocation](https://jonas-paprotka.de/ref/table/5950-service-order-allocation/) `Allocated Hours`
- [53](https://jonas-paprotka.de/ref/codeunit/5930-servallocationmanagement/source/#L53) writes [Table 5950 Service Order Allocation](https://jonas-paprotka.de/ref/table/5950-service-order-allocation/) Modify(true)
- [57](https://jonas-paprotka.de/ref/codeunit/5930-servallocationmanagement/source/#L57) raises `OnAfterAllocateDate`

## CancelAllocation

[Line 60](https://jonas-paprotka.de/ref/codeunit/5930-servallocationmanagement/source/#L60).

- [72](https://jonas-paprotka.de/ref/codeunit/5930-servallocationmanagement/source/#L72) raises `OnBeforeCancelAllocation`, IsHandled
- [77](https://jonas-paprotka.de/ref/codeunit/5930-servallocationmanagement/source/#L77) calls `CheckServiceItemLineFinished`
- [82](https://jonas-paprotka.de/ref/codeunit/5930-servallocationmanagement/source/#L82) calls [Page 6002 Cancelled Allocation Reasons](https://jonas-paprotka.de/ref/page/6002-cancelled-allocation-reasons/) `ReturnReasonCode`
- [83](https://jonas-paprotka.de/ref/codeunit/5930-servallocationmanagement/source/#L83) validates [Table 5950 Service Order Allocation](https://jonas-paprotka.de/ref/table/5950-service-order-allocation/) `Status`
- [85](https://jonas-paprotka.de/ref/codeunit/5930-servallocationmanagement/source/#L85) writes [Table 5950 Service Order Allocation](https://jonas-paprotka.de/ref/table/5950-service-order-allocation/) Modify(true)
- [89](https://jonas-paprotka.de/ref/codeunit/5930-servallocationmanagement/source/#L89) validates [Table 5901 Service Item Line](https://jonas-paprotka.de/ref/table/5901-service-item-line/) `Priority`
- [89](https://jonas-paprotka.de/ref/codeunit/5930-servallocationmanagement/source/#L89) calls [Page 6002 Cancelled Allocation Reasons](https://jonas-paprotka.de/ref/page/6002-cancelled-allocation-reasons/) `ReturnPriority`
- [113](https://jonas-paprotka.de/ref/codeunit/5930-servallocationmanagement/source/#L113) writes [Table 5901 Service Item Line](https://jonas-paprotka.de/ref/table/5901-service-item-line/) Modify(true)
- [116](https://jonas-paprotka.de/ref/codeunit/5930-servallocationmanagement/source/#L116) validates [Table 5900 Service Header](https://jonas-paprotka.de/ref/table/5900-service-header/) `Priority`
- [116](https://jonas-paprotka.de/ref/codeunit/5930-servallocationmanagement/source/#L116) calls [Page 6002 Cancelled Allocation Reasons](https://jonas-paprotka.de/ref/page/6002-cancelled-allocation-reasons/) `ReturnPriority`
- [117](https://jonas-paprotka.de/ref/codeunit/5930-servallocationmanagement/source/#L117) writes [Table 5900 Service Header](https://jonas-paprotka.de/ref/table/5900-service-header/) Modify(true)
- [122](https://jonas-paprotka.de/ref/codeunit/5930-servallocationmanagement/source/#L122) raises `OnAfterCancelAllocation`

## CreateAllocationEntry

[Line 125](https://jonas-paprotka.de/ref/codeunit/5930-servallocationmanagement/source/#L125).

- [133](https://jonas-paprotka.de/ref/codeunit/5930-servallocationmanagement/source/#L133) raises `OnBeforeCreateAllocationEntry`, IsHandled
- [139](https://jonas-paprotka.de/ref/codeunit/5930-servallocationmanagement/source/#L139) calls `CheckServiceItemLineFinished`
- [153](https://jonas-paprotka.de/ref/codeunit/5930-servallocationmanagement/source/#L153) writes [Table 5950 Service Order Allocation](https://jonas-paprotka.de/ref/table/5950-service-order-allocation/) Insert(true)

## SplitAllocation

[Line 158](https://jonas-paprotka.de/ref/codeunit/5930-servallocationmanagement/source/#L158).

- [170](https://jonas-paprotka.de/ref/codeunit/5930-servallocationmanagement/source/#L170) calls [Codeunit 27 Confirm Management](https://jonas-paprotka.de/ref/codeunit/27-confirm-management/) `GetResponseOrDefault`
- [183](https://jonas-paprotka.de/ref/codeunit/5930-servallocationmanagement/source/#L183) calls [Table 5950 Service Order Allocation](https://jonas-paprotka.de/ref/table/5950-service-order-allocation/) `SetHideDialog`
- [187](https://jonas-paprotka.de/ref/codeunit/5930-servallocationmanagement/source/#L187) writes [Table 5950 Service Order Allocation](https://jonas-paprotka.de/ref/table/5950-service-order-allocation/) DeleteAll
- [196](https://jonas-paprotka.de/ref/codeunit/5930-servallocationmanagement/source/#L196) writes [Table 5950 Service Order Allocation](https://jonas-paprotka.de/ref/table/5950-service-order-allocation/) Insert
- [207](https://jonas-paprotka.de/ref/codeunit/5930-servallocationmanagement/source/#L207) validates [Table 5950 Service Order Allocation](https://jonas-paprotka.de/ref/table/5950-service-order-allocation/) `Allocation Date`
- [208](https://jonas-paprotka.de/ref/codeunit/5930-servallocationmanagement/source/#L208) validates [Table 5950 Service Order Allocation](https://jonas-paprotka.de/ref/table/5950-service-order-allocation/) `Resource No.`
- [209](https://jonas-paprotka.de/ref/codeunit/5930-servallocationmanagement/source/#L209) validates [Table 5950 Service Order Allocation](https://jonas-paprotka.de/ref/table/5950-service-order-allocation/) `Resource Group No.`
- [210](https://jonas-paprotka.de/ref/codeunit/5930-servallocationmanagement/source/#L210) validates [Table 5950 Service Order Allocation](https://jonas-paprotka.de/ref/table/5950-service-order-allocation/) `Allocated Hours`
- [211](https://jonas-paprotka.de/ref/codeunit/5930-servallocationmanagement/source/#L211) raises `OnSplitAllocationOnBeforeServOrderAllocModify`
- [212](https://jonas-paprotka.de/ref/codeunit/5930-servallocationmanagement/source/#L212) writes [Table 5950 Service Order Allocation](https://jonas-paprotka.de/ref/table/5950-service-order-allocation/) Modify(true)
- [214](https://jonas-paprotka.de/ref/codeunit/5930-servallocationmanagement/source/#L214) validates [Table 5950 Service Order Allocation](https://jonas-paprotka.de/ref/table/5950-service-order-allocation/) `Allocated Hours`
- [215](https://jonas-paprotka.de/ref/codeunit/5930-servallocationmanagement/source/#L215) writes [Table 5950 Service Order Allocation](https://jonas-paprotka.de/ref/table/5950-service-order-allocation/) Modify(true)

## QualifiedForServiceItemLine

[Line 251](https://jonas-paprotka.de/ref/codeunit/5930-servallocationmanagement/source/#L251).

- [258](https://jonas-paprotka.de/ref/codeunit/5930-servallocationmanagement/source/#L258) calls `ResourceQualified`
- [266](https://jonas-paprotka.de/ref/codeunit/5930-servallocationmanagement/source/#L266) calls `ResourceQualified`
- [274](https://jonas-paprotka.de/ref/codeunit/5930-servallocationmanagement/source/#L274) calls `ResourceQualified`

## SetServOrderAllocStatus

[Line 297](https://jonas-paprotka.de/ref/codeunit/5930-servallocationmanagement/source/#L297).

- [312](https://jonas-paprotka.de/ref/codeunit/5930-servallocationmanagement/source/#L312) raises `OnSetServOrderAllocStatusOnBeforeServOrderAlloc2Modify`
- [313](https://jonas-paprotka.de/ref/codeunit/5930-servallocationmanagement/source/#L313) writes [Table 5950 Service Order Allocation](https://jonas-paprotka.de/ref/table/5950-service-order-allocation/) Modify

## SetServLineAllocStatus

[Line 317](https://jonas-paprotka.de/ref/codeunit/5930-servallocationmanagement/source/#L317).

- [333](https://jonas-paprotka.de/ref/codeunit/5930-servallocationmanagement/source/#L333) writes [Table 5950 Service Order Allocation](https://jonas-paprotka.de/ref/table/5950-service-order-allocation/) Modify

## Source

AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at 4303e5e584d3aa5d9e98cbc615525a5396ad6ed7.

JOP-AL, 2026-11-20.
