> ## Documentation Index
> Fetch the complete documentation index at: https://human-resource-docs.ha-consultancy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Dimensions

> How Business Central shortcut dimensions flow through HR journal lines and G/L postings, what is captured automatically, and which dimensions are not supported.

Business Central dimensions tag every G/L entry with up to eight analytical attributes (department, project, cost centre, etc.). This page documents how the HR extension interacts with that mechanism.

## What is captured

The **Employee Journal Line** (Tab `70003160`) carries the two **shortcut dimensions** — the global dimensions defined in **General Ledger Setup**, fields `Shortcut Dimension 1 Code` and `Shortcut Dimension 2 Code`. They are visible on the Employee Journal page and editable per line.

When the journal is posted, the posting codeunit (`Employee Jnl. Post Mng. HAC`, Codeunit `70003133`) copies both values onto the Gen. Journal Line before handing it to BC's standard `Gen. Jnl.-Post Batch`. From that point the standard BC dimension logic applies — the resulting Employee Ledger Entry and G/L Entries carry the shortcut dimensions exactly as configured.

| Surface                       | Dimension support                                          |
| ----------------------------- | ---------------------------------------------------------- |
| Employee Journal Line (entry) | Shortcut Dimension 1 & 2 only                              |
| Gen. Journal Line (posting)   | Shortcut Dimension 1 & 2 are copied through                |
| Employee Ledger Entry         | Filled by BC's standard posting from the Gen. Journal Line |
| G/L Entry                     | Filled by BC's standard posting                            |

## What is **not** captured

The Employee Journal Line table does **not** define a full Dimension Set ID. As a result:

* **Dimensions 3–8** (any non-global dimension you may have configured) are **not** carried by the journal entry. If you rely on more than two dimensions on HR postings you will need to enter them manually on the resulting G/L entries, or build a custom event subscriber that populates the Dimension Set ID before posting.
* **Default dimensions on the employee** (set under the Employee card → **Dimensions**) are still resolved by BC's standard posting flow when it sees `Account Type = Employee`. That works correctly out of the box for the two shortcut dimensions, but again, not for dimensions 3–8 originating from the HR line itself.

## Recommended configuration

If your organisation uses dimensions for HR reporting:

1. Open **Tell Me** → **General Ledger Setup** and confirm which dimensions you have promoted to **Shortcut Dimension 1** and **Shortcut Dimension 2**. Typical choices are `DEPARTMENT` and `BRANCH`.
2. On each Employee Card, open **Related → Employee → Dimensions** and set default values for that employee. These flow automatically into postings.
3. When entering Employee Journal lines, the shortcut dimension fields are visible inline — override the defaults if needed.

## Mapping employee attributes to dimensions

The extension's Department, Branch, and Work Type lists are **separate** from BC's Dimensions framework. If you want HR analytics in your G/L reports, the convention is:

* Promote `DEPARTMENT` as Shortcut Dimension 1 in General Ledger Setup, and create one Dimension Value per HR Department you maintain.
* Set the default Shortcut Dimension 1 on each employee to match their HR Department.
* Optionally do the same with `BRANCH` as Shortcut Dimension 2.

This keeps the HR master data and the financial dimensions in sync without requiring any custom code.

## Object reference

| Object                                 | ID       | Notes                                                                  |
| -------------------------------------- | -------- | ---------------------------------------------------------------------- |
| Table `Employee Journal Line HAC`      | 70003160 | Defines fields 15 and 16 for the two shortcut dimensions               |
| Page `Employee Journal HAC`            | 70003177 | Surfaces both shortcut dimension fields inline                         |
| Codeunit `Employee Jnl. Post Mng. HAC` | 70003133 | Copies both shortcut dimensions onto Gen. Journal Lines before posting |

## Related pages

* [Employee Posting Groups](/configuration/posting-groups) — G/L offset accounts
* [Journals](/features/journals) — Employee Journal walkthrough
