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!
|
|
Activity.BasedOn
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 |
|
|
|
Re: Activity.BasedOn
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 |
|
|
|
Re: Activity.BasedOn
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 |
|
|
|
Re: Activity.BasedOn
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 |
|
|
|
Re: Activity.BasedOn
Posted: 04 Nov 08 7:18 AM
|
.Text = "" & objForm..Text
...is...
FollowupActivityField.Text = "" & objForm.CompletedActivityField.Text |
|
|
|