2/21/2025 9:58:41 PM
|
|
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!
Forum to discuss using & developing the legacy SalesLogix Web Client (For versions 7.0 and earlier). View the code of conduct for posting guidelines.
|
|
|
|
Opp Snapshot - Days Open
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 |
|
|
|
Re: Opp Snapshot - Days Open
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
|
|
|
|
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!
|
|
|
|
|
|
|
|