Advertisement
Advertisement
| 09.15.2008 at 06:35PM PDT, ID: 23733833 |
|
[x]
Attachment Details
|
||
|
[x]
The Solution Rating System
|
||
With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.
Your Input Matters If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support. Thank you! |
||
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29: 30: 31: 32: 33: 34: 35: 36: 37: 38: 39: 40: 41: 42: 43: 44: 45: 46: 47: 48: 49: 50: 51: 52: 53: 54: 55: 56: 57: 58: 59: 60: 61: 62: 63: 64: 65: 66: 67: 68: |
<cfparam name='search_startdate' default = "">
<cfparam name='search_enddate' default = "">
<cfparam name='search_unitid' default = "">
<cfparam name='search_lsccode' default = "">
<cfparam name = 'search_advocate' default = "">
<cfparam name='search_disposition' default = "">
<!----search products---->
<cfquery name="get_callbacks" datasource="#datasource#">
select * from call_intake
where 1=1
<cfif search_unitid is not "">
and rils_unitid = #search_unitID#
</cfif>
<cfif search_advocate is not "">
and intake_screener = '#search_advocate#'
</cfif>
<cfif search_lsccode is not "">
and lsc_problemcodeid = #search_lsccode#
</cfif>
<cfif search_enddate is not "">
and call_intakedate between #createODBCdate(search_startdate)# and #createODBCdate(search_enddate)# + 1
</cfif>
<cfif search_disposition is not "">
and callback_disposition = #search_disposition#
</cfif>
and disposition_date < #createODBCdate(now())#
and callback_disposition > 3
order by rils_unitid, call_intakedate desc
</cfquery>
<cfset query_time = cfquery.executiontime / 1000>
<cfset the_recordcount = get_callbacks.recordcount>
<!----next n interface code---->
<cfinclude template="next_n_intake_interface.cfm">
<cfloop query = 'get_callbacks'>
<cfquery name='get_calls_made' datasource='#datasource#'>
select * from callbacks where intakeid = #get_callbacks.intakeid#
</cfquery>
<cfquery name='get_callback_codes' datasource='#datasource#'>
select * from callback_dispositions where callback_dispositionid = #get_callbacks.callback_disposition#
</cfquery>
</cfloop>
<cfquery name='get_advocates' datasource='#datasource#'>
select * from system_users
</cfquery>
<cfquery name='get_rils_units' datasource='#datasource#'>
select * from rils_units where rils_unitid < 10
</cfquery>
<cfquery name='get_lsc_code' datasource='#datasource#'>
select * from lsc_problemcodes
</cfquery>
<cfquery name='get_disposition_codes' datasource='#datasource#'>
select * from callback_dispositions where callback_dispositionid > 3
</cfquery>
<cfif get_calls_made.callback_dispositionid eq get_callbacks.callback_disposition>
<cfset lagtime = datediff("d", get_callbacks.call_intakedate, get_calls_made.callback_date)>
<cfelse>
<cfset lagtime = datediff("d", get_callbacks.call_intakedate, get_callbacks.disposition_date)>
</cfif>
|