otmfaqForumsBlogsRegister
FAQMembers ListCalendarToday's PostsSearch


 Subscribe Blogs:RSS
 Subscribe Forums:RSS
OTMFAQ Home
OTMFAQ Blogs
OTMFAQ Forums
OTMFAQ Tutorials

OTM SIG
MavenWire


Integration and Data Mapping Integrating OTM / G-Log with external and legacy systems - including XML, WebServices, SOA, ESB, BPEL, EDI and Oracle's Fusion.

Tags:

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old October 17th, 2007, 07:29
Member
 
Join Date: Aug 2007
Posts: 74
Thanks: 8
Thanked 0 Times in 0 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 2
nikesh mohanlal is on a distinguished road
Smile Data mismatch

Hi All,

Urgency:Yes
Version:5.5 CU3

I have developed a finder screen for Order Release .I create a order release with twos cenarios:
1.Give early pickupdate as oct 10,2007,00:00 hrs and let the order release gid be assumed as 'X1'(after creation)
2.Give early pickupdate as oct 10,2007,07:00 hrs and let the order release gid be assumed as 'X2'(after creation)

But When I search with early pickupdate as Oct 9,2007 I get to see the 'X1' order release.And When I serach with early pickupdate as Oct10,2007,I see only 'X2' order release.The reason is because in DB,it stores for 'X1' order release,the early pickupdate as Oct 9,2007:22:00 hrs and for 'X2' order release,the early pickupdate as Oct 10,2007:05:00 hrs.That means what value I give,it subtracts 2 hrs less and stores in DB.So I get 'X1' order release record also when I search with early pickupdate as Oct 9,2007 .

Can anyone let me know how to make the time in DB and UI in synch.Also please let me know if my understanding is wrong and also the solution for the above problem.

I have not set any preference regarding time zone.The time dispalyed in UI is from CET standard.

Thanking and regards,
Nikesh.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old October 18th, 2007, 16:52
Junior Member
 
Join Date: Sep 2006
Posts: 3
Thanks: 1
Thanked 1 Time in 1 Post
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 0
mldeuel is on a distinguished road
Re: Data mismatch

Dates are stored in UTC/GMT in the database. The UI converts the dates to the "local" date/time based on the timezone for the location that date is associated to.

You really do not want the dates in the UI and database to be the same this would negatively impact a lot of things in OTM let alone the business....for example, when I tender is sent out to a carrier, OTM will convert the pickup date/time on the tender to the timezone for the location where the shipment is to be picked up....if you do away with this conversion (which I don't believe you can do) this would result in the carrier being notified of the wrong time to pick up the shipment which could result in additional charges for the carrier to come back at the correct time to pick up the shipment, etc.....

I believe this is explained in the documentation supplied w/ the install, or you can go to Oracle's site to get copies of the documentation (use the link supplied in OTM Help).
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following User Says Thank You to mldeuel For This Useful Post:
chrisplough (October 19th, 2007)
  #3 (permalink)  
Old October 19th, 2007, 14:26
chrisplough's Avatar
Site Moderator
 
Join Date: Jun 2006
Location: West Chester, PA
Posts: 821
Blog Entries: 7
Thanks: 53
Thanked 201 Times in 121 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 10
chrisplough has a spectacular aura aboutchrisplough has a spectacular aura aboutchrisplough has a spectacular aura about
Send a message via AIM to chrisplough
Re: Data mismatch

In addition, you can look at the following post, which gives a few more documentation links. As mldeuel noted, though - please be careful, and be sure to check the OTM online help - it's pretty good.

http://www.otmfaq.com/forums/f63/sol...fa-66/#post122 ([SOLVED] BR100 and/or BFA)

--Chris
__________________
Chris Plough
MavenWire

www.MavenWire.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 22:30.
Copyright © 2008, Open Book Solutions LLC. All rights reserved.

Sponsored by MavenWire - MavenWire.com


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37