Automating Posting Periods in Business Central with Date Formulas
Date formulas enable automatic posting period adjustments in Business Central based on today's date instead of fixed dates. This feature applies to General Ledger Setup, User Setup, and General Journal Templates, reducing manual updates and posting errors.
Read it hereOpen in Claudetag-blogger-com-1999-blog-3122193036149030463-post-6476700913383925526--f5fa15da26.md

post Saurav Dhyani
"Date formulas are dynamic expressions that calculate allowed posting ranges relative to today's date."
Key points
- Date formulas define allowed posting ranges relative to the current date, so posting windows move automatically instead of needing manual updates.
- They can be set in General Ledger Setup, User Setup and General Journal Templates.
- Restrictions are checked in order: User Setup, then General Ledger Setup, then General Journal Template when its mandatory toggle is on.
- Examples include current month only, rolling 30 days, previous month close and today only.
- A formula can be used for one boundary while the other boundary stays a fixed date.
Quotes
- “Date formulas are dynamic expressions that calculate allowed posting ranges relative to today’s date.” (This explains the core concept of how date formulas work as smart boundaries that move with time rather than being static.)
- “You can combine formulas with fixed dates - one boundary can be dynamic, the other fixed.” (This flexibility allows organizations to implement hybrid approaches that mix static and dynamic posting period controls.)
AL objects mentioned
As named in the post. A name that matches one object page by exact type and name links to it; the others stay as named.
- table 98 “General Ledger Setup”
- table 91 “User Setup”
- table “General Journal Templates”
Not found in BC28-30: table “General Journal Templates”.
Possibly related
No source states these links: they share an object, a model read them, or a person found the same subject.
- Allow Posting Date Formula — possibly related: both name Table 98 “General Ledger Setup”
- Allow Posting From/To DateFormula: No More Monthly Date Updates from Business Central v28 — possibly related: both name Table 98 “General Ledger Setup”
- Business Central 2026 release wave 1 (BC28): Calculate withholding taxes for vendors (Withholding Tax) — possibly related: both name Table 98 “General Ledger Setup”
- Control Deferral Posting — possibly related: both name Table 98 “General Ledger Setup”
- Dynamics 365 Business Central: “Hide Company Bank Account” setup in General Ledger Setup (Update Company Bank Account on posted documents) — possibly related: both name Table 98 “General Ledger Setup”
- Dynamics 365 Business Central: How to prevent users from uploading duplicate files as attachments (Duplicate file names) — possibly related: both name Table 98 “General Ledger Setup”
- How to Use Date Formulas for Allowed Posting Periods in Business Central BC28. — possibly related: both name Table 98 “General Ledger Setup”
- Specify posting periods — possibly related: names Table 91 “User Setup”
- Understanding Business Central’s Format Address Codeunit — possibly related: both name Table 98 “General Ledger Setup”
- Weekly Review: Business Central AL Development – May 31–June 6, 2026 — possibly related: both name Table 98 “General Ledger Setup”
Context
- Features: Date formulas for posting restrictions, Dynamic posting windows, Automated posting period management, Relative date calculations
- Versions: 2026 Wave 1
Source: Saurav Dhyani, community blog. Summary, key points and quotes are derived (CONTENT-NOTICE.md); read the original for the full text.