6/20/2025 10:31:29 PM
|
|
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!
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.
|
|
|
|
Date/Time condition in Groups
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? |
|
|
|
Re: Date/Time condition in Groups
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
|
|
|
|
Re: Date/Time condition in Groups
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.
|
|
|
| |
|
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!
|
|
|
|
|
|
|
|