| | 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. |  | 
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 | | | 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. | 
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 | | | 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.
| | 
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 | | | 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. | 
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 | | | 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
#-------------------------------------------------------------------- | | The Following 2 Users Say Thank You to josephliang For This Useful Post: | | 
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 | | | 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. | 
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 | | | 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. | 
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 | | | 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. | 
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 | | | 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 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. | | | 
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 | | | 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. | 
January 25th, 2010, 02:11
|  | Site Moderator | | Join Date: Jun 2006 Location: West Chester, PA
Posts: 1,167
Groans: 0
Groaned at 1 Time in 1 Post
Thanks: 143
Thanked 259 Times in 161 Posts
Rep Power: 10 | | | 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 |  | | Thread Tools | | | | Display Modes | Linear Mode |
Posting Rules
| | | | |