Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Wednesday, August 27, 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.BasedOn
Chris Burriss
Posts: 120
 
Activity.BasedOnYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 01 Nov 08 2:59 PM
What is Activity.BasedOn based on? My initial thoughts were that Activity.ActivityBasedOn is tied to Followup activities, however my testing indicates otherwise. I'm starting to think it is exclusive to Contact Processes. My situation is that I have a custom field on the Activity screen that needs to carry over when a follow-up activity is created. Any ideas on how this can be accomplished? Thanks!

C. Burriss
[Reply][Quote]
Walter Shpuntoff
Posts: 167
 
Re: Activity.BasedOnYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 02 Nov 08 6:15 AM
IIRC - it populates when you complete an existing activity and use the schedule feature to create a follow up. It COULD be that it is no longer in use and "reclaimable", but this could be a version issue. (i.e. it got broken somewhere along the line)

PROCESSNODE is a great field for stashing a value in. It's used by contact processes to keep track of what step it was on. If you are not using a process, nothing ever touches it, but it is carried through to history intact. ProcessID will also work, but it will search the process table for something to match against it - i.e. a little extra processing overhead.

The USERDEF fields are SUPPOSED to carry over, but several versions did not do that.

HTH

ws
[Reply][Quote]
Chris Burriss
Posts: 120
 
Re: Activity.BasedOnYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 03 Nov 08 9:27 AM
That's what I assumed would happen: BasedOn would have an activity reference from the initiating activity (completed w/ followup). However, when I tested this in v7.2.2, that value never seemed to get populated. Records do actually exist with ActivityBasedOn being populated, but only from Contact Processes. I don't know if this is coincidence or if, currently, this field is no longer populated for normal completed activities.

UserDef is a great idea. I'll experiment with it to see if that will solve my problem. Thank you for the help!

C. Burriss
[Reply][Quote]
Chris Burriss
Posts: 120
 
Re: Activity.BasedOnYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 04 Nov 08 7:12 AM
UserDef1 didn't carry over either. I resorted to using the below technique.

System:Activity Details View

AXFormShow(Sender)

....

Dim i
Dim objForm

For i = 0 to Application.Forms.Count - 1
If Application.Forms(i).Name = "frmHistoryDetails" Then
Set objForm = Application.Forms(i)
.Text = "" & objForm..Text
Exit For
End If
Next

End Sub
[Reply][Quote]
Chris Burriss
Posts: 120
 
Re: Activity.BasedOnYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 04 Nov 08 7:18 AM
.Text = "" & objForm..Text

...is...

FollowupActivityField.Text = "" & objForm.CompletedActivityField.Text
[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): 8/27/2025 8:54:46 AM