04-23-2009 01:19 PM
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!
Solved! Go to Solution.
04-23-2009 01:26 PM
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
04-23-2009 02:51 PM
Thanks Mike!
I'll give it a shot and let you know how it goes.
04-23-2009 04:57 PM
It worked great!
As you suggested, I used the following handler: Application_AfterCreateHistory(Activity, Sender)
04-23-2009 05:10 PM
Great news !
Mike