Sage SalesLogix
  • Contact Us
  • Sage North America
800-643-6400
Welcome Twitter Facebook LinkedIn
Community Home Blogs Share Ideas Search Request Access Resources
Reply
Copper Elite Contributor
SLX_User
Posts: 72
Registered: 04-01-2009
Accepted Solution

Complete Phone Call Activity

Hi all.

 

I have another question today, I want to add some code to the "Complete Phone Call" form once the end user clicks the OK button.

 

But when I go to the form in the Architect ("History Details View") I don't see the OK button.

 

Where can I find the OK event for the form?

 

SalesLogix LAN v7.2.1

 

Thanks!

Please use plain text.
Bronze Super Contributor
MikeSpragg
Posts: 317
Registered: 03-24-2009

Re: Complete Phone Call Activity

There is no button - this form is a shell (you can modify certain things like layout etc.) but SLX retains control of the events due to other requirements. You can, however, look at the global scripts and find the event handlers that handle what happens afterwards and add your code there. Open the global script "system:global activity" and then look for the handler "Application_AfterPostActivity(Activity, Recordset)" and/or Application_AfterCreateHistory

 

Please use plain text.
Copper Elite Contributor
SLX_User
Posts: 72
Registered: 04-01-2009

Re: Complete Phone Call Activity

Thanks Mike!

 

I'll give it a shot and let you know how it goes.

Please use plain text.
Copper Elite Contributor
SLX_User
Posts: 72
Registered: 04-01-2009

Re: Complete Phone Call Activity

It worked great!

 

As you suggested, I used the following handler: Application_AfterCreateHistory(Activity, Sender)

Please use plain text.
Bronze Super Contributor
MikeSpragg
Posts: 317
Registered: 03-24-2009

Re: Complete Phone Call Activity

Great news !

Mike

 

Please use plain text.