---
title: "Codeunit 48 PostingSetupManagement"
author: "Jonas Paprotka"
url: https://jonas-paprotka.de/ref/codeunit/48-postingsetupmanagement/
type: codeunit
id: 48
name: "PostingSetupManagement"
app: "Base Application"
namespace: Microsoft.Finance.ReceivablesPayables
versions: "17-28"
build: 28.5.54151.54365
source: "https://jonas-paprotka.de/ref/codeunit/48-postingsetupmanagement/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 48 PostingSetupManagement

Jonas Paprotka, https://jonas-paprotka.de/ref/codeunit/48-postingsetupmanagement/

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

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| CheckCustPostingGroupReceivablesAccount | (Code[20]) | - | public | 17-28 | - | - |
| CheckVendPostingGroupPayablesAccount | (Code[20]) | - | public | 17-28 | - | - |
| CheckGenPostingSetupSalesAccount | (Code[20], Code[20]) | - | public | 17-28 | - | - |
| CheckGenPostingSetupPurchAccount | (Code[20], Code[20]) | - | public | 17-28 | - | - |
| CheckGenPostingSetupCOGSAccount | (Code[20], Code[20]) | - | public | 17-28 | - | - |
| CheckVATPostingSetupSalesAccount | (Code[20], Code[20]) | - | public | 17-28 | - | - |
| CheckVATPostingSetupPurchAccount | (Code[20], Code[20]) | - | public | 17-28 | - | - |
| CheckInvtPostingSetupInventoryAccount | (Code[10], Code[20]) | - | public | 17-28 | - | - |
| GetPostingSetupNotificationID | () | Guid | public | 17-28 | - | - |
| ConfirmPostingAfterCurrentCalendarDate | (Text, Date) | Boolean | public | 17-23 | Pending 21.0 | Renamed to ConfirmPostingAfterWorkingDate |
| IsPostingSetupNotificationEnabled | () | Boolean | public | 17-28 | - | - |
| SendCustPostingGroupNotification | (Record Customer Posting Group, Text) | - | public | 17-28 | - | - |
| SendVendPostingGroupNotification | (Record Vendor Posting Group, Text) | - | public | 17-28 | - | - |
| SendInvtPostingSetupNotification | (Record Inventory Posting Setup, Text) | - | public | 17-28 | - | - |
| SendGenPostingSetupNotification | (Record General Posting Setup, Text) | - | public | 17-28 | - | - |
| SendVATPostingSetupNotification | (Record VAT Posting Setup, Text) | - | public | 17-28 | - | - |
| ShowCustomerPostingGroups | (Notification) | - | public | 17-28 | - | - |
| ShowVendorPostingGroups | (Notification) | - | public | 17-28 | - | - |
| ShowInventoryPostingSetup | (Notification) | - | public | 17-28 | - | - |
| ShowGenPostingSetup | (Notification) | - | public | 17-28 | - | - |
| ShowVATPostingSetup | (Notification) | - | public | 17-28 | - | - |
| LogVATPostingSetupFieldError | (Record VAT Posting Setup, Integer) | - | public | 19-28 | - | - |
| LogGenPostingSetupFieldError | (Record General Posting Setup, Integer) | - | public | 19-28 | - | - |
| LogInventoryPostingSetupFieldError | (Record Inventory Posting Setup, Integer) | - | public | 19-28 | - | - |
| LogCustPostingGroupFieldError | (Record Customer Posting Group, Integer) | - | public | 19-28 | - | - |
| LogVendPostingGroupFieldError | (Record Vendor Posting Group, Integer) | - | public | 19-28 | - | - |
| LogJobPostingGroupFieldError | (Record Job Posting Group, Integer) | - | public | 19-28 | - | - |
| LogFAPostingGroupFieldError | (Record FA Posting Group, Integer) | - | public | 19-28 | - | - |
| ConfirmPostingAfterWorkingDate | (Text, Date) | Boolean | public | 20-28 | - | - |
| LogEmplPostingGroupFieldError | (Record Employee Posting Group, Integer) | - | public | 24-28 | - | - |

## Events

| Kind | Name | Parameters | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| Integration event | OnBeforeCheckInvtPostingSetupInventoryAccount | (var Code[10], var Code[20], var Boolean) | 20-28 | - | - |
| Integration event | OnBeforeCheckVATPostingSetupSalesAccount | (Code[20], Code[20], var Boolean) | 21-28 | - | - |
| Integration event | OnBeforeCheckGenPostingSetupCOGSAccount | (var Code[20], var Code[20], var Boolean) | 23-28 | - | - |
| Integration event | OnBeforeCheckVATPostingSetupPurchAccount | (var Code[20], var Code[20], var Boolean) | 23-28 | - | - |
| Integration event | OnBeforeCheckGenPostingSetupSalesAccount | (var Code[20], var Code[20], var Boolean) | 23-28 | - | - |
| Integration event | OnBeforeCheckCustPostingGroupReceivablesAccount | (var Code[20], var Boolean) | 23-28 | - | - |
| Integration event | OnBeforeCheckVendPostingGroupPayablesAccount | (var Code[20], var Boolean) | 23-28 | - | - |
| Integration event | OnBeforeConfirmPostingAfterWorkingDate | (var Text, var Date, var Boolean, var Boolean) | 23-28 | - | - |
| Integration event | OnBeforeCheckGenPostingSetupPurchAccount | (var Code[20], var Code[20], var Boolean) | 23-28 | - | - |
| Integration event | OnBeforeSendGenPostingSetupNotification | (Record General Posting Setup, Text, var Boolean) | 23-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.
