---
id: post/mohana-blog/tag-blogger-com-1999-blog-1492436440038408053-post-4842738910605275102--13a8589b03
type: post
title: Who Keeps Moving My Business Central Work Date?
summary: The Work Date setting in demo companies like Cronus automatically resets to the posting date of the last G/L Entry on every login or session refresh, rather than preserving the user's configured value. Use an event subscriber on the OnAfterLogin event to override this behavior and set the Work Date to today's date instead.
tier: community
language: en
tags:
  - work date
  - login behavior
  - demo company
  - event subscription
  - codeunit configuration
system: administration
review:
  state: reviewed
  by: opus
  at: "2026-10-08T01:56:09.637Z"
  flags: []
generated:
  at: "2026-10-08T01:26:53.141Z"
  pipeline: 0.2.0
  prompts:
    extract-post: 1
  input_hash: 333fd792bb62ff8e37b9b9b0febc60ea3f431354e5e6a27c6c097233613c236c
evidence:
  - kind: blog
    url: http://mohana-dynamicsnav.blogspot.com/2026/03/who-keeps-moving-my-business-central.html
    title: Who Keeps Moving My Business Central Work Date?
    date: "2026-03-10"
    commit: null
    t: null
    quote: null
links:
  learn: []
  objects:
    - object/codeunit/40
    - object/codeunit/150
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
post_id: tag:blogger.com,1999:blog-1492436440038408053.post-4842738910605275102
source_id: mohana-blog
source_name: Mohana's Dynamics NAV & BC blog
url: http://mohana-dynamicsnav.blogspot.com/2026/03/who-keeps-moving-my-business-central.html
published_at: "2026-03-10T06:14:00.000Z"
author: Mohana Yadav
full_text: false
words: 503
quotes: []
code_objects_mentioned:
  - codeunit LogInManagement
  - codeunit System Initialization
systems:
  - administration
  - platform
versions_mentioned: []
preview:
  embeddable: true
  frame_url: null
  image: https://blogger.googleusercontent.com/img/a/AVvXsEhNsHg4z06qNaoSuwu5fgJjI059vW0thgywRveTYqKyazPjlYX-HGPMf0-Fy02Qw6jQqDHBlgZ5JMgAoTEslQVo8xrGgHpoKQbJwzhcHu1GcCDYCF4YHP7Duwc2B6MAa1988KwB9Fj6YF1ty1vFrPERLbGoQnsmqJ9CSpTdxwH1u1EO-WMpMftd52ovrz54=w1200-h630-p-k-no-nu
  image_alt: null
  image_w: null
  image_h: null
  site_name: null
  favicon: https://mohana-dynamicsnav.blogspot.com/favicon.ico
  probed_at: "2026-10-07T11:50:36.838Z"
---

# Who Keeps Moving My Business Central Work Date?

[Read the post](http://mohana-dynamicsnav.blogspot.com/2026/03/who-keeps-moving-my-business-central.html) · Mohana's Dynamics NAV & BC blog (Mohana Yadav) · 2026-03-10 · 503 words · tier community · reviewed (checked by Opus)

> The Work Date setting in demo companies like Cronus automatically resets to the posting date of the last G/L Entry on every login or session refresh, rather than preserving the user's configured value. Use an event subscriber on the OnAfterLogin event to override this behavior and set the Work Date to today's date instead.

## Key points

- Codeunit 40 (LogInManagement) calls GetDefaultWorkDate() which retrieves the posting date from the most recent G/L Entry for demo companies
- The Work Date resets every login, session timeout, or browser refresh to whatever that G/L Entry date is, overriding user settings
- This affects consultants, partners, and businesses running on demo or evaluation environments that still have the IsDemoCompany flag set to true
- Subscribe to the OnAfterLogin event from Codeunit 150 (System Initialization) and call WorkDate(Today) to force the Work Date to today before users see any pages

## 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.

- [codeunit 40 "LogInManagement"](../../objects/codeunit/40.md)
- [codeunit 150 "System Initialization"](../../objects/codeunit/150.md)

## Context

- Features: Work Date management, Login event handling, Demo company default behavior, G/L Entry posting date tracking, Event subscriber pattern, Session initialization

Source: Mohana's Dynamics NAV & BC blog, community blog. Summary, key points and quotes are derived (CONTENT-NOTICE.md); read the original for the full text.
