---
title: "Codeunit 960 Posting Group Change"
author: "Jonas Paprotka"
url: https://jonas-paprotka.de/ref/codeunit/960-posting-group-change/
type: codeunit
id: 960
name: "Posting Group Change"
app: "Base Application"
namespace: Microsoft.Finance.ReceivablesPayables
versions: "22-28"
build: 28.5.54151.54365
source: "https://jonas-paprotka.de/ref/codeunit/960-posting-group-change/source/29/"
checked: 2026-09-20
subject: "Microsoft Dynamics 365 Business Central"
license: "Content © 2026 Jonas Paprotka. Quote freely with attribution and a link."
---

# Codeunit 960 Posting Group Change

Jonas Paprotka, https://jonas-paprotka.de/ref/codeunit/960-posting-group-change/

| | |
| --- | --- |
| App | Base Application |
| Namespace | Microsoft.Finance.ReceivablesPayables |
| Versions | 22-28 |
| Source file | Finance/ReceivablesPayables/PostingGroupChange.Codeunit.al |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| ChangePostingGroup | (Code[20], Code[20], Variant) | - | public | 22-28 | - | - |
| CheckVendorPostingGroupSubstSetup | (Code[20], Code[20]) | - | public | 22-28 | - | - |
| CheckAllowChangeSalesSetup | () | - | public | 22-28 | - | - |
| CheckAllowChangeServiceSetup | () | - | public | 22-27 | Pending 25.0 | Replaced by procedure CheckAllowChangeServiceSetup() in codeunit "Serv. Posting Group Change" |
| CheckAllowChangePurchaseSetup | () | - | public | 22-28 | - | - |
| HasCustomerSamePostingGroup | (Code[20], Code[20]) | Boolean | public | 22-28 | - | - |
| HasVendorSamePostingGroup | (Code[20], Code[20]) | Boolean | public | 22-28 | - | - |
| CheckCustomerPostingGroupSubstSetup | (Code[20], Code[20]) | - | public | 27-28 | - | - |
| CheckEmployeePostingGroupSubstSetup | (Code[20], Code[20]) | - | public | 27-28 | - | - |
| CheckAllowChangeHRSetup | () | - | public | 27-28 | - | - |
| HasEmployeeSamePostingGroup | (Code[20], Code[20]) | Boolean | public | 27-28 | - | - |

## Events

| Kind | Name | Parameters | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| Integration event | OnAfterChangePostingGroup | (RecordRef, Code[20], Code[20]) | 25-28 | - | - |

## Source

Symbols: Microsoft.BaseApplication.symbols.437dbf0e-84ff-417a-965d-ed2bb9650972, https://dynamicssmb2.pkgs.visualstudio.com/DynamicsBCPublicFeeds/_packaging/MSSymbols/nuget/v3/index.json, highest build per major on 2026-09-20.
AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at a66254c3b8b5bb1cea290dc8f9d097aec4381153.

Jonas Paprotka, 2026-09-20.
