Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Tuesday, November 26, 2024 
 
slxdeveloper.com Community Forums  
   
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!
 Architect Forums - SalesLogix Scripting & Customization
Forum to discuss writing script in Architect plugins for SalesLogix & general SalesLogix customization topics (for Windows client only). View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to SalesLogix Scripting & Customization | New ThreadView:  Search:  
 Author  Thread: SalesLogix Function
Fajar
Posts: 32
 
SalesLogix FunctionYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 06 Jul 06 4:40 AM
fiogf49gjkf0d
Hello everybody,

I'm planning to log every opportunity deleted by user. Is there anyone here can explain
me where can i find the function that delete opportunity so that i can modify it.

I've try to find it, and found only two plugin script that might related with opportunity delete. They are
opportunity management and global system.

Thx b4,
-Fajar
[Reply][Quote]
Kris Halsrud
Posts: 88
 
Re: SalesLogix FunctionYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 07 Jul 06 8:42 AM
fiogf49gjkf0d
Fajar, the Global Script is where you would perform this type of action. You can create a new global script rather than modify an existing one. The way global scripts work is all scripts are examined that the user has access to.

in you global script you would do the following:
Function OnAfterFunctionExecute_EditDeleteItem(functionNumber, functionName)
Dim objMainView
Set objMainView = Application.MainViews.ActiveView
If Not (objMainView Is Nothing) Then
Select Case objMainView.BaseTable
Case "OPPORTUNITY"
'Do Opportunity Actions
End Select
End If
End Function

You can see the types of actions you can perform in the Architect help. You have access to 3 events when running a SLX function, such as a delete. You have onbeforefunctionexecute, onafterfunctionexecute and onfunction. This allows you to run script logic in the approriate place. You can see what functions are by quering the secfunctions table and the name column.
[Reply][Quote]
 Page 1 of 1 
  You can subscribe to receive a daily forum digest in your user profile. View the site code of conduct for posting guidelines.

   Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
 

 
 slxdeveloper.com is brought to you courtesy of Ryan Farley & Customer FX Corporation.
 This site, and all contents herein, are Copyright © 2024 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.

code of conduct | Subscribe to the slxdeveloper.com Latest Article RSS feed
   
 
page cache (param): 11/26/2024 5:22:52 AM