Showing results for 
Search instead for 
Do you mean 
Community Home Request Access Read Blogs Share Your Ideas Search Community View My Settings
Reply
Copper Elite Contributor
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!

Silver Super Contributor
Posts: 801
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

 

Copper Elite Contributor
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.

Copper Elite Contributor
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)

Silver Super Contributor
Posts: 801
Registered: ‎03-24-2009

Re: Complete Phone Call Activity

Great news !

Mike