Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Saturday, April 20, 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 - Controls
Forum to discuss usage & tips for SalesLogix controls and other 3rd party ActiveX controls. View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to Controls | New ThreadView:  Search:  
 Author  Thread: Severity (Ticket) does not write to the tickethistory or history table
Dan Delisle
Posts: 38
 
Severity (Ticket) does not write to the tickethistory or history tableYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 07 Feb 13 3:08 PM
fiogf49gjkf0d

Hi all,


 


We have SLX LAN 7.5.0.1484. On the 'TicketDetail' form I am trying to understand why the 'Severity' will not write to the ticketHistory table (and to the journal) despite the fact that I have the control set to 'RecordChanges'. I have been trying to trace through the VBScript how the 'RecordChanges' works but I am coming up short. I'm not sure what other information would be useful, but please let me know and I'll try to provide it.


 


thank you for reading!

[Reply][Quote]
RJ Samp
Posts: 973
Top 10 forum poster: 973 posts
 
Re: Severity (Ticket) does not write to the tickethistory or history tableYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 07 Feb 13 6:37 PM

My suggestion would be to script it.....

[Reply][Quote]
Mike Spragg
Posts: 1226
Top 10 forum poster: 1226 posts
 
Re: Severity (Ticket) does not write to the tickethistory or history tableYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 08 Feb 13 2:07 AM
fiogf49gjkf0d

The reason is because that field is not databound (the Text property has nothing in it). This means that it is not SLX populating this field, but code behind (mainly, because the ID is stored and you want to see text so it translates that via code). If you find the object txtUrgencyCode (which is the databound version) and set RecordChanges on that then, when changed, it will record. However, I suspect it will record the code instead, which isn't useful to you or the users).


What I would do is set a global at the top of the script gUrgency. On the popup of Urgency then set the current value of popUrgency.Text into gUrgency (this just stores it for later). onPopupReturn - compare this with the current value of gUrgency. If they are different then a change was made. Populate the tickethistory directly if this is the case, then set gUrgency to the current value (for next time). You will have the oldvalue (in gUrgency) and the newvalue in popUrgency.text.

[Reply][Quote]
Dan Delisle
Posts: 38
 
Re: Severity (Ticket) does not write to the tickethistory or history tableYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 11 Feb 13 6:14 PM
fiogf49gjkf0d

Mike, you are a gentleman and a scholar. Thank you very much. That did the trick!

[Reply][Quote]
Mike Spragg
Posts: 1226
Top 10 forum poster: 1226 posts
 
Re: Severity (Ticket) does not write to the tickethistory or history tableYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 11 Feb 13 6:45 PM

No probs !

[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): 4/20/2024 9:07:53 AM