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 ?
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.
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.
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 ?
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
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.
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...
Comments
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
Alright, i change my question :
is it save use client date than server date ?
RIS Plus, LLC
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.
http://www.BiloBeauty.com
http://www.autismspeaks.org
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 ?
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
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"
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
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.
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
yupe, you right. how stupid i am.
forgive my ignorance.
thanx