Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Tuesday, November 26, 2024 
 
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!
 Administration Forums - General Administration
Forum to discuss general administration topics for SalesLogix (including LAN & remote topics). View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to General Administration | New ThreadView:  Search:  
 Author  Thread: Activity count
J. Estrella
Posts: 34
 
Activity countYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 03 Jan 11 1:58 AM
fiogf49gjkf0d

Does sales logix have the capability to automatically count number of activities without downloading it in excel?

[Reply][Quote]
John Gundrum
Posts: 632
Top 10 forum poster: 632 posts
 
Re: Activity countYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 03 Jan 11 7:27 AM
fiogf49gjkf0d

The question is vague.  Where are you expecting this automatic count to be displayed?


There is no function or anything I know of that would provide this count.  It's not a hard thing to do.  A simple "SELECT COUNT(*) FROM activity WHERE [conditions]" would return the number.


John

[Reply][Quote]
Raul A. Chavez
Posts: 1300
Top 10 forum poster: 1300 posts
 
Re: Activity countYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 03 Jan 11 1:05 PM
fiogf49gjkf0d

Indeed there are many ways to count the number of Activities, and the method to use depends on what you are trying to Count.


One Method mentioned is to write your own SQL query to figure out the Count (based on your Criteria).


Also, if you want to get a Count based on the Contents of the Panel, there are Methods on the Panel object that return the Data, or there are ways to get directly to the Panels Reader and query the data directly:


e.g.



<strong>        var panel = Sage.SalesLogix.Controls.ListPanel.find("MainList");
        if (panel) {         
            selectionInfo = panel.getSelectionInfo();
        }


Or




<p>  var recordCount = this.views.list.store.reader.jsonData.count;

 


 


(You may need to explore the Objects via a Debugger to determine the name of the List you are interested in).



By using this approach, you don't have to try to figure out the Selected Criteria and build a matching SQL statement, as you would be getting the count (or the data) based on the Criterias already set on the Screen (including filters).


 

[Reply][Quote]
RJ Samp
Posts: 973
Top 10 forum poster: 973 posts
 
Re: Activity countYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 04 Jan 11 1:42 PM
fiogf49gjkf0d

And these mentioned counting methods don't address repeated activities with skipped dates....


This potentially is a very difficult question to answer....

[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 © 2024 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): 11/26/2024 2:40:07 AM