otmfaqForumsBlogsRegister
FAQMembers ListCalendarToday's PostsSearch


 Subscribe Blogs:RSS
 Subscribe Forums:RSS
 Follow New Posts:Twitter
OTMFAQ Home
OTMFAQ Blogs
OTMFAQ Forums
OTM Wiki

OTM SIG
OTM Wiki
MavenWire


Feature Requests and Inquiries Looking for features in OTM that aren't there yet, or trying to figure out if they are? Post it here.

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old January 8th, 2010, 07:10
Senior Member
 
Join Date: Aug 2008
Posts: 123
Groans: 0
Groaned at 0 Times in 0 Posts
Thanks: 2
Thanked 0 Times in 0 Posts
Rep Power: 2
vsevs is on a distinguished road
Removing Time from Date fields in OTM

Hi,
Is it possible to remove / hide time from the date fields in OTM screens. We have time in every date field but we don't need the time as don't use time details in our transportation orders.

Thanks,
Venkat.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old January 8th, 2010, 08:20
Senior Member
 
Join Date: Apr 2008
Location: Taiwan
Posts: 209
Groans: 0
Groaned at 0 Times in 0 Posts
Thanks: 12
Thanked 98 Times in 74 Posts
Rep Power: 3
josephliang will become famous soon enoughjosephliang will become famous soon enough
Send a message via MSN to josephliang Send a message via Skype™ to josephliang
Re: Removing Time from Date fields in OTM

To remove time from screen may not be easy.
But you may use property glog.query.asDateColumns.<table_name=column_name_1,column_name_2>
Quote:
Indicates which columns should be treated as a date instead of a date/time when querying the system.
__________________
--
Joseph Liang
Enterprise Integration, Inc.

http://www.eiisolutions.net/
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old January 8th, 2010, 08:30
Senior Member
 
Join Date: Aug 2008
Posts: 123
Groans: 0
Groaned at 0 Times in 0 Posts
Thanks: 2
Thanked 0 Times in 0 Posts
Rep Power: 2
vsevs is on a distinguished road
Re: Removing Time from Date fields in OTM

Hi,
We want to do this in Order base lines (pickup and delivery dates), order Release and shipment screen dates. can you please tell me the in which property file i can find this particular property?

Thanks.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old January 8th, 2010, 09:29
Senior Member
 
Join Date: Apr 2008
Location: Taiwan
Posts: 209
Groans: 0
Groaned at 0 Times in 0 Posts
Thanks: 12
Thanked 98 Times in 74 Posts
Rep Power: 3
josephliang will become famous soon enoughjosephliang will become famous soon enough
Send a message via MSN to josephliang Send a message via Skype™ to josephliang
Re: Removing Time from Date fields in OTM

Th properties file is located in [OTM]/glog/config/glog.properties
Make sure you store custom properties in Custom Properties section.
Also note that server restart is required to take effect.

Code:
#--------------------------------------------------------------------
# Custom Properties - Beginning
#--------------------------------------------------------------------
# Place all changes, new properties, and custom properties here.
# This section will be used during GC3 Upgrades
#--------------------------------------------------------------------
 
 
#--------------------------------------------------------------------
# Custom Properties - End
#-------------------------------------------------------------------- 
__________________
--
Joseph Liang
Enterprise Integration, Inc.

http://www.eiisolutions.net/
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following 2 Users Say Thank You to josephliang For This Useful Post:
chrisplough (January 25th, 2010), vabilisetty (January 26th, 2010)
  #5 (permalink)  
Old January 11th, 2010, 06:44
Senior Member
 
Join Date: Aug 2008
Posts: 123
Groans: 0
Groaned at 0 Times in 0 Posts
Thanks: 2
Thanked 0 Times in 0 Posts
Rep Power: 2
vsevs is on a distinguished road
Re: Removing Time from Date fields in OTM

Hi,
I added the the propery as you mentioned. But once i restarted my server, i'm getting an error in login page. i couldn't login. Can you please help me in correcting them if there is anything wrong with them?

#--------------------------------------------------------------------
# Custom Thread Properties - Beginning
#--------------------------------------------------------------------
# Place all thread changes and properties here.
# This section will be used during GC3 Upgrades
glog.query.asDateColumns.ob_line=early_pickup_date ,early_delivery_date,late_delivery_date,late_picku p_date
glog.query.asDateColumns.order_release=early_picku p_date,early_delivery_date,late_delivery_date,late _pickup_date
#--------------------------------------------------------------------
#--------------------------------------------------------------------
# Custom Thread Properties - End
#--------------------------------------------------------------------

Thanks,
Venkat.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old January 11th, 2010, 08:17
Senior Member
 
Join Date: Apr 2008
Location: Taiwan
Posts: 209
Groans: 0
Groaned at 0 Times in 0 Posts
Thanks: 12
Thanked 98 Times in 74 Posts
Rep Power: 3
josephliang will become famous soon enoughjosephliang will become famous soon enough
Send a message via MSN to josephliang Send a message via Skype™ to josephliang
Re: Removing Time from Date fields in OTM

First, although glog.query.asDateColumns property should not affect the system, you should place custom properties in "Custom Properties" section, not "Custom Thread Properties".

Second, I hope you did not corrupt the glog.properties file. If you have a backup of glog.properties, please restore it and restart OTM.
__________________
--
Joseph Liang
Enterprise Integration, Inc.

http://www.eiisolutions.net/
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old January 12th, 2010, 01:39
Senior Member
 
Join Date: Aug 2008
Posts: 123
Groans: 0
Groaned at 0 Times in 0 Posts
Thanks: 2
Thanked 0 Times in 0 Posts
Rep Power: 2
vsevs is on a distinguished road
Re: Removing Time from Date fields in OTM

Hi,
I had the backup of original glog.properties. So i could replace the modified one to work.

Now i made the changes in the custom properties but after restarting the Apps Server, the date fields are still has time.

#--------------------------------------------------------------------
# Custom Properties - Beginning
#--------------------------------------------------------------------
# Place all changes, new properties, and custom properties here.
# This section will be used during GC3 Upgrades
#--------------------------------------------------------------------
glog.query.asDateColumns.ob_line=early_pickup_date ,early_delivery_date,late_delivery_date,late_picku p_date
glog.query.asDateColumns.order_release=early_picku p_date,early_delivery_date,late_delivery_date,late _pickup_date
#--------------------------------------------------------------------
# Custom Properties - End
#--------------------------------------------------------------------

Can you please let me know where did i go wrong?

Thanks.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old January 12th, 2010, 02:01
Senior Member
 
Join Date: Apr 2008
Location: Taiwan
Posts: 209
Groans: 0
Groaned at 0 Times in 0 Posts
Thanks: 12
Thanked 98 Times in 74 Posts
Rep Power: 3
josephliang will become famous soon enoughjosephliang will become famous soon enough
Send a message via MSN to josephliang Send a message via Skype™ to josephliang
Re: Removing Time from Date fields in OTM

I think you misunderstood my original post.

The property does not remove time from screen. It only changes behavior of query.
Like I said, to remove time from screen may not be easy. You need to modify Screen Sets, Manager Layouts and maybe stylesheets.
Quote:
Originally Posted by josephliang View Post
To remove time from screen may not be easy.
...
Quote:
Indicates which columns should be treated as a date instead of a date/time when querying the system.
__________________
--
Joseph Liang
Enterprise Integration, Inc.

http://www.eiisolutions.net/
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old January 12th, 2010, 02:18
Senior Member
 
Join Date: Aug 2008
Posts: 123
Groans: 0
Groaned at 0 Times in 0 Posts
Thanks: 2
Thanked 0 Times in 0 Posts
Rep Power: 2
vsevs is on a distinguished road
Re: Removing Time from Date fields in OTM

Hi Joseph,
I understand now. Thank you for your help. I think it might require change in stylesheets. I don't think we can manage just with manager layouts.

Thanks,
Venkat.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old January 25th, 2010, 02:11
chrisplough's Avatar
Site Moderator
 
Join Date: Jun 2006
Location: West Chester, PA
Posts: 1,167
Blog Entries: 8
Groans: 0
Groaned at 1 Time in 1 Post
Thanks: 143
Thanked 259 Times in 161 Posts
Rep Power: 10
chrisplough is a jewel in the roughchrisplough is a jewel in the roughchrisplough is a jewel in the rough
Send a message via AIM to chrisplough
Re: Removing Time from Date fields in OTM

Another quick note - ensure that you update the glog.properties file on all of the OTM web and app serves at the same time, to ensure they're in sync.

--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

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error Log: Removing Incomplete Process naveengupta4s Performance, Scalability and HA 0 August 30th, 2009 11:58
Date/Time Field anirban1982 Workflow and Agents 0 April 12th, 2009 10:14
Run RIQ using Date Deliver By and Create Order Shipments Based on Need by date raajamanikandan Rating 5 October 30th, 2008 17:02
Run RIQ using Date Deliver By and Create Order Shipments Based on Need by date raajamanikandan Rating 2 October 24th, 2008 02:21
removing saved queries cmcintos Installation and Upgrades 4 April 29th, 2008 23:20



All times are GMT. The time now is 12:22.
Copyright © 2006-2009, Open Book Solutions LLC. All rights reserved.


Inactive Reminders By Icora Web Design

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 38 39 40