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!
|
|
Field value from Sales Process step
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. |
|
|
|
Re: Field value from Sales Process step
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? |
|
|
|
Re: Field value from Sales Process step
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 |
|
|
| |
|
Re: Field value from Sales Process step
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. |
|
|
|