web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

NAV starts up in wrong workdate

(0) ShareShare
ReportReport
Posted on by 1,045

Have a 2018 cu0, which when its starts up shows 6 mars 2018, at not today as workday, if manually, goes to set

workday and type D, the correct workday shows up.

The same for cronus, just another day.

Any guess where to change this issu

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Stefano Demiliani Profile Picture
    37,166 Most Valuable Professional on at

    Are you using Cronus demo company or others? For Cronus it’s managed on Codeunit 1 (CompanyOpen) otherwise it’s the system date.

  • Claus Macali.dk Profile Picture
    1,045 on at

    Using Cronus and others, if its managed cu1,  should then set workdate as the systems date, regardless what so ever

  • Suggested answer
    Stefano Demiliani Profile Picture
    37,166 Most Valuable Professional on at

    No, for Cronus the behavior is different, it has a "demo" workdate.

    All is managed in codeunit 1, check LogInStart() and CompanyOpen() function.

  • Claus Macali.dk Profile Picture
    1,045 on at

    the date code

    WITH CompanyInfo DO

     IF NOT FINDFIRST THEN BEGIN

       INIT;

       "Created DateTime" := CURRENTDATETIME;

       INSERT;

     END;

  • Suggested answer
    Stefano Demiliani Profile Picture
    37,166 Most Valuable Professional on at

    Are you using a demo license or a production one? A demo license affects the work date at startup.

  • Claus Macali.dk Profile Picture
    1,045 on at

    I am using a productions licens

  • Suggested answer
    Stefano Demiliani Profile Picture
    37,166 Most Valuable Professional on at

    Very strange, this absolutely never occours with a production license and a production company with name different than Cronus. Maybe could help if you try to debug step by step what happens on codeunit 1, where the work date is set.

  • Suggested answer
    Alexander Ermakov Profile Picture
    28,096 on at

    Do you have any customizations made to the database? What is the system date at the server?

  • Claus Macali.dk Profile Picture
    1,045 on at

    the system date is today and no modification

  • Verified answer
    Suresh Kulla Profile Picture
    50,245 Super User 2025 Season 2 on at

    Claus,

    It will depend on the setup. If it is a demo company which is setup on the Company Information then it will use the Last Entry of the GL Entry Posting Date if not it will use the Current Date. You can uncheck the Demo Company from the company information table and that will let you use the current date.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

#1
HoangNam Profile Picture

HoangNam 7

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans