Dynamically Calculate Posting Periods

Prev Next

Enhancement Overview


Microsoft have introduced enhanced control over posting periods by allowing them to be calculated dynamically using date formulas.

Instead of relying on fixed dates that must be manually updated each period, you can now define posting ranges using formulas. The system then automatically calculates the allowed posting window based on the current work date.

This provides a more flexible and maintenance-free approach to managing when users can post transactions to the general ledger.

How It Works


This functionality is available within standard posting period setup areas in Business Central.

You can now:

  • Define posting periods using date formulas instead of fixed dates

  • Apply these formulas within:

    • General Ledger Setup

    • User Setup

  • Allow the system to automatically calculate the valid posting date range based on the current work date

Each time a posting date is validated, the system evaluates the formula and determines whether the date falls within the allowed posting period.

You can also combine approaches by using a formula for one boundary (e.g. From) and a fixed date for the other (e.g. To), depending on how much control is required.

Example

To better understand how this works, here’s a simple scenario:

  • You want users to only post within the current month

  • Set:

    • Allow Posting From Date Formula = <-CM>

    • Allow Posting To Date Formula = <CM>

If today’s (work) date is 17 March 2026, the system will automatically calculate the allowed range as:

  • 1 March 2026 → 31 March 2026

As the month changes, this range updates automatically without any manual changes required.

At A Glance


Why Is It Useful?


This enhancement reduces the need for manual maintenance of posting periods and helps ensure they remain accurate over time.

By automatically adjusting posting windows, it helps minimise errors caused by outdated or incorrectly set posting dates. It also provides greater flexibility, allowing organisations to define dynamic posting rules that adapt as time progresses, rather than relying on static configurations.

System/User Requirements


Requirement

Description

System Version

This enhancement is available within version 28.0 or later of Business Central.

Permissions

D365 Basic Permission set covers usage for this enhancement.

Feature Management

No Feature Management is required for this enhancement to be used.