Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Sunday, February 23, 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: Ticket Defect 1-53752 Area category Issue amny workaround
Mirna Malinar
Posts: 3
 
Ticket Defect 1-53752 Area category Issue amny workaroundYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 15 Nov 11 10:28 AM
fiogf49gjkf0d

 



1-53752




Select Area Category Issue form pops up after selecting Area Category Issue and clicking on Description grid on the Details form


This defect has been around for awhile and is just now really starting to cause issues at one of my clients.  It looks like SAGE still has not addressed it in 7.5.4.  We are on 7.2.2 lan and have an extensive list of ACI's.  The main problem is that many of our entries in area and also category start with similar names, which is a problem with SLX.  Has anyone gotten a work around together yet.  The create /delete of similar names on the SAGE web site does not work.  Neitehr does setting the issuematch to False. And without having to rebuild our ACI list, especially since there are so many entries that are similar we need a work around.




 


Any help would be great.  I would hate to have to disable the validate script on the ticket detail.


Thanks...Mirna

[Reply][Quote]
Lane
Posts: 121
 
Re: Ticket Defect 1-53752 Area category Issue amny workaroundYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 15 Nov 11 10:52 AM
fiogf49gjkf0d

On the LAN side I have replaced it with a single table interface and used a cascading popup menu loaded on formload. Its fast, can reference IsActive and User Security or Case type information easily too and users like it. In the web I haven't needed to modify it yet but would go with a custom page popup form with a tree view control, it just returns a delimited string of the values or an empty string.  

[Reply][Quote]
Mike Spragg
Posts: 1226
Top 10 forum poster: 1226 posts
 
Re: Ticket Defect 1-53752 Area category Issue amny workaroundYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 15 Nov 11 10:52 AM
fiogf49gjkf0d

Yes, the fix fix is simple:


Open the script "System:ACI Support"


On or around Line 90 - change this


    'If strSQL is empty then text does not need to match<br />    If Not IsEmpty(strSQL) Then
       set  objRS  = objCommand.Execute(iRecords, , adOptionUnspecified)
       If Not (objRS.BOF And objRS.EOF) Then
          If objRS.RecordCount = 1 Then
             Sender.Text = objRS.Fields(0).Value
          Else
             Sender.Text = Empty
             ValidateACIValue = False
          End If
       Else
          Sender.Text = Empty
          ValidateACIValue = False
       End If
       objRS.Close
       Set objRS = Nothing
    End If

to this:


<p>    'If strSQL is empty then text does not need to match
    If Not IsEmpty(strSQL) Then
       set  objRS  = objCommand.Execute(iRecords, , adOptionUnspecified)
       If Not (objRS.BOF And objRS.EOF) Then
          If objRS.RecordCount >= 1 Then ' Only finds one record in previous example. Adjust to find more than one.
             Sender.Text = objRS.Fields(0).Value
          Else
             Sender.Text = Empty
             ValidateACIValue = False
          End If
       Else
          Sender.Text = Empty
          ValidateACIValue = False
       End If
       objRS.Close
       Set objRS = Nothing
    End If

 

Regards

Mike

 

[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/23/2025 4:04:25 PM