Welcome to Good Training Sign in | Become a member - FREE!
 

Create a group based on Date and time.

Last post 10-20-2008, 10:41 AM by jstulberger. 2 replies.
Sort Posts:
  •  10-20-2008, 9:39 AM 1514

    Create a group based on Date and time.

    I am trying to create a group based on the modify date of a ticket. We would like to view tickets that have not been modified within the last 12 hours. Any way to specify a variable instead of an actual date? Right now i have the ticket.modifydate set to within the last 1 day. i would like it to be 12 hrs. i tried 0.5 but got an error.

    Thanks

    jb 

  •  10-20-2008, 10:23 AM 1515 in reply to 1514

    Re: Create a group based on Date and time.

    This is possible. But certainly not by me.

    I have asked one of my programmers and this is the response I received.

    First, this is for a Sql based SalesLogix.

    In your conditions you would use the modifydate field, operator would be "Less than".

    In the value......make sure you check the box....."use a literal"

    then.....

    DATEADD ( hour , -12, getutcdate() ) or DATEADD ( hour , -12, getdate() )

    It is either the getucdate or the getdate.

    If you need further assistance on this specific topic.... you might try slxdeveloper.com.

     

    Good Luck,

     

    Dale

  •  10-20-2008, 10:41 AM 1516 in reply to 1515

    Re: Create a group based on Date and time.

    Hey it looks like it worked. Thanks for your quick and accurate response. My users thank you as well. have a great day.
View as RSS news feed in XML