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: Field value from Sales Process step
Rick Smith
Posts: 96
 
Field value from Sales Process stepYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 13 Jun 06 3:51 PM
fiogf49gjkf0d
I am launching a Script (VB, not Legacy) from a step in a Sales Process. Within the script I would like to obtain the value of the Sales Process step description that launched the script. Sure would be great to have something like Application.BasicFunctions.GetCurrentSalesProcessStep... but no. Any ideas? Thanks.
[Reply][Quote]
Rick Smith
Posts: 96
 
Re: Field value from Sales Process stepYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 13 Jun 06 3:56 PM
fiogf49gjkf0d
... also, each time the script is executed, SLX displays a message box: Active Script ([script name]) executed. Any way to disable that?
[Reply][Quote]
Ben
Posts: 4
 
Re: Field value from Sales Process stepYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 11 Sep 06 10:43 AM
fiogf49gjkf0d
I'm not sure about the first part of your question, but to disable the popup, you need to edit the DoScript function in System:SP_SalesProcessFunctions
[Reply][Quote]
Rick Smith
Posts: 96
 
Re: Field value from Sales Process stepYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 12 Sep 06 7:27 AM
fiogf49gjkf0d
Got it - thanks!
[Reply][Quote]
Ben
Posts: 4
 
Re: Field value from Sales Process stepYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 13 Sep 06 7:31 AM
fiogf49gjkf0d
It seems we have similar situations. The way I've worked this out is application.mainviews.activeview.tabsview.grdsalesprocess.GetCurrentField will give you the current step's SalesProcessAuditId so you can look up what you need with ado. Unfortunately, I have been unsuccessful at finding a way to determine whether the sales process form resides in the tabs view or the middle view, and referencing this way restricts viewing the sales process to the tabsview.
[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 3:38:51 PM