We recently had a request to do some customizations for a client who wanted some validation done when completing an activity. The only problem was they were on 6.2. As you might know the Activity screens in SalesLogix 6.2 are part of the application and are not accessible to be modified. Worse, until SalesLogix 7.0 the Application.Activity class was not available nor was the Global Script dealing with activity events.
I had to search the old memory banks (well actually some old emails) but I finally found what I was looking for. In SalesLogix 6.2 there is a VBScript called OnCompletedActivity that runs when a SalesLogix activity is completed. This script allows you, in a minimal fashion, to add customizations to the activity completion events in SalesLogix 6.2. A couple of things to point out:
- The event that this runs under is only when converting an activity to history. It does not offer any other hooks. It does however work with completing an unscheduled activity.
- This script is a dead end. Once you upgrade to 7.0 this script becomes obsolete. Instead more robust functionality is offered (a good thing).
In case any one out there is still working in SalesLogix 6.2, hopefully this post can help if you need to do some customizations around the activity area.