on 04-12-2007 2:13 AM
<p>We are using JD Edwards and I am building a Universe against some of its data. The problem I am running into deals with converting Julian Dates to Standard Dates as part of the Universe Design. There seem to only be a limited number of functions in the universe designers function builder. </p><p> JDE would store January 1, 2007 as 107001. </p><p>Please let me know the best way to facilitate the conversion.</p>
Hello, we have created direct connect universes for JDE many times over the years. The answer to your question depends on the JDE database you are connecting to. If the database is SQL Server then try this: select DATEADD(day,CONVERT(int,F0911.GLDGJ) - ((1000*(CONVERT(int,F0911.GLDGJ)/1000))) - 1, DATEADD(year,CONVERT(int,F0911.GLDGJ/1000), '1 Jan 1900')). If the database is DB2/400 on iSeries then try this: DATE ( DIGITS (DECIMAL (F0911.GLDGJ+1900000,7,0) ) ).
Let me know if this works for you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Manish
You could look at http://www.itjungle.com/mgo/mgo090602-story01.html for relevant information.
User | Count |
---|---|
89 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.