Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Saturday, September 28, 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!
 Web Forums - SalesLogix Web Client (Pre-7.2)
Forum to discuss using & developing the legacy SalesLogix Web Client (For versions 7.0 and earlier). View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to SalesLogix Web Client (Pre-7.2) | New ThreadView:  Search:  
 Author  Thread: Opp Snapshot - Days Open
Steve Knowles
Posts: 657
Top 10 forum poster: 657 posts
 
Opp Snapshot - Days OpenYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 18 Jan 07 2:34 PM
fiogf49gjkf0d
This is the code producing the 'Days Open' value in the web client;
vHTML = vHTML + "<td class=indent>Opened  days ago on <#F name=dateopen>"


This piece of code seems to be generating the date:


What is this calling? I have heavily modifed the snapshot and want to calculate this value for closed opps also, but I cannot seem to track down exactly what is going on..

Thanks
[Reply][Quote]
Jeff Ballard
Posts: 326
 
Re: Opp Snapshot - Days OpenYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 18 Jan 07 5:10 PM
fiogf49gjkf0d
Steve,

"dateopen" is an alias that simply pulls the Opportunity.Dateopened field for the current record (this is based on 6.2.3). I'm not sure where "dateopen" gets populated/updated, though. Is there any code on the template (or included JavaScript file) that references the cell in question? I don't see an ID on the <td> that could be used to ID it in JavaScript, but there could be something looping through the table.

I don't have 7.0 installed, but it doesn't look as if it does anything other than pull the DateOpened field in the DB. If you throw a "debugger;" in the JavaScript and step through it, what does it show? Perhaps you can find if it's being set elsewhere.

Jeff
[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): 9/28/2024 6:21:06 PM