Automation · D365 F&O

Accounting Period Management

Simulate Dynamics 365 ledger calendar changes across companies, including on-hold status, module-level access, and controlled temporary reopening.

Overview

I built a period-opening solution in November 2026. Bulk execution, closing, temporary restoration, approvals and module-specific access below are proposed educational scenarios.

Project origin ·

Dynamics 365 F&O · Ledger calendars · Power Platform · SharePoint

  • Ledger calendar status
  • Bulk company selection
  • Module posting access
  • Temporary reopening
  • Restoration and audit history

Standard ledger calendar controls

The standard D365 ledger calendar provides period status and module-level posting access. The original integration mechanism is unconfirmed. Apply authorized changes through the standard Ledger calendars page unless a documented, supported integration is verified.

Architecture

  1. Capture scope, business reason and desired status
  2. Validate ledger period, authorization and approvals
  3. Apply through authorized standard ledger calendar controls
  4. Verify actual ERP state and record each result

Scenarios

Open or hold a period
Open an authorized period or place it on hold. Changes matching the current configuration return a no-change result.
Multi-company request
Record separate outcomes for each company and preserve current state on failure.
Temporary reopen and restore
Require a future expiry. Restore prior period and module settings unless a newer adjustment superseded the request.
Module and user-group access
Choose All, None or an approved user group for a selected module.
Permanent closure and failed authorization
Reject changes to permanently closed periods and require authorization, approval and a business reason.

Authorized execution pattern

Supported ledger calendar control path

Dynamics 365 Finance → General ledger → Ledger setup → Ledger calendars
Select legal entity and fiscal period → verify period status and module posting access

Fictional dataset

Four fictional legal entities and four fiscal periods. Default module access is All, subject to the ledger period status.

Preview the sample dataset
Downloadable fictional records
Legal entityFiscal periodLedger statusGeneral ledgerAccounts payableAccounts receivableProject accounting
DEMO-A 2026-09 Permanently closed All All All All
DEMO-A 2026-10 On hold All All All All
DEMO-A 2026-11 Open All All All All
DEMO-A 2026-12 On hold All All All All
DEMO-B 2026-09 Permanently closed All All All All
DEMO-B 2026-10 On hold All All All All
DEMO-B 2026-11 Open All All All All
DEMO-B 2026-12 On hold All All All All
DEMO-C 2026-09 On hold All All All All
DEMO-C 2026-10 On hold All All All All
DEMO-C 2026-11 Open All All All All
DEMO-C 2026-12 On hold All All All All
DEMO-D 2026-09 Permanently closed All All All All
DEMO-D 2026-10 Open All All All All
DEMO-D 2026-11 Open All All All All
DEMO-D 2026-12 On hold All All All All

Illustrative SharePoint backend

The D365 ledger calendar is authoritative. SharePoint records requests and execution evidence. Treat cached states as time-stamped observations.

These proposed schemas use logical internal names. Confirm names, choice and person values, and connector delegation in your tenant. Sample references are fictional identifiers.

Download SharePoint schemas and examples
AccountingPeriodRequests · List
AccountingPeriodRequests schema
Internal column nameField typeIndex and key
Title Single-line text —
RequestID Single-line text Unique and indexed
LegalEntity Single-line text Candidate index
FiscalYear Single-line text —
PeriodName Single-line text —
PeriodStart Date only —
PeriodEnd Date only —
Module Choice —
PreviousStatus Choice —
RequestedStatus Choice —
PostingAccess Choice —
UserGroup Single-line text —
BusinessReason Multiple lines of text —
RequestedBy Person —
ApprovedBy Person —
ApprovalStatus Choice Candidate index
TemporaryOpening Yes/no —
RestoreOn Date and time (UTC) —
IntegrationStatus Choice —
ActualResultingStatus Choice —
ExecutionTime Date and time (UTC) —
ErrorMessage Multiple lines of text —
PeriodExecutionLogs · List
PeriodExecutionLogs schema
Internal column nameField typeIndex and key
Title Single-line text —
EventID Single-line text Unique and indexed
RequestID Single-line text Candidate index
Result Choice —
Error Multiple lines of text —
Time Date and time (UTC) —
PeriodStatusCache · List
PeriodStatusCache schema
Internal column nameField typeIndex and key
Title Single-line text —
StatusKey Single-line text Unique and indexed
LegalEntity Single-line text Candidate index
Period Single-line text —
Module Single-line text —
State Choice —
Refreshed Date and time (UTC) —

Read an operational list

GET https://<tenant>.sharepoint.com/sites/Demo/_api/web/lists/getbytitle('AccountingPeriodRequests')/items
?$select=RequestID,LegalEntity,FiscalYear,PeriodName,ApprovalStatus
&$filter=LegalEntity eq 'DEMO-A'

Use indexed, delegable filters and pagination. The 5,000-item List View Threshold applies to affected queries. Use stable unique keys, concurrency controls, version history and separate execution logs.

Enforce least privilege directly on lists, libraries and integration identities. Keep sensitive values out of general history and use restricted libraries for supporting documents. Review retention, archiving and any ERP or connector licensing in the target environment.

A Power Automate flow can retrieve the relevant records, validate them, request approval when required, prepare the payload, use documented authorized integration where available, verify the ERP result, update the request and log the outcome.

Implementation pattern

Treat period control and module access as separate settings. Record the authorized requester, reason, approval, company, period, ERP result and restoration conditions. Confirm actual status after each operation.

Try the demo

Fictional data · Runs locally in your browser

Test authorized ledger calendar changes against the fictional matrix. Period status applies across the ledger. The module filter shows posting access for the chosen module.

Status legend · Open allows posting subject to module access, On hold blocks posting, and Permanently closed cannot reopen.

Ledger status and posting access by company and period
CompanySep 2026Oct 2026Nov 2026Dec 2026
Legal entities
Authorization and failure simulation

Restoration preview

Pending temporary opening restorations
CompanyPeriodExpiry (UTC)Prior statusPrior access

Execution history

Per-company execution outcomes
CompanyPeriodResultActual statusModuleAccessReason

Validation

Confirm authorization controls, permanent closure protection, no-change outcomes, result logging on partial failures, and safe restoration without overwriting later changes.

Documentation

All projects published on this website are independent educational demonstrations based on standard Microsoft Dynamics 365 Finance & Operations data entities and publicly documented APIs. All datasets, company identifiers, account codes, transaction references and financial amounts are fictional. No proprietary code, confidential business information or organizational data is reproduced. Entity availability, field definitions, permissions and supported operations may vary by application version and environment configuration.