Posting Date - Date vs DateTime on SQL

CobaltSS
Member Posts: 137
Hi,
How popular would the request be to have MS change the Posting Date to a DateTime variable? Can I get a show of hands? On table 36 we've added a CreatedDateTime variable, and it's passd through to table 112 when posted. To calculate turn around time of the order from Create to Post, I currently need to estimate the posting time, and then I do a Duration calculation. I'm curious to know if other implementations are using this metric as a KPI for their orders, and then how it's being done.
My initial thought was to add a Posting DateTime variable, but when I looked at the SQL table, Posting Date already is a DateTime variable. So, why shouldn't it be DateTime in NAV?
I'm on a 4.0 client with a 3.70B database, if that makes a difference.
cheers,
How popular would the request be to have MS change the Posting Date to a DateTime variable? Can I get a show of hands? On table 36 we've added a CreatedDateTime variable, and it's passd through to table 112 when posted. To calculate turn around time of the order from Create to Post, I currently need to estimate the posting time, and then I do a Duration calculation. I'm curious to know if other implementations are using this metric as a KPI for their orders, and then how it's being done.
My initial thought was to add a Posting DateTime variable, but when I looked at the SQL table, Posting Date already is a DateTime variable. So, why shouldn't it be DateTime in NAV?
I'm on a 4.0 client with a 3.70B database, if that makes a difference.
cheers,
0
Comments
-
[Topic moved from Navision forum to SQL General forum]
The reason is that SQL does NOT know the type DATE or TIME. For both is used datetime is SQL. In SQL 2008 a date- and a time-type will exist. (I don't know anything what Navision on SQL2008 will do, probably they don't even know it yet)
The reason that Navision does not use the time-part is that it is not useful. The Posting Date has ALWAYS been a date in Navision, so why change it?
The best you can do is add a new variable "Posting DateTime" and use that for your calculations.Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0 -
And there is nother "why not": DateTime type is TimeZone depending - it means in countries which are using DayLight saving time, the time part will change during year and it is not good, because if someone will post the document 5.12.2008 in 23:30, in few months it can look like it was posted in 6.12.2008 00:30 and this is wrong...0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions