Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Friday, June 20, 2025 
 
slxdeveloper.com Community Forums  
   
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
 Architect Forums - SalesLogix Scripting & Customization
Forum to discuss writing script in Architect plugins for SalesLogix & general SalesLogix customization topics (for Windows client only). View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to SalesLogix Scripting & Customization | New ThreadView:  Search:  
 Author  Thread: Date/Time condition in Groups
Konstantin Vishnevsky
Posts: 97
 
Date/Time condition in GroupsYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 07 Nov 07 1:47 PM
Hi all

We have a tab for Untouched leads where the condition is: Lead.ModifyDate = A1.CreateDate

It works fine when a fairly small list of leads is uploaded. However, with a large list, the timestamp in ModifyDate varies from CreateDate by a few seconds and of course these records are not shown in the Group. Is there a way to run comparison strictly by date, excluding time part?
[Reply][Quote]
Vladimir
Posts: 93
 
Re: Date/Time condition in GroupsYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 08 Nov 07 1:55 AM
For example, add in condition ID field, set operator to "<> not equal", set value to "'blabla' and (convert(varchar,Lead.ModifyDate,112)=convert(varchar,A1.CreateDate,112)" and set checkbox Use literal
[Reply][Quote]
John Foster
Posts: 18
 
Re: Date/Time condition in GroupsYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 08 Nov 07 7:55 AM
You can also use LEFT which is a bit shorter....

A1.OPPORTUNITYID=A1.OpportunityId AND Left(A1.CreateDate,11) = Left(A1.ModifyDate,11))

In the example, the table is Opportunity. I added a condition on OpportunityId and then the condition is A1.OpportunityId AND Left(A1.CreateDate,11) = Left(A1.ModifyDate,11)). It is set as a literal.
[Reply][Quote]
Konstantin Vishnevsky
Posts: 97
 
Re: Date/Time condition in GroupsYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 08 Nov 07 12:13 PM
Thanks John and Vlad.
As always - solution is simple, but genious
[Reply][Quote]
 Page 1 of 1 
  You can subscribe to receive a daily forum digest in your user profile. View the site code of conduct for posting guidelines.

   Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
 

 
 slxdeveloper.com is brought to you courtesy of Ryan Farley & Customer FX Corporation.
 This site, and all contents herein, are Copyright © 2025 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.

code of conduct | Subscribe to the slxdeveloper.com Latest Article RSS feed
   
 
page cache (param): 6/20/2025 11:04:26 PM