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!
|
|
All Open - Activities
Posted: 08 Sep 09 3:20 AM
|
Hi all, does anyone know the plugin name for the All Open Activities view. It is the one displayed when you click on the Activites button on the left hand side navigation bar. I have spent alot of the time in the past looking for plugins that ended up being hidden by Sage so wanted to check this was not the same case.
Thanks. |
|
|
| |
|
Re: All Open - Activities
Posted: 09 Sep 09 4:45 AM
|
Hi Walter, not the answer i was hoping for but thanks for your reply. Now that i know perhaps someone could help with my problem:
I have been asked to implement the Complete Activity procedure, that occurs on right click in the open activities view, as a complete checkbox on the activity details form. I was hoping to see the plugin script behind the Complete Activity procedure to ensure that i update everything that needs to be updated when adding it to the form to ensure i do not miss anything. |
|
|
|
Re: All Open - Activities
Posted: 09 Sep 09 4:56 AM
|
I'd just run a trace on it in SLXProfiler to see what it does. There is also an API call CompleteActivity?, that you pass an activityid and it pops the dialog (which is what I think you are avoiding).
IIRC, you mostly just pass the activity record data into the corresponding fields in the history record. Set the CompletedDate, CompletedUser, generate a HistoryId and delete the Activity, UserActivity, (and if it exists) Notification records.
If you want to also capture what happens in other places, you'll need to go after the Global Activity stuff.
Assuming 7.x here.... go into Architect and filter on "Global Script" Open up "Global Activity"
You have a series of events you can hook into.
There you have it.... the short course in activities - hope that's what yo were looking for.
ws |
|
|
|