Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Saturday, February 22, 2025 
 
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: Launching MAS 500 screens
Jeremy Wagner
Posts: 5
 
Launching MAS 500 screensYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 28 Oct 13 9:22 AM

Hey guys, we were kinda fed up with the issues ERPLink was having so one of our MAS 500 developers wrote how to launch MAS 500 screens from .NET.  The issue was though that I had to convert it to VBScript to actually put it into SLX.  I managed to get it working about 80% but I'm still having an issue I hope someone can help me with


First, this is the section of code I'm having an issue with



Public Function Customer(sCustID)

    Const kWorkSpace = "Customer_PSS"

    Dim lRetVal         'As Long

    Dim moCustomer    'As Object

    CreateFramework kWorkSpace

    Set moCustomer = moFramework.GetSystemObject(ktskARCustMnt)

    moCustomer.DrillAround sCustID

    'frmOpen.Show vbModal

    'CleanUpFramework moCustomer, ktskARCustMnt

    'Customer = lRetVal

End Function


Using it like so, with those last 3 lines commented out it works fine, however it leaves it open to errors and issues and user's sessions within MAS could get tied up and it would lock down the system entirely.


I need to be able to run the CleanUPFramework which releases the users session from MAS and all of that good stuff. I don't really know the best way to go about this. using the frmOpen.Show vbModal line


freezes SLX in it's current state until they are done with the MAS 500 screen then they can close that form (which is nothing more than an empty window) then the CleanUpFramework runs fine. Issue with this is


2 fold, obviously the annoyance of having that empty little window open every single time they launch a screen that they have to close, also until they are done with the MAS 500 screen they aren't able to do


anything in SLX which isn't acceptable for this. Anyone have any suggestions about what I can do here?



 

[Reply][Quote]
Jeremy Wagner
Posts: 5
 
Re: Launching MAS 500 screensYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 28 Oct 13 9:25 AM

Ok, the formatting came out all weird sorry about that.

[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 | Subscribe to the slxdeveloper.com Latest Article RSS feed
   
 
page cache (param): 2/22/2025 12:06:14 AM