---
id: object/table/5221
type: object
title: Table 5221 "Employee Posting Group"
summary: Table 5221 "Employee Posting Group" in Base Application (Microsoft.HumanResources.Employee). 6 fields, 3 public procedures. Present since at least BC23, still in BC30, changed in BC24, BC26, BC28.
tier: official
language: en
tags:
  - table
  - base application
versions:
  introduced: null
  last_changed: "28"
  deprecated: null
review:
  state: derived
  by: null
  at: null
  flags: []
generated:
  at: "2026-10-11T00:31:51.816Z"
  pipeline: 0.2.0
  prompts: {}
  input_hash: 34806afab88d378ab95391e1ef2affa2259a9cd77a15c65016d4de5685ed1484
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/HumanResources/Employee/EmployeePostingGroup.Table.al
    title: src/Layers/W1/BaseApp/HumanResources/Employee/EmployeePostingGroup.Table.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn:
    - https://learn.microsoft.com/dynamics365/business-central/finance-how-record-reimburse-employee-expenses
  objects: []
  features: []
  topics:
    - topic/business-central/business-functionality/expense-management-preview/work-with-expenses-in-business-central
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: table
object_id: 5221
name: Employee Posting Group
namespace: Microsoft.HumanResources.Employee
app: Base Application
extends: null
first_version: "23"
last_version: "30"
present_in:
  - "23"
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in:
  - "24"
  - "26"
  - "28"
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 6
  procedures: 5
  events: 0
  subscribers: 0
relations:
  out: 6
  referenced_by: 12
  pages: 1
  extended_by: 1
  event_subscribers: 0
  calls: 1
  called_by: 0
  implements: 0
---

# Table 5221 "Employee Posting Group"

> Table 5221 "Employee Posting Group" in Base Application (Microsoft.HumanResources.Employee). 6 fields, 3 public procedures. Present since at least BC23, still in BC30, changed in BC24, BC26, BC28.

Base Application · Microsoft.HumanResources.Employee · BC23-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/HumanResources/Employee/EmployeePostingGroup.Table.al) · facts from BC29

Learn documents this table through its pages: [Page 5224 "Employee Posting Groups"](../page/5224.md) (1 Learn page).

## Properties

| Property | Value |
|---|---|
| Caption | Employee Posting Group |
| DataClassification | CustomerContent |

## Fields

Explanation: the field's ToolTip in the code; without one, the ToolTip of a page control bound to the field (marked via the page); without that, its Caption (marked caption) when that differs from the name.

| No. | Name | Type | Explanation | Notes |
|---|---|---|---|---|
| 1 | Code | Code[20] | Specifies an identifier for the employee posting group. | NotBlank |
| 2 | Payables Account | Code[20] | Specifies the general ledger account to use when you post payables to employees in this posting group. | TableRelation [Table 15 "G/L Account"](../table/15.md) (G/L Account) |
| 10 | Debit Curr. Appln. Rndg. Acc. | Code[20] | Specifies the general ledger account to use when you post rounding differences. These differences can occur when you apply entries in different currencies to one another. | TableRelation [Table 15 "G/L Account"](../table/15.md) (G/L Account) |
| 11 | Credit Curr. Appln. Rndg. Acc. | Code[20] | Specifies the general ledger account to use when you post rounding differences. These differences can occur when you apply entries in different currencies to one another. | TableRelation [Table 15 "G/L Account"](../table/15.md) (G/L Account) |
| 12 | Debit Rounding Account | Code[20] | Specifies the general ledger account number to use when you post rounding differences from a remaining amount. | TableRelation [Table 15 "G/L Account"](../table/15.md) (G/L Account) |
| 13 | Credit Rounding Account | Code[20] | Specifies the general ledger account number to use when you post rounding differences from a remaining amount. | TableRelation [Table 15 "G/L Account"](../table/15.md) (G/L Account) |

## Keys

- Key1: Code (clustered)

## Procedures

- `GetPayablesAccount(): Code[20]`
- `GetRoundingAccount(Debit: Boolean): Code[20]`
- `GetApplRoundingAccount(Debit: Boolean): Code[20]`

Plus 2 local procedures.

## Triggers

OnDelete

## Relations

- lookup page [Page 5224 "Employee Posting Groups"](../page/5224.md)
- Credit Curr. Appln. Rndg. Acc.: TableRelation [Table 15 "G/L Account"](../table/15.md)
- Credit Rounding Account: TableRelation [Table 15 "G/L Account"](../table/15.md)
- Debit Curr. Appln. Rndg. Acc.: TableRelation [Table 15 "G/L Account"](../table/15.md)
- Debit Rounding Account: TableRelation [Table 15 "G/L Account"](../table/15.md)
- Payables Account: TableRelation [Table 15 "G/L Account"](../table/15.md)

## Referenced by

12 fields in 11 objects relate to this table (TableRelation or CalcFormula).

- [Table 962 "Alt. Employee Posting Group"](../table/962.md): Alt. Employee Posting Group, Employee Posting Group
- [Table 1384 "Employee Templ."](../table/1384.md): Employee Posting Group
- [Table 4770 "Human Resources Module Setup"](../table/4770.md): Employee Posting Group
- [Table 5200 "Employee"](../table/5200.md): Employee Posting Group
- [Table 5222 "Employee Ledger Entry"](../table/5222.md): Employee Posting Group
- [Table 5223 "Detailed Employee Ledger Entry"](../table/5223.md): Posting Group
- [Table 6906 "Expense Report Header"](../table/6906.md): Employee Posting Group
- [Table 6912 "Expense Ledger Entry"](../table/6912.md): Employee Posting Group
- [Table 6915 "Posted Expense Report Header"](../table/6915.md): Employee Posting Group
- [Table 81 "Gen. Journal Line"](../table/81.md): Posting Group
- [Table 86 "Exch. Rate Adjmt. Reg."](../table/86.md): Posting Group

## Pages and codeunits on this table

- [Page 5224 "Employee Posting Groups"](../page/5224.md) (source table)

## Extended by

- [Table extension 6900 "Exp. Employee Posting Group"](../tableextension/6900.md)

## Calls

From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an `Object::"Name"` argument. Interface dispatch and calls through events are not counted, so the list is not complete.

- [Codeunit 48 "PostingSetupManagement"](../codeunit/48.md) (3 calls: `GetApplRoundingAccount → LogEmplPostingGroupFieldError`, `GetPayablesAccount → LogEmplPostingGroupFieldError`, `GetRoundingAccount → LogEmplPostingGroupFieldError`)

## Across versions

- Present in: BC23-30
- Changed (declaration) in: BC24, BC26, BC28

Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).

## Ask your agent

Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: `bcatlas_resolve_node(object_type: "table", object_name: "Employee Posting Group")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
