Document form doesn't related to date server.

wirowiro Member Posts: 92
edited 2006-01-04 in Navision Attain
Hi again.
I'm sorry for my ignorance. I'm new here.
If battery for cmos in client computer empty, then all date on document form in client computer wouldn't accurate.
Should i use server date ?

Comments

  • krikikriki Member, Moderator Posts: 9,112
    This forum is for Navision questions, not for hardware questions. At best, this would be a question for the General chat forum.
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


  • wirowiro Member Posts: 92
    Thank you for your correction.
    Alright, i change my question :
    is it save use client date than server date ?
  • DenSterDenSter Member Posts: 8,307
    You can only use the system date, which is the date of the machine that the code runs on. In Navision you can't get the date from the server if you are working in a client session, at least not with regular keywords.
  • SavatageSavatage Member Posts: 7,142
    how far off was this date?

    As mentioned in a few posts you should think about using the G/L->G/L Setup-> Allow Posting From & To fields to Halt any posting with dates that are way off.

    It's like a safety net.
  • wirowiro Member Posts: 92
    Thanks.
    Alright, it's true.
    Just like DenSter said, you can only use the system date, which is the date of the machine that the code runs on. It means, the date between client and server could be different. Don't you think it is a problem if client date is off (maybe because of the battery), every date on document that made could be wrong, unless the user is watching precisely for the posting date, order date....
    Or maybe i was wrong with this ?
  • ara3nara3n Member Posts: 9,256
    windows has a feature that corrects it's time with domain server or you can setup it up to correct with a website on the net. That should fix the problem.
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
  • kinekine Member Posts: 12,562
    Replace the battery, THIS will solve the problem... :-)

    Yes, there are ways how to check server date, but better is to sync the date and time for example with running "net time \\server /set"
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • wirowiro Member Posts: 92
    Sorry for the late reply.
    Yupe, those are true, but the feature in window doesn't real time. I have tried, i still can change the time, and it works. I mean, the user still can do "tricky" with the system.
    Is it right ? Thanx before.
    Merry x'mas n happy new year.
  • kinekine Member Posts: 12,562
    Of course, user can change time on the PC, can use another workdate etc. But I think that you can change the time only if you have enough rights on the PC...
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • wirowiro Member Posts: 92
    :lol:
    yupe, you right. how stupid i am.
    forgive my ignorance.
    thanx
Sign In or Register to comment.