Skip to main content

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.

Employee Posting Groups are how Business Central decides which G/L account to debit or credit when an Employee Journal Line is posted. This page covers both the standard BC field that drives posting and the 10 reference fields this extension adds on top.

How HR posting works in BC

When you post an entry from the Employee Journal, the extension hands the lines to BC’s standard Gen. Jnl.-Post Batch codeunit. Every line is built with:
Account Type = Employee
Account No.  = <Employee No.>
BC then resolves the G/L offset account in the following order:
  1. The Bal. Account No. on the journal line itself (if set).
  2. The Bal. Account No. on the Gen. Journal Batch (if the line doesn’t have one).
  3. The Payables Account on the Employee Posting Group of the employee (standard BC field).
The dimensions on the journal line (Shortcut Dimension 1 & 2) are carried through unchanged — see Dimensions.
The HR extension does not override BC’s standard posting flow. It feeds the standard codeunit; everything from balance checking to ledger-entry creation is BC’s stock behaviour.

The fields you must set

To post HR transactions you need exactly one standard BC field configured on each Employee Posting Group you use:
FieldWhere it livesRequired?
Payables AccountStandard Employee Posting Group (BC core)Required to post any employee entry
That is the only field the posting engine reads.

The 10 reference accounts added by this extension

The extension adds 10 extra G/L account fields to the Employee Posting Group page. They are reference fields — they document which G/L account should be hit for each HR-specific transaction type. They give a partner or finance manager one place to record their chart-of-accounts mapping, and they are intended to be consumed by:
  • A partner’s per-customer customization codeunit that defaults Bal. Account No. on lines based on document type.
  • Manual reference when entering one-off lines in the Employee Journal.
  • Reporting that needs to know which accounts collect each HR liability.
Field (HAC)Field IDWhat it accrues
Employees Salary Account70003104Salary expense
Employees Leave Account70003100Accrued leave liability
Employees Overtime Account70003101Overtime expense
Employees EOS Account70003103End-of-service liability
Employees Loans Account70003107Loan principal receivable
Emp. Loan Instal. Account70003110Loan installment offset
Employees Advance Account70003109Salary-advance receivable
Employees Bonus Account70003108Bonus expense
Employees Deduc. Account70003106Generic deductions
Employees Warnings Account70003105Disciplinary deductions
It is fine to leave any of these blank — the out-of-the-box posting flow does not require them.
  1. Open Tell MeEmployee Posting Groups.
  2. Open the posting group you assign to most employees (or create a new one named, for example, LOCAL).
  3. Set the Payables Account (standard BC field). This is the only mandatory step for posting.
  4. Optionally fill in any of the 10 reference accounts above to document your chart-of-accounts plan.
  5. Assign the posting group to each employee on their Employee Card under Invoicing.

Common pitfalls

SymptomLikely cause
”The journal lines were not posted because…” with a balance errorNo Bal. Account No. on the line or batch, and the posting group has no Payables Account
Posted entries show in Employee Ledger but no G/L impact for the offsetThe journal batch is missing a Bal. Account No. — set one or balance every line manually
The 10 HAC reference accounts are ignoredThis is expected. They are not consumed by the posting engine — see above

Object reference

ObjectIDNotes
Table extension Employee Posting Group HAC70003103Adds the 10 reference G/L account fields
Page extension Employee Posting Groups HAC70003103Surfaces the 10 reference fields on the standard page
Codeunit Employee Jnl. Post Mng. HAC70003133Maps Employee Journal Line → Gen. Journal Line and hands off to BC’s standard Gen. Jnl.-Post Batch (Codeunit 13)