---
title: "Codeunit 5959 Serv. Posting Group Change, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/5959-serv-posting-group-change/points/
object: https://jonas-paprotka.de/ref/codeunit/5959-serv-posting-group-change/
app: "Base Application"
major: 29
source: https://jonas-paprotka.de/ref/codeunit/5959-serv-posting-group-change/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 5959 Serv. Posting Group Change, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/codeunit/5959-serv-posting-group-change/points/

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

## OnAfterChangePostingGroup

[Line 17](https://jonas-paprotka.de/ref/codeunit/5959-serv-posting-group-change/source/#L17), local.

- [20](https://jonas-paprotka.de/ref/codeunit/5959-serv-posting-group-change/source/#L20) calls `CheckPostingGroupChangeInServiceHeader`

## CheckPostingGroupChangeInServiceHeader

[Line 23](https://jonas-paprotka.de/ref/codeunit/5959-serv-posting-group-change/source/#L23), local.

- [25](https://jonas-paprotka.de/ref/codeunit/5959-serv-posting-group-change/source/#L25) calls `CheckCustomerPostingGroupChangeAndCustomerInService`

## CheckCustomerPostingGroupChangeAndCustomerInService

[Line 28](https://jonas-paprotka.de/ref/codeunit/5959-serv-posting-group-change/source/#L28), local.

- [30](https://jonas-paprotka.de/ref/codeunit/5959-serv-posting-group-change/source/#L30) calls `CheckAllowChangeServiceSetup`
- [31](https://jonas-paprotka.de/ref/codeunit/5959-serv-posting-group-change/source/#L31) calls `HasCustomerSamePostingGroup`
- [32](https://jonas-paprotka.de/ref/codeunit/5959-serv-posting-group-change/source/#L32) calls `CheckCustomerPostingGroupSubstSetup`

## Source

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

JOP-AL, 2026-11-20.
