Tuesday, July 30, 2013

Default Time stamp problem.

Problem: 
User required an object called “Today” which contains todays date. But they don’t want the default time stamp added as a suffix of that. They want onlt “11/22/2011” in place of “11/22/2011 11:07:17 AM”. BO Does not provide a direct option for removing the attached timestamp it can be achieved using following step. 

Solution: 

1. Create an date object name “Today” and select “sysdate” for this object. 
2. Create another character object “Today 1” and select “to_char(trunc(@Select(<Class Name>\Today)),'mm/dd/yyyy')” 
3. Copy the List Name from the Properties tab. 
4. Open the “Today” objects property tab and change the List name as the List name of “Today 1”’ List name.
5. Now see the Display value of “Today” 

6. Now delete the “Today 1” object. 
7. Export the Universe.

No comments:

Post a Comment