11/26/2024 5:25:45 AM
|
|
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!
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.
|
|
|
|
SalesLogix Function
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 |
|
|
|
Re: SalesLogix Function
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. |
|
|
|
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!
|
|
|
|
|
|
|
|