Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Saturday, June 7, 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!
 Web Forums - SalesLogix Web Platform & Application Architect
Forum to discuss the use of the SalesLogix Web Platform, Client and Customer Portals, and the Application Architect (For version 7.2 and higher only). View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to SalesLogix Web Platform & Application Architect | New ThreadView:  Search:  
 Author  Thread: Should USERNOTIFICATION records be deleted when Activity becomes History?
Jeff Parker
Posts: 32
 
Should USERNOTIFICATION records be deleted when Activity becomes History?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 07 Mar 13 10:27 AM
fiogf49gjkf0d

SLX Web Version 7.5.3.4358


I ran this query,


SELECT * FROM USERNOTIFICATION WHERE  ACTIVITYID NOT IN(SELECT ACTIVITYID FROM ACTIVITY)

and retrieved 44,000 records.  Is there no mechanism to delete these records when an Activity has been completed?  I suspect that these "orphaned" records are causing us problems in certain ares of SalesLogix web.  These records are represented by History records with the old ActivityID but I would think there is no need for a USERNOTICICATION or a USER_ACTIVITY record at the point where an Activity record becomes History.  Am I correct?


[Reply][Quote]
Raul A. Chavez
Posts: 1300
Top 10 forum poster: 1300 posts
 
Re: Should USERNOTIFICATION records be deleted when Activity becomes History?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 07 Mar 13 10:47 AM
fiogf49gjkf0d

Keep in mind that they are not truly Orphaned.


Whenever an Activity is completed, the History record created does Store the ACTIVITYID, so you could always link it back.


 


 


That said, I do agree that these records lose any value once the Activity is complete, and probably should be removed from the System.


 


 



[Reply][Quote]
Jeff Parker
Posts: 32
 
Re: Should USERNOTIFICATION records be deleted when Activity becomes History?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 07 Mar 13 10:57 AM
fiogf49gjkf0d

Raul,


Yes, I am aware of that.  My question basically is, what is the point of the USERNOTIFICATION records and USER_ACTIVITY records after the Activty becomes History?  Are they needed for anything?  Calendar?  Reminders for Activities that don't exist?  If there is no point in having these records at this point, why are they not deleted programatically?

[Reply][Quote]
RJ Samp
Posts: 973
Top 10 forum poster: 973 posts
 
Re: Should USERNOTIFICATION records be deleted when Activity becomes History?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 07 Mar 13 11:05 AM
fiogf49gjkf0d

some systems use the USER_ACTIVITY records to record the Attendance of a User at an Activity.....used for BILLING. The History Detail view can show a popup list of all USER_ACTIVITY records for that activity.....you just have to change the property of the control to visible......and add back in the USER_ACTIVITY records after they are deleted when the Activity is closed up...... (and now we can get into discussions about SQL Triggers for capturing On Delete events and how changing a Meeting Leader during completion of an activity does NOT create a USER_ACTIVITY record (it's going to be deleted in a few seconds anyway?!!!!)..so the most important attendee at a meeting may not have 'attended' based on the USER_ACTIVITY records....


I also thought that calendaring used the USER_ACTIVITY record to show the 'lined through' completed activities.....but this may have been versionS ago....


 


USERNOTIFICATIONS does affect who ultimately appears as an Attendee at an Activity.....

[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/7/2025 8:07:38 PM