Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Tuesday, July 8, 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: Activity Follow up customisation creates additional Activity
James Jury
Posts: 23
 
Activity Follow up customisation creates additional ActivityYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 24 Dec 09 3:49 AM
Hi All,

(v7.5.2 LAN)

I have added custom fields to the Activity table. I bind a new control (have tried both edit box and lookupEdit) in Activity Details View and it creates new Activities and completes without issue. If on the complete Activity dialogue I create a followup activity (say a meeting) it creates 2 activity records for the follow up meeting. One activity is without the custom field populated, and has a corresponding record in User_Activity and one record does populate the custom field, but does not have a corresponding User_Activity record, so it un-accessible.

Anybody had experience of custom fields in Activities and follow-up activities?

At the moment I am going to resort to removing the bindings and populating post save of the activity.

Any help/advice/suggestions appreciated.

James
[Reply][Quote]
Mike Spragg
Posts: 1226
Top 10 forum poster: 1226 posts
 
Re: Activity Follow up customisation creates additional ActivityYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 25 Dec 09 10:00 AM
Did you add the same fields to the history table? SLX is supposed to map between activity/history automatically - but you must have identical columns in each.
[Reply][Quote]
James Jury
Posts: 23
 
Re: Activity Follow up customisation creates additional ActivityYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 29 Dec 09 3:36 AM
Thanks for the reply Mike,

Yes, I have the same fields in the History table (albeit in a different order - maybe that's a reason?).

When first added although the new fields were bound they were not adding to the database when the activity was committed. To compensate I was populating in the Global script Sub Application_AfterPostActivity. This appeared to work for new activities, but not for follow up activities (which duplicated, as per original post, before the scripted element was encountered).

I have since coded around this using globals. I will put some time aside and keep trying this, as I agree with you, that it should work without workarounds.

James
[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): 7/8/2025 5:26:45 PM