Home
|
Forums
|
Contact
|
Search
|
Syndication
[login]
[create account]
Friday, June 20, 2025
slxdeveloper.com
Home
Search
Contact us
About slxdeveloper
Syndication
Community
Forums
(NEW!)
Newsletter Archive
Members
Your Profile
Submit Article
General
Administration
(6)
OLE DB Provider
Miscellaneous
(2)
Architect
VBScript
(9)
ActiveX Controls
(6)
How To's
(14)
.NET Extensions
(3)
External
OLE DB Provider
(12)
SLAPI (SlgxApi.dll)
SalesLogix COM
(1)
Web
ASP/ASP.NET
(2)
Web Services
Web Client
Downloads
Samples
(17)
Documentation
(7)
Utilities
(18)
Resources
SalesLogix
(3)
Programming
(1)
6/20/2025 10:35:46 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!
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 Thread
View:
Dynamic
Flat
Tree
Search:
Author
Thread: Calling Legacy "System:SLX Opportunity Product" View from Opportunity Product Grid in SLX 7
Ashish N.
Posts: 17
Calling Legacy "System:SLX Opportunity Product" View from Opportunity Product Grid in SLX 7
Posted: 17 Sep 07 11:44 PM
Hi,
I am trying to call the legacy view "System:SLX Opportunity Product" View using the double-click event of the DataGrid. Using the following line of
code does not work.
Application.BasicFunctions.DoInvoke "View", "System:SLX Opportunity Product"
Is there any other way to do this. I need to use the legacy form because it is customized.
As a test for the above command, I tried calling the legacy form "System:SLX Opportunity Close Out", and it works fine.
Any help would be really appreciated.
Regards
Ashish
[
Reply
][
Quote
]
Bob (RJ)Ledger
Posts: 1103
Re: Calling Legacy "System:SLX Opportunity Product" View from Opportunity Product Grid in SLX 7
Posted: 18 Sep 07 6:55 AM
You could call it.. BUT in the long (and probably short) run because of the completely different way Opportunity (and Opp Products) is implemented now... You are better off taking the OOTB and implementing your customs in it.
The problem is that the form needs to know what record/row you clicked on.... and the DoInvoke will not do that for you...
It's easy the other way.. legacy grid.. ActiveX form:
- Build a legacy script that does:
strGridIDs = QueryGetIds("datagrid")
GlobalInfoSet "GstrGridIDs ", strGridIDs
DoInvoke "ActiveScript", "Personal:MyVbScript"
GlobalInfoClear "GstrGridIDs "
b - Build your VbScript:
strGridIDs = Application.BasicFunctions.GlobalInfoFor ("GstrGridIDs")
intINumOfIds = Application.BasicFunctions.GetLineCount(strGridIDs) -1
--
rjl
[
Reply
][
Quote
]
Ashish N.
Posts: 17
Re: Calling Legacy "System:SLX Opportunity Product" View from Opportunity Product Grid in SLX 7
Posted: 19 Sep 07 4:45 AM
Thanks for the help. Ended up doing legacy view on legacy grid.
Cheers
Ashish
[
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 © 2025 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.
code of conduct
|
page cache (param): 6/20/2025 10:43:25 AM