Glock Used Gun Collection

Glock 22 Gen4 40 S&W Police Trade-in Pistol with Three Magazines

  • $349.99
  • Brand: Glock
  • Item Number: 22GEN4 POLICE TRADE 2

Glock 20 Gen2 10mm Police Trade-in Pistols

  • $419.99
  • Brand: Glock
  • Item Number: 20GEN2 G

Glock 23 Gen3 40 S&W Police Trade-in Pistol

  • $379.99
  • Brand: Glock
  • Item Number: RND471

Glock 22 Gen3 40 S&W Police Trade-in Pistol

  • $329.99
  • Brand: Glock
  • Item Number: 22GEN3 CFL G


Debugging Information
ColdFusion Server Evaluation 2021,0,13,330286
Template /category.cfm
Time Stamp 20-May-24 02:36 PM
Locale English (US)
User Agent Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Remote IP 10.200.2.4
Host Name 10.200.2.4


Execution Time

Total Time Avg Time Count Template
759 ms 759 ms 1 E:/inetpub/wwwroot/category.cfm
627 ms 627 ms 1 E:/inetpub/wwwroot/category_product_display.cfm
225 ms 13 ms 18 C:/inetpub/wwwroot/includes/dropship.cfm
79 ms 79 ms 1 E:/inetpub/wwwroot/category_sidenav_new.cfm
63 ms 4 ms 18 C:/inetpub/wwwroot/includes/qry_mfg_promo_price.cfm
63 ms 4 ms 18 C:/inetpub/wwwroot/includes/qry_term_sale_price.cfm
27 ms 27 ms 1 E:/inetpub/wwwroot/queries/qry_getwebproducts_new.cfm
16 ms 16 ms 1 C:/inetpub/wwwroot/includes/newfooter.cfm
3 ms 3 ms 1 C:/inetpub/wwwroot/includes/metatags.cfm
3 ms 3 ms 1 C:/inetpub/wwwroot/includes/newheader.cfm
3 ms 3 ms 1 E:/inetpub/wwwroot/Application.cfm
3 ms 3 ms 1 E:/inetpub/wwwroot/category_header_new.cfm
2 ms 2 ms 1 C:/inetpub/wwwroot/includes/metatags_category_new.cfm
0 ms 0 ms 21 C:/inetpub/wwwroot/includes/brands.cfm
0 ms 0 ms 1 C:/inetpub/wwwroot/includes/navigation.cfm
0 ms 0 ms 10 C:/inetpub/wwwroot/includes/of3.cfm
0 ms 0 ms 1 C:/inetpub/wwwroot/includes/security/block_access.cfm
0 ms 0 ms 1 C:/inetpub/wwwroot/includes/security/library.cfm
0 ms 0 ms 1 C:/inetpub/wwwroot/includes/security/sql_injection.cfm
0 ms 0 ms 1 E:/inetpub/wwwroot/pagethru.cfm
2 ms  STARTUP, PARSING, COMPILING, LOADING, & SHUTDOWN
764 ms  TOTAL EXECUTION TIME
red = over 250 ms average execution time


SQL Queries

Getwebdepts (Datasource=celerantsql, Time=2ms, Records=1) in E:\inetpub\wwwroot\category.cfm @ 14:36:33.033
select * from tb_web_taxonomy with (nolock) where upper(web_url)=? and site = 'sportsman'
Query Parameter Value(s) -
Parameter #1(cf_sql_varchar) = USED-FIREARMS

get_term_sale_itemz (Datasource=celerantsql, Time=0ms, Records=1649, Cached Query) in E:\inetpub\wwwroot\queries\qry_getwebproducts_new.cfm @ 14:36:33.033
SELECT distinct b.style_id
    FROM tb_term_sale_entries b with (nolock) LEFT JOIN tb_term_sales a with (nolock) ON (a.term_sale_id=b.term_sale_id)
    WHERE b.start_date<= '2024-05-20 14:00:00' AND b.end_date >= '2024-05-20 14:00:00' AND b.store_id=10
get_pkg (Datasource=celerantsql, Time=2ms, Records=0) in E:\inetpub\wwwroot\queries\qry_getwebproducts_new.cfm @ 14:36:33.033
SELECT * 
	FROM tb_mfg_promo.dbo.tb_pkg a with (nolock)
	INNER JOIN tb_mfg_promo.dbo.tb_pkg_main_items b WITH (NOLOCK)
		ON (a.pkg_id = b.pkg_id) 
	WHERE 
	b.main_id is not NULL and a.dept=91 
	and a.start_date<= '05/20/2024 23:59:00' and a.end_date >= '05/20/2024'
	
	and a.site='sportsman'
bulkitems (Datasource=celerantsql, Time=1ms, Records=18) in E:\inetpub\wwwroot\queries\qry_getwebproducts_new.cfm @ 14:36:33.033
select * from tb_mfg_promo.dbo.BULK_ITM_DSCS with (nolock)
GrandGetProducts91 (Datasource=celerantsql, Time=0ms, Records=17021, Cached Query) in E:\inetpub\wwwroot\queries\qry_getwebproducts_new.cfm @ 14:36:33.033
SELECT a.styles_web_taxonomy_id,max(a.style_id) as style_id,max(a.style) as style,max(a.web_style) as web_style,max(a.description) as web_desc,max(a.web_desc) as web_description,max(a.web_long_desc) as web_long_desc,max(a.picture_id) as picture_id,max(a.sort_position) as prod_sort_position,max(a.dept) as dept,max(a.typ) as typ,max(a.subtyp_1) as subtyp_1,max(a.subtyp_2) as subtyp_2,max(a.subtyp_3) as subtyp_3,max(a.category_style) as category_style,max(a.web_url) as web_url,max(a.sort_position) as sort_position,max(a.web_taxonomy_id) as web_taxonomy_id,max(a.brand) as brand,max(a.date_entered) as date_entered,max(a.non_invt) as non_invt,max(a.overnight_required) as overnight_required,max(a.is_firearm) as is_firearm,max(a.of1) as of1,max(a.of2) as of2,max(a.of3) as of3,max(a.of4) as of4,max(a.of5) as of5,max(a.of6) as of6,max(a.of7) as of7,max(a.of8) as of8,max(a.of9) as of9,max(a.of10) as of10,max(a.of11) as of11,max(a.of12) as of12,max(a.of13) as of13,max(a.of14) as of14,max(a.of15) as of15,max(a.of16) as of16,max(a.of17) as of17,max(a.of18) as of18,max(a.of19) as of19,max(a.of20) as of20
,min(c.price) as min_price,min(c.store_price) as store_price,max(c.sugg_price) as max_price,min(c.wholesale_price) as vipprice,max(c.qoh) as qoh,max(c.qc) as qc,max(c.qs) as qs,sum(qoh + qc) as available,sum(c.qs - c.qc) as sold,max(c.sugg_price) AS max_sugg_price,avg(CASE WHEN qq.of9 IS NULL OR qq.of9 = '' THEN 0 ELSE c.price / qq.of9 END) as round
	
 FROM web_all_products a WITH (NOLOCK)
 INNER JOIN dbo.tb_skus b WITH (NOLOCK) ON (a.style_id = b.style_id)
 INNER JOIN dbo.tb_sku_buckets c WITH (NOLOCK) ON (b.sku_id = c.sku_id)
 INNER JOIN dbo.tb_styles_web_taxonomy d WITH (NOLOCK) ON (a.style_id = d.style)
 INNER JOIN dbo.tb_styles qq WITH (NOLOCK) ON (qq.style_id = a.style_id)
	
	
 WHERE a.style_id > 0 and (a.of20='SPORTS' or a.of20='BOTH' or a.of20 = 'SPORTSOUTDOORS') and a.picture_id > 0
and qq.web_product='Y' and c.store_id=10 
	 and a.dept='Firearms'
	
	group by a.styles_web_taxonomy_id
GetProducts (Datasource=, Time=14ms, Records=488) in E:\inetpub\wwwroot\queries\qry_getwebproducts_new.cfm @ 14:36:33.033
select
		distinct
		(style_id) as style_id
		, max(picture_id)
			,	min(min_price) as min_price
			,	max(max_price) as max_price
			,	min(vipprice) as vipprice
			,	max(web_style) as web_style
            ,	max(style) as style
			,	max(web_desc) as web_desc
            ,	max(web_description) as web_description
			,	max(picture_id) as picture_id
            ,	max(web_long_desc) as web_long_desc
			,   max(dept) as dept
			,   max(qoh) as qoh
			,	max(qc) as qc
			,	max(qs) as qs
			,	max(of18) as of18
			,	max(of17) as of17
			,	max(of15) as of15
            ,	max(of12) as of12
    		,	max(of10) as of10
    		,	max(of9) as of9
    		,	max(of8) as of8
			,	max(of7) as of7
    		,	max(of6) as of6
    		,	max(of5) as of5
            ,	max(of4) as of4
    		,	max(of3) as of3
            ,	max(of2) as of2
            ,	max(of1) as of1
			,	max(available) as available
            ,	max(available) as sold
			,   max(typ) as typ
            ,	max(round) as round
            ,	max(non_invt) as non_invt
			,	max(overnight_required) as overnight_required
			,   max(subtyp_1) as subtyp_1
			,   max(subtyp_2) as subtyp_2
			,   max(subtyp_3) as subtyp_3
			,   max(category_style) as category_style
		     ,   max(sort_position) as sort_position
		     ,max(brand) as brand
	,	MAX(max_sugg_price) AS max_sugg_price
    

		from grandgetproducts91
		where
		 style_id is not null
            
				and brand='GLOCK'
			
				and typ='Used Gun Collection'
			


group by Style_id order by

 	available desc, non_invt desc
GetProducts1 (Datasource=, Time=10ms, Records=502) in E:\inetpub\wwwroot\queries\qry_getwebproducts_new.cfm @ 14:36:33.033
select * from grandgetproducts91
		where
		 picture_id is not null
            
			
				and brand='GLOCK'
			
				and typ='Used Gun Collection'
			


order by

min_price
get_web_url (Datasource=celerantsql, Time=1ms, Records=1) in E:\inetpub\wwwroot\category_header_new.cfm @ 14:36:33.033
Select web_url from tb_web_taxonomy with (nolock) where dept = 'Firearms' and typ='EMPTY' and site = 'sportsman'
get_web_url (Datasource=celerantsql, Time=1ms, Records=1) in E:\inetpub\wwwroot\category_header_new.cfm @ 14:36:33.033
Select web_url from tb_web_taxonomy with (nolock) where dept = 'Firearms' and typ='Used Gun Collection' and subtyp_1='EMPTY' and site = 'sportsman'
get_depts (Datasource=celerantsql, Time=0ms, Records=1, Cached Query) in E:\inetpub\wwwroot\category_sidenav_new.cfm @ 14:36:33.033
select dept, web_url ,sort_position, category_style from tb_web_taxonomy with (nolock) where typ='EMPTY' and dept<>'EMPTY' and dept='Firearms' and site = 'sportsman' order by sort_position
distinct_typ (Datasource=, Time=0ms, Records=1) in E:\inetpub\wwwroot\category_sidenav_new.cfm @ 14:36:33.033
select distinct typ from getproducts
get_typs (Datasource=celerantsql, Time=0ms, Records=1, Cached Query) in E:\inetpub\wwwroot\category_sidenav_new.cfm @ 14:36:33.033
select typ, web_url, sort_position, category_style from tb_web_taxonomy with (nolock) where subtyp_1='EMPTY' and dept='Firearms' AND SORT_POSITION<>'x' and site = 'sportsman' and typ in (?) order by typ asc
Query Parameter Value(s) -
Parameter #1(cf_sql_varchar) = Used Gun Collection

distinct_subtyp1 (Datasource=, Time=0ms, Records=2) in E:\inetpub\wwwroot\category_sidenav_new.cfm @ 14:36:33.033
select distinct subtyp_1 from getproducts
hdr_get_subtyps (Datasource=celerantsql, Time=0ms, Records=2, Cached Query) in E:\inetpub\wwwroot\category_sidenav_new.cfm @ 14:36:33.033
select distinct subtyp_1, web_url ,sort_position, category_style from tb_web_taxonomy with (nolock) where dept='Firearms' and subtyp_2='EMPTY' and typ='Used Gun Collection' AND SORT_POSITION<>'x' and site = 'sportsman' and subtyp_1 in (?,?) order by subtyp_1
Query Parameter Value(s) -
Parameter #1(cf_sql_varchar) = EMPTY
Parameter #2(cf_sql_varchar) = Glock Police Trade-ins

distinct_subtyp2 (Datasource=, Time=0ms, Records=1) in E:\inetpub\wwwroot\category_sidenav_new.cfm @ 14:36:33.033
select distinct subtyp_2 from getproducts
hdr_get_subtyp2 (Datasource=celerantsql, Time=0ms, Records=1, Cached Query) in E:\inetpub\wwwroot\category_sidenav_new.cfm @ 14:36:33.033
select distinct subtyp_2, subtyp_1, web_url ,sort_position, category_style from tb_web_taxonomy with (nolock) where dept='Firearms' and typ='Used Gun Collection' and subtyp_1='EMPTY' and subtyp_3='EMPTY' AND SORT_POSITION<>'x' and site = 'sportsman' and subtyp_2 in (?) order by subtyp_2
Query Parameter Value(s) -
Parameter #1(cf_sql_varchar) = EMPTY

distinct_subtyp2 (Datasource=, Time=0ms, Records=1) in E:\inetpub\wwwroot\category_sidenav_new.cfm @ 14:36:33.033
select distinct subtyp_2 from getproducts
hdr_get_subtyp2 (Datasource=celerantsql, Time=0ms, Records=1, Cached Query) in E:\inetpub\wwwroot\category_sidenav_new.cfm @ 14:36:33.033
select distinct subtyp_2, subtyp_1, web_url ,sort_position, category_style from tb_web_taxonomy with (nolock) where dept='Firearms' and typ='Used Gun Collection' and subtyp_1='EMPTY' and subtyp_3='EMPTY' AND SORT_POSITION<>'x' and site = 'sportsman' and subtyp_2 in (?) order by subtyp_2
Query Parameter Value(s) -
Parameter #1(cf_sql_varchar) = EMPTY

get_filtered_brands (Datasource=, Time=0ms, Records=1) in E:\inetpub\wwwroot\category_sidenav_new.cfm @ 14:36:33.033
select distinct(brand) as brand from GetProducts
get_filtered_model (Datasource=, Time=0ms, Records=10) in E:\inetpub\wwwroot\category_sidenav_new.cfm @ 14:36:33.033
select distinct of3 from getproducts where of3 is not null order by of3
brand_product_lines (Datasource=celerantsql, Time=79ms, Records=9) in E:\inetpub\wwwroot\category_sidenav_new.cfm @ 14:36:33.033
select distinct a.spec_value from tb_mfg_promo.dbo.item_spec_values a left join tb_mfg_promo.dbo.item_spec_names b on (a.spec_id=b.spec_id) left join tb_mfg_promo.dbo.item_specs c on (a.spec_value_id=c.spec_value_id) where b.spec_name = 'Product Line' and c.style_id in (201601,168679,168680,168678,300707,277071,161336,161338,300712,168188,300708,300710,281522,161352,168752,168753,303927,161347,161350,285353,300579,303513,277581,283824,285801,299051,299372,300583,277078,281520,303511,113681,206319,257010,277073,286272,287961,299065,300580,300584,300598,300599,300713,303540,304699,304703,304880,304882,304884,304887,304898,305076,307676,307706,307709,307710,307734,307748,307751,307806,307889,308273,309334,58934,101976,107789,108383,109506,109836,110301,111730,113252,114911,115743,116984,119517,120222,121358,121561,124625,125632,129962,133411,133782,133783,133830,133921,134157,134427,134432,134542,135268,136638,136701,137242,138209,140144,141243,141289,141447,143085,143805,143881,144857,144858,144859,145074,148510,152316,158524,159122,161335,161337,161339,161341,161342,161343,161344,161345,161346,161348,161349,161351,161688,162204,163144,163201,163268,164015,164160,164336,164665,164666,164667,164711,164762,164796,164797,164929,164978,164979,165130,165139,165178,165333,165499,165500,167701,167704,168047,168050,168100,168147,168148,168153,168154,168160,168175,168180,168182,168420,168421,168537,168538,168667,168668,168674,168675,168676,168677,168681,168682,168683,168685,168686,168687,168688,168690,168692,168693,168694,168695,168696,168699,168700,168701,168702,168747,168748,168749,168750,168751,168754,168823,168825,168828,168829,168830,168831,169438,169614,169615,170129,170195,170196,170399,170401,170403,170632,172887,173265,173270,173696,175328,175329,176373,176450,178694,178695,178696,179429,179516,181414,183660,184009,195841,197051,197069,197071,201820,205434,205959,206743,211062,214082,214429,217694,218377,220958,220962,220965,220967,220968,220970,228586,228595,228596,228604,228605,242420,251347,256979,257011,260969,260972,260973,263809,264298,264755,266289,266773,267478,267783,268386,268411,269115,269550,277072,277075,277080,277881,277883,277884,277886,279971,279978,280001,280187,280190,280833,281155,281161,281162,281163,281422,281527,281530,281531,281638,281838,281839,281847,281848,281849,282146,282147,283358,283360,283630,283825,285339,285341,285352,285391,285392,285396,285404,285436,285678,285800,285806,285821,285825,285826,285946,285948,285961,285963,286274,286313,287275,287276,287277,287916,287918,287919,288021,288040,288084,288088,288888,288889,288891,289430,290036,290037,290038,290041,290042,290357,290358,290495,290603,290656,290716,290788,291973,291974,291976,292091,292114,292130,292131,292132,292133,292134,292144,292145,293000,293066,293083,293084,293085,293086,293087,293210,293211,293212,293213,293214,293215,294866,294867,294875,294882,294913,294932,294970,296375,296380,296381,296389,296392,296394,296395,296462,296465,296472,296503,296576,296577,296582,296587,296591,296592,296593,296594,296634,296637,296639,297253,297254,297388,297389,297393,297568,297576,297885,297886,298393,298395,298398,298399,298549,298689,298975,298977,298990,299011,299026,299041,299053,299156,300586,300596,300597,300601,300606,300612,300730,300734,300735,300736,300737,300738,300739,301156,301174,301363,303497,303537,303926,303928,303929,303931,303932,303934,304685,304686,304687,304689,304690,304691,304695,304696,304697,304698,304701,304809,304878,304891,304894,304897,304929,304957,305090,305092,305120,305126,305598,305641,307673,307674,307722,307742,307749,307750,307758,307804,308272,308276,309328,309345,309539,309614,309615,309617,309618)
Getweburl (Datasource=celerantsql, Time=0ms, Records=1) in E:\inetpub\wwwroot\category.cfm @ 14:36:33.033
select web_url from tb_web_taxonomy with (nolock) where dept='Firearms' and site = 'sportsman'
            
            and typ='Used Gun Collection'
            
            and subtyp_1 = 'EMPTY'
check_qoh (Datasource=celerantsql, Time=0ms, Records=1) in E:\inetpub\wwwroot\category_product_display.cfm @ 14:36:33.033
select sum(e.qoh + e.qc) as qoh ,sum(e.qc) as qc,sum(e.qs - e.qc) as sold
			from tb_skus a with (nolock)
			left join tb_sku_buckets e with (nolock) on (e.sku_id = a.sku_id) 
			where a.style_id = 214082 and e.store_id = 10 
			group by a.style_id, e.qc
check_ss_qoh (Datasource=celerantsql, Time=0ms, Records=0) in C:\inetpub\wwwroot\includes\dropship.cfm @ 14:36:33.033
select e.sku_bucket_id, e.price, e.sugg_price, (e.qoh + e.qc) as qoh, z.of15,e.last_cost
	from 
	tb_styles z with (nolock) inner join tb_skus a with (nolock) on (z.style_id=a.style_id)
	inner join tb_parts b with (nolock) on (a.STYLE_ID=b.STYLE_ID)
	inner join tb_sku_buckets e with (nolock) on (e.sku_id = a.sku_id)
	where a.style_id = 214082 and b.contact_id=22620 and (e.qoh + e.qc) >= 1
	and e.store_id = 27 and (e.last_cost>0 and z.of15 is not NULL) 
	and z.brand not in (?,?,?,?,?,?,?,?,?)
Query Parameter Value(s) -
Parameter #1(cf_sql_varchar) = BERETTA
Parameter #2(cf_sql_varchar) = GLOCK
Parameter #3(cf_sql_varchar) = RUGER
Parameter #4(cf_sql_varchar) = SMITH AND WESSON
Parameter #5(cf_sql_varchar) = LEUPOLD
Parameter #6(cf_sql_varchar) = SPRINGFIELD
Parameter #7(cf_sql_varchar) = THOMPSON CENTER
Parameter #8(cf_sql_varchar) = TIKKA
Parameter #9(cf_sql_varchar) = WALTHER

bulk_price (Datasource=, Time=0ms, Records=0) in E:\inetpub\wwwroot\category_product_display.cfm @ 14:36:33.033
select * from bulkitems where bulk_id = ? and site is NULL
Query Parameter Value(s) -
Parameter #1(cf_sql_integer) = 214082

get_term_sale_info (Datasource=celerantsql, Time=16ms, Records=0) in C:\inetpub\wwwroot\includes\qry_term_sale_price.cfm @ 14:36:33.033
select typ,amount,end_date,term_sale_id
from tb_term_sale_entries with (nolock)
where start_date<= 'May 20, 2024 14:36:33' and
end_date >= 'May 20, 2024 14:36:33'
and store_id=10 and style_id=214082
get_promos (Datasource=celerantsql, Time=0ms, Records=0) in C:\inetpub\wwwroot\includes\qry_mfg_promo_price.cfm @ 14:36:33.033
SELECT *
FROM 
tb_mfg_promo.dbo.tb_mfg_promos a WITH (NOLOCK)
INNER JOIN tb_mfg_promo.dbo.tb_mfg_promo_items b WITH (NOLOCK)
    ON (a.promo_id = b.promo_id)
where b.style_id = 214082 
and (a.start_date<= 'May 20, 2024 14:36:33' or a.active = 1)
and a.end_date >= 'May 20, 2024 14:36:33'
order by a.promo_id desc
get_reviews (Datasource=celerantsql, Time=0ms, Records=0) in E:\inetpub\wwwroot\category_product_display.cfm @ 14:36:33.033
select * from tb_product_reviews with (nolock) where style_id=214082  and status='A' and site = 'sportsman'
get_reviews_average (Datasource=celerantsql, Time=0ms, Records=1) in E:\inetpub\wwwroot\category_product_display.cfm @ 14:36:33.033
select sum(CAST(custom_rating_1 AS INTEGER)) as custom_rating_1 from tb_product_reviews with (nolock) where style_id=214082 and status='A' and site = 'sportsman'
check_qoh (Datasource=celerantsql, Time=0ms, Records=1) in E:\inetpub\wwwroot\category_product_display.cfm @ 14:36:33.033
select sum(e.qoh + e.qc) as qoh ,sum(e.qc) as qc,sum(e.qs - e.qc) as sold
			from tb_skus a with (nolock)
			left join tb_sku_buckets e with (nolock) on (e.sku_id = a.sku_id) 
			where a.style_id = 214429 and e.store_id = 10 
			group by a.style_id, e.qc
check_ss_qoh (Datasource=celerantsql, Time=16ms, Records=0) in C:\inetpub\wwwroot\includes\dropship.cfm @ 14:36:33.033
select e.sku_bucket_id, e.price, e.sugg_price, (e.qoh + e.qc) as qoh, z.of15,e.last_cost
	from 
	tb_styles z with (nolock) inner join tb_skus a with (nolock) on (z.style_id=a.style_id)
	inner join tb_parts b with (nolock) on (a.STYLE_ID=b.STYLE_ID)
	inner join tb_sku_buckets e with (nolock) on (e.sku_id = a.sku_id)
	where a.style_id = 214429 and b.contact_id=22620 and (e.qoh + e.qc) >= 1
	and e.store_id = 27 and (e.last_cost>0 and z.of15 is not NULL) 
	and z.brand not in (?,?,?,?,?,?,?,?,?)
Query Parameter Value(s) -
Parameter #1(cf_sql_varchar) = BERETTA
Parameter #2(cf_sql_varchar) = GLOCK
Parameter #3(cf_sql_varchar) = RUGER
Parameter #4(cf_sql_varchar) = SMITH AND WESSON
Parameter #5(cf_sql_varchar) = LEUPOLD
Parameter #6(cf_sql_varchar) = SPRINGFIELD
Parameter #7(cf_sql_varchar) = THOMPSON CENTER
Parameter #8(cf_sql_varchar) = TIKKA
Parameter #9(cf_sql_varchar) = WALTHER

bulk_price (Datasource=, Time=0ms, Records=0) in E:\inetpub\wwwroot\category_product_display.cfm @ 14:36:33.033
select * from bulkitems where bulk_id = ? and site is NULL
Query Parameter Value(s) -
Parameter #1(cf_sql_integer) = 214429

get_term_sale_info (Datasource=celerantsql, Time=0ms, Records=0) in C:\inetpub\wwwroot\includes\qry_term_sale_price.cfm @ 14:36:33.033
select typ,amount,end_date,term_sale_id
from tb_term_sale_entries with (nolock)
where start_date<= 'May 20, 2024 14:36:33' and
end_date >= 'May 20, 2024 14:36:33'
and store_id=10 and style_id=214429
get_promos (Datasource=celerantsql, Time=0ms, Records=0) in C:\inetpub\wwwroot\includes\qry_mfg_promo_price.cfm @ 14:36:33.033
SELECT *
FROM 
tb_mfg_promo.dbo.tb_mfg_promos a WITH (NOLOCK)
INNER JOIN tb_mfg_promo.dbo.tb_mfg_promo_items b WITH (NOLOCK)
    ON (a.promo_id = b.promo_id)
where b.style_id = 214429 
and (a.start_date<= 'May 20, 2024 14:36:33' or a.active = 1)
and a.end_date >= 'May 20, 2024 14:36:33'
order by a.promo_id desc
get_reviews (Datasource=celerantsql, Time=0ms, Records=0) in E:\inetpub\wwwroot\category_product_display.cfm @ 14:36:33.033
select * from tb_product_reviews with (nolock) where style_id=214429  and status='A' and site = 'sportsman'
get_reviews_average (Datasource=celerantsql, Time=0ms, Records=1) in E:\inetpub\wwwroot\category_product_display.cfm @ 14:36:33.033
select sum(CAST(custom_rating_1 AS INTEGER)) as custom_rating_1 from tb_product_reviews with (nolock) where style_id=214429 and status='A' and site = 'sportsman'
check_qoh (Datasource=celerantsql, Time=0ms, Records=1) in E:\inetpub\wwwroot\category_product_display.cfm @ 14:36:33.033
select sum(e.qoh + e.qc) as qoh ,sum(e.qc) as qc,sum(e.qs - e.qc) as sold
			from tb_skus a with (nolock)
			left join tb_sku_buckets e with (nolock) on (e.sku_id = a.sku_id) 
			where a.style_id = 217694 and e.store_id = 10 
			group by a.style_id, e.qc
check_ss_qoh (Datasource=celerantsql, Time=0ms, Records=0) in C:\inetpub\wwwroot\includes\dropship.cfm @ 14:36:33.033
select e.sku_bucket_id, e.price, e.sugg_price, (e.qoh + e.qc) as qoh, z.of15,e.last_cost
	from 
	tb_styles z with (nolock) inner join tb_skus a with (nolock) on (z.style_id=a.style_id)
	inner join tb_parts b with (nolock) on (a.STYLE_ID=b.STYLE_ID)
	inner join tb_sku_buckets e with (nolock) on (e.sku_id = a.sku_id)
	where a.style_id = 217694 and b.contact_id=22620 and (e.qoh + e.qc) >= 1
	and e.store_id = 27 and (e.last_cost>0 and z.of15 is not NULL) 
	and z.brand not in (?,?,?,?,?,?,?,?,?)
Query Parameter Value(s) -
Parameter #1(cf_sql_varchar) = BERETTA
Parameter #2(cf_sql_varchar) = GLOCK
Parameter #3(cf_sql_varchar) = RUGER
Parameter #4(cf_sql_varchar) = SMITH AND WESSON
Parameter #5(cf_sql_varchar) = LEUPOLD
Parameter #6(cf_sql_varchar) = SPRINGFIELD
Parameter #7(cf_sql_varchar) = THOMPSON CENTER
Parameter #8(cf_sql_varchar) = TIKKA
Parameter #9(cf_sql_varchar) = WALTHER

bulk_price (Datasource=, Time=0ms, Records=0) in E:\inetpub\wwwroot\category_product_display.cfm @ 14:36:33.033
select * from bulkitems where bulk_id = ? and site is NULL
Query Parameter Value(s) -
Parameter #1(cf_sql_integer) = 217694

get_term_sale_info (Datasource=celerantsql, Time=0ms, Records=0) in C:\inetpub\wwwroot\includes\qry_term_sale_price.cfm @ 14:36:33.033
select typ,amount,end_date,term_sale_id
from tb_term_sale_entries with (nolock)
where start_date<= 'May 20, 2024 14:36:33' and
end_date >= 'May 20, 2024 14:36:33'
and store_id=10 and style_id=217694
get_promos (Datasource=celerantsql, Time=0ms, Records=0) in C:\inetpub\wwwroot\includes\qry_mfg_promo_price.cfm @ 14:36:33.033
SELECT *
FROM 
tb_mfg_promo.dbo.tb_mfg_promos a WITH (NOLOCK)
INNER JOIN tb_mfg_promo.dbo.tb_mfg_promo_items b WITH (NOLOCK)
    ON (a.promo_id = b.promo_id)
where b.style_id = 217694 
and (a.start_date<= 'May 20, 2024 14:36:33' or a.active = 1)
and a.end_date >= 'May 20, 2024 14:36:33'
order by a.promo_id desc
get_reviews (Datasource=celerantsql, Time=0ms, Records=0) in E:\inetpub\wwwroot\category_product_display.cfm @ 14:36:33.033
select * from tb_product_reviews with (nolock) where style_id=217694  and status='A' and site = 'sportsman'
get_reviews_average (Datasource=celerantsql, Time=0ms, Records=1) in E:\inetpub\wwwroot\category_product_display.cfm @ 14:36:33.033
select sum(CAST(custom_rating_1 AS INTEGER)) as custom_rating_1 from tb_product_reviews with (nolock) where style_id=217694 and status='A' and site = 'sportsman'
check_qoh (Datasource=celerantsql, Time=0ms, Records=1) in E:\inetpub\wwwroot\category_product_display.cfm @ 14:36:33.033
select sum(e.qoh + e.qc) as qoh ,sum(e.qc) as qc,sum(e.qs - e.qc) as sold
			from tb_skus a with (nolock)
			left join tb_sku_buckets e with (nolock) on (e.sku_id = a.sku_id) 
			where a.style_id = 218377 and e.store_id = 10 
			group by a.style_id, e.qc
check_ss_qoh (Datasource=celerantsql, Time=0ms, Records=0) in C:\inetpub\wwwroot\includes\dropship.cfm @ 14:36:33.033
select e.sku_bucket_id, e.price, e.sugg_price, (e.qoh + e.qc) as qoh, z.of15,e.last_cost
	from 
	tb_styles z with (nolock) inner join tb_skus a with (nolock) on (z.style_id=a.style_id)
	inner join tb_parts b with (nolock) on (a.STYLE_ID=b.STYLE_ID)
	inner join tb_sku_buckets e with (nolock) on (e.sku_id = a.sku_id)
	where a.style_id = 218377 and b.contact_id=22620 and (e.qoh + e.qc) >= 1
	and e.store_id = 27 and (e.last_cost>0 and z.of15 is not NULL) 
	and z.brand not in (?,?,?,?,?,?,?,?,?)
Query Parameter Value(s) -
Parameter #1(cf_sql_varchar) = BERETTA
Parameter #2(cf_sql_varchar) = GLOCK
Parameter #3(cf_sql_varchar) = RUGER
Parameter #4(cf_sql_varchar) = SMITH AND WESSON
Parameter #5(cf_sql_varchar) = LEUPOLD
Parameter #6(cf_sql_varchar) = SPRINGFIELD
Parameter #7(cf_sql_varchar) = THOMPSON CENTER
Parameter #8(cf_sql_varchar) = TIKKA
Parameter #9(cf_sql_varchar) = WALTHER

bulk_price (Datasource=, Time=0ms, Records=0) in E:\inetpub\wwwroot\category_product_display.cfm @ 14:36:33.033
select * from bulkitems where bulk_id = ? and site is NULL
Query Parameter Value(s) -
Parameter #1(cf_sql_integer) = 218377

get_term_sale_info (Datasource=celerantsql, Time=0ms, Records=0) in C:\inetpub\wwwroot\includes\qry_term_sale_price.cfm @ 14:36:33.033
select typ,amount,end_date,term_sale_id
from tb_term_sale_entries with (nolock)
where start_date<= 'May 20, 2024 14:36:33' and
end_date >= 'May 20, 2024 14:36:33'
and store_id=10 and style_id=218377
get_promos (Datasource=celerantsql, Time=0ms, Records=0) in C:\inetpub\wwwroot\includes\qry_mfg_promo_price.cfm @ 14:36:33.033
SELECT *
FROM 
tb_mfg_promo.dbo.tb_mfg_promos a WITH (NOLOCK)
INNER JOIN tb_mfg_promo.dbo.tb_mfg_promo_items b WITH (NOLOCK)
    ON (a.promo_id = b.promo_id)
where b.style_id = 218377 
and (a.start_date<= 'May 20, 2024 14:36:33' or a.active = 1)
and a.end_date >= 'May 20, 2024 14:36:33'
order by a.promo_id desc
get_reviews (Datasource=celerantsql, Time=0ms, Records=0) in E:\inetpub\wwwroot\category_product_display.cfm @ 14:36:33.033
select * from tb_product_reviews with (nolock) where style_id=218377  and status='A' and site = 'sportsman'
get_reviews_average (Datasource=celerantsql, Time=0ms, Records=1) in E:\inetpub\wwwroot\category_product_display.cfm @ 14:36:33.033
select sum(CAST(custom_rating_1 AS INTEGER)) as custom_rating_1 from tb_product_reviews with (nolock) where style_id=218377 and status='A' and site = 'sportsman'
check_qoh (Datasource=celerantsql, Time=0ms, Records=1) in E:\inetpub\wwwroot\category_product_display.cfm @ 14:36:33.033
select sum(e.qoh + e.qc) as qoh ,sum(e.qc) as qc,sum(e.qs - e.qc) as sold
			from tb_skus a with (nolock)
			left join tb_sku_buckets e with (nolock) on (e.sku_id = a.sku_id) 
			where a.style_id = 220958 and e.store_id = 10 
			group by a.style_id, e.qc
check_ss_qoh (Datasource=celerantsql, Time=17ms, Records=0) in C:\inetpub\wwwroot\includes\dropship.cfm @ 14:36:33.033
select e.sku_bucket_id, e.price, e.sugg_price, (e.qoh + e.qc) as qoh, z.of15,e.last_cost
	from 
	tb_styles z with (nolock) inner join tb_skus a with (nolock) on (z.style_id=a.style_id)
	inner join tb_parts b with (nolock) on (a.STYLE_ID=b.STYLE_ID)
	inner join tb_sku_buckets e with (nolock) on (e.sku_id = a.sku_id)
	where a.style_id = 220958 and b.contact_id=22620 and (e.qoh + e.qc) >= 1
	and e.store_id = 27 and (e.last_cost>0 and z.of15 is not NULL) 
	and z.brand not in (?,?,?,?,?,?,?,?,?)
Query Parameter Value(s) -
Parameter #1(cf_sql_varchar) = BERETTA
Parameter #2(cf_sql_varchar) = GLOCK
Parameter #3(cf_sql_varchar) = RUGER
Parameter #4(cf_sql_varchar) = SMITH AND WESSON
Parameter #5(cf_sql_varchar) = LEUPOLD
Parameter #6(cf_sql_varchar) = SPRINGFIELD
Parameter #7(cf_sql_varchar) = THOMPSON CENTER
Parameter #8(cf_sql_varchar) = TIKKA
Parameter #9(cf_sql_varchar) = WALTHER

bulk_price (Datasource=, Time=0ms, Records=0) in E:\inetpub\wwwroot\category_product_display.cfm @ 14:36:33.033
select * from bulkitems where bulk_id = ? and site is NULL
Query Parameter Value(s) -
Parameter #1(cf_sql_integer) = 220958

get_term_sale_info (Datasource=celerantsql, Time=0ms, Records=0) in C:\inetpub\wwwroot\includes\qry_term_sale_price.cfm @ 14:36:33.033
select typ,amount,end_date,term_sale_id
from tb_term_sale_entries with (nolock)
where start_date<= 'May 20, 2024 14:36:33' and
end_date >= 'May 20, 2024 14:36:33'
and store_id=10 and style_id=220958
get_promos (Datasource=celerantsql, Time=0ms, Records=0) in C:\inetpub\wwwroot\includes\qry_mfg_promo_price.cfm @ 14:36:33.033
SELECT *
FROM 
tb_mfg_promo.dbo.tb_mfg_promos a WITH (NOLOCK)
INNER JOIN tb_mfg_promo.dbo.tb_mfg_promo_items b WITH (NOLOCK)
    ON (a.promo_id = b.promo_id)
where b.style_id = 220958 
and (a.start_date<= 'May 20, 2024 14:36:33' or a.active = 1)
and a.end_date >= 'May 20, 2024 14:36:33'
order by a.promo_id desc
get_reviews (Datasource=celerantsql, Time=0ms, Records=0) in E:\inetpub\wwwroot\category_product_display.cfm @ 14:36:33.033
select * from tb_product_reviews with (nolock) where style_id=220958  and status='A' and site = 'sportsman'
get_reviews_average (Datasource=celerantsql, Time=0ms, Records=1) in E:\inetpub\wwwroot\category_product_display.cfm @ 14:36:33.033
select sum(CAST(custom_rating_1 AS INTEGER)) as custom_rating_1 from tb_product_reviews with (nolock) where style_id=220958 and status='A' and site = 'sportsman'
check_qoh (Datasource=celerantsql, Time=31ms, Records=1) in E:\inetpub\wwwroot\category_product_display.cfm @ 14:36:33.033
select sum(e.qoh + e.qc) as qoh ,sum(e.qc) as qc,sum(e.qs - e.qc) as sold
			from tb_skus a with (nolock)
			left join tb_sku_buckets e with (nolock) on (e.sku_id = a.sku_id) 
			where a.style_id = 220962 and e.store_id = 10 
			group by a.style_id, e.qc
check_ss_qoh (Datasource=celerantsql, Time=15ms, Records=0) in C:\inetpub\wwwroot\includes\dropship.cfm @ 14:36:33.033
select e.sku_bucket_id, e.price, e.sugg_price, (e.qoh + e.qc) as qoh, z.of15,e.last_cost
	from 
	tb_styles z with (nolock) inner join tb_skus a with (nolock) on (z.style_id=a.style_id)
	inner join tb_parts b with (nolock) on (a.STYLE_ID=b.STYLE_ID)
	inner join tb_sku_buckets e with (nolock) on (e.sku_id = a.sku_id)
	where a.style_id = 220962 and b.contact_id=22620 and (e.qoh + e.qc) >= 1
	and e.store_id = 27 and (e.last_cost>0 and z.of15 is not NULL) 
	and z.brand not in (?,?,?,?,?,?,?,?,?)
Query Parameter Value(s) -
Parameter #1(cf_sql_varchar) = BERETTA
Parameter #2(cf_sql_varchar) = GLOCK
Parameter #3(cf_sql_varchar) = RUGER
Parameter #4(cf_sql_varchar) = SMITH AND WESSON
Parameter #5(cf_sql_varchar) = LEUPOLD
Parameter #6(cf_sql_varchar) = SPRINGFIELD
Parameter #7(cf_sql_varchar) = THOMPSON CENTER
Parameter #8(cf_sql_varchar) = TIKKA
Parameter #9(cf_sql_varchar) = WALTHER

bulk_price (Datasource=, Time=0ms, Records=0) in E:\inetpub\wwwroot\category_product_display.cfm @ 14:36:33.033
select * from bulkitems where bulk_id = ? and site is NULL
Query Parameter Value(s) -
Parameter #1(cf_sql_integer) = 220962

get_term_sale_info (Datasource=celerantsql, Time=0ms, Records=0) in C:\inetpub\wwwroot\includes\qry_term_sale_price.cfm @ 14:36:33.033
select typ,amount,end_date,term_sale_id
from tb_term_sale_entries with (nolock)
where start_date<= 'May 20, 2024 14:36:33' and
end_date >= 'May 20, 2024 14:36:33'
and store_id=10 and style_id=220962
get_promos (Datasource=celerantsql, Time=16ms, Records=0) in C:\inetpub\wwwroot\includes\qry_mfg_promo_price.cfm @ 14:36:33.033
SELECT *
FROM 
tb_mfg_promo.dbo.tb_mfg_promos a WITH (NOLOCK)
INNER JOIN tb_mfg_promo.dbo.tb_mfg_promo_items b WITH (NOLOCK)
    ON (a.promo_id = b.promo_id)
where b.style_id = 220962 
and (a.start_date<= 'May 20, 2024 14:36:33' or a.active = 1)
and a.end_date >= 'May 20, 2024 14:36:33'
order by a.promo_id desc
get_reviews (Datasource=celerantsql, Time=0ms, Records=0) in E:\inetpub\wwwroot\category_product_display.cfm @ 14:36:33.033
select * from tb_product_reviews with (nolock) where style_id=220962  and status='A' and site = 'sportsman'
get_reviews_average (Datasource=celerantsql, Time=0ms, Records=1) in E:\inetpub\wwwroot\category_product_display.cfm @ 14:36:33.033
select sum(CAST(custom_rating_1 AS INTEGER)) as custom_rating_1 from tb_product_reviews with (nolock) where style_id=220962 and status='A' and site = 'sportsman'
check_qoh (Datasource=celerantsql, Time=0ms, Records=1) in E:\inetpub\wwwroot\category_product_display.cfm @ 14:36:33.033
select sum(e.qoh + e.qc) as qoh ,sum(e.qc) as qc,sum(e.qs - e.qc) as sold
			from tb_skus a with (nolock)
			left join tb_sku_buckets e with (nolock) on (e.sku_id = a.sku_id) 
			where a.style_id = 220965 and e.store_id = 10 
			group by a.style_id, e.qc
check_ss_qoh (Datasource=celerantsql, Time=32ms, Records=0) in C:\inetpub\wwwroot\includes\dropship.cfm @ 14:36:33.033
select e.sku_bucket_id, e.price, e.sugg_price, (e.qoh + e.qc) as qoh, z.of15,e.last_cost
	from 
	tb_styles z with (nolock) inner join tb_skus a with (nolock) on (z.style_id=a.style_id)
	inner join tb_parts b with (nolock) on (a.STYLE_ID=b.STYLE_ID)
	inner join tb_sku_buckets e with (nolock) on (e.sku_id = a.sku_id)
	where a.style_id = 220965 and b.contact_id=22620 and (e.qoh + e.qc) >= 1
	and e.store_id = 27 and (e.last_cost>0 and z.of15 is not NULL) 
	and z.brand not in (?,?,?,?,?,?,?,?,?)
Query Parameter Value(s) -
Parameter #1(cf_sql_varchar) = BERETTA
Parameter #2(cf_sql_varchar) = GLOCK
Parameter #3(cf_sql_varchar) = RUGER
Parameter #4(cf_sql_varchar) = SMITH AND WESSON
Parameter #5(cf_sql_varchar) = LEUPOLD
Parameter #6(cf_sql_varchar) = SPRINGFIELD
Parameter #7(cf_sql_varchar) = THOMPSON CENTER
Parameter #8(cf_sql_varchar) = TIKKA
Parameter #9(cf_sql_varchar) = WALTHER

bulk_price (Datasource=, Time=1ms, Records=0) in E:\inetpub\wwwroot\category_product_display.cfm @ 14:36:33.033
select * from bulkitems where bulk_id = ? and site is NULL
Query Parameter Value(s) -
Parameter #1(cf_sql_integer) = 220965

get_term_sale_info (Datasource=celerantsql, Time=0ms, Records=0) in C:\inetpub\wwwroot\includes\qry_term_sale_price.cfm @ 14:36:33.033
select typ,amount,end_date,term_sale_id
from tb_term_sale_entries with (nolock)
where start_date<= 'May 20, 2024 14:36:33' and
end_date >= 'May 20, 2024 14:36:33'
and store_id=10 and style_id=220965
get_promos (Datasource=celerantsql, Time=0ms, Records=0) in C:\inetpub\wwwroot\includes\qry_mfg_promo_price.cfm @ 14:36:33.033
SELECT *
FROM 
tb_mfg_promo.dbo.tb_mfg_promos a WITH (NOLOCK)
INNER JOIN tb_mfg_promo.dbo.tb_mfg_promo_items b WITH (NOLOCK)
    ON (a.promo_id = b.promo_id)
where b.style_id = 220965 
and (a.start_date<= 'May 20, 2024 14:36:33' or a.active = 1)
and a.end_date >= 'May 20, 2024 14:36:33'
order by a.promo_id desc
get_reviews (Datasource=celerantsql, Time=0ms, Records=0) in E:\inetpub\wwwroot\category_product_display.cfm @ 14:36:33.033
select * from tb_product_reviews with (nolock) where style_id=220965  and status='A' and site = 'sportsman'
get_reviews_average (Datasource=celerantsql, Time=0ms, Records=1) in E:\inetpub\wwwroot\category_product_display.cfm @ 14:36:33.033
select sum(CAST(custom_rating_1 AS INTEGER)) as custom_rating_1 from tb_product_reviews with (nolock) where style_id=220965 and status='A' and site = 'sportsman'
check_qoh (Datasource=celerantsql, Time=0ms, Records=1) in E:\inetpub\wwwroot\category_product_display.cfm @ 14:36:33.033
select sum(e.qoh + e.qc) as qoh ,sum(e.qc) as qc,sum(e.qs - e.qc) as sold
			from tb_skus a with (nolock)
			left join tb_sku_buckets e with (nolock) on (e.sku_id = a.sku_id) 
			where a.style_id = 220967 and e.store_id = 10 
			group by a.style_id, e.qc
check_ss_qoh (Datasource=celerantsql, Time=16ms, Records=0) in C:\inetpub\wwwroot\includes\dropship.cfm @ 14:36:33.033
select e.sku_bucket_id, e.price, e.sugg_price, (e.qoh + e.qc) as qoh, z.of15,e.last_cost
	from 
	tb_styles z with (nolock) inner join tb_skus a with (nolock) on (z.style_id=a.style_id)
	inner join tb_parts b with (nolock) on (a.STYLE_ID=b.STYLE_ID)
	inner join tb_sku_buckets e with (nolock) on (e.sku_id = a.sku_id)
	where a.style_id = 220967 and b.contact_id=22620 and (e.qoh + e.qc) >= 1
	and e.store_id = 27 and (e.last_cost>0 and z.of15 is not NULL) 
	and z.brand not in (?,?,?,?,?,?,?,?,?)
Query Parameter Value(s) -
Parameter #1(cf_sql_varchar) = BERETTA
Parameter #2(cf_sql_varchar) = GLOCK
Parameter #3(cf_sql_varchar) = RUGER
Parameter #4(cf_sql_varchar) = SMITH AND WESSON
Parameter #5(cf_sql_varchar) = LEUPOLD
Parameter #6(cf_sql_varchar) = SPRINGFIELD
Parameter #7(cf_sql_varchar) = THOMPSON CENTER
Parameter #8(cf_sql_varchar) = TIKKA
Parameter #9(cf_sql_varchar) = WALTHER

bulk_price (Datasource=, Time=0ms, Records=0) in E:\inetpub\wwwroot\category_product_display.cfm @ 14:36:33.033
select * from bulkitems where bulk_id = ? and site is NULL
Query Parameter Value(s) -
Parameter #1(cf_sql_integer) = 220967

get_term_sale_info (Datasource=celerantsql, Time=0ms, Records=0) in C:\inetpub\wwwroot\includes\qry_term_sale_price.cfm @ 14:36:33.033
select typ,amount,end_date,term_sale_id
from tb_term_sale_entries with (nolock)
where start_date<= 'May 20, 2024 14:36:33' and
end_date >= 'May 20, 2024 14:36:33'
and store_id=10 and style_id=220967
get_promos (Datasource=celerantsql, Time=16ms, Records=0) in C:\inetpub\wwwroot\includes\qry_mfg_promo_price.cfm @ 14:36:33.033
SELECT *
FROM 
tb_mfg_promo.dbo.tb_mfg_promos a WITH (NOLOCK)
INNER JOIN tb_mfg_promo.dbo.tb_mfg_promo_items b WITH (NOLOCK)
    ON (a.promo_id = b.promo_id)
where b.style_id = 220967 
and (a.start_date<= 'May 20, 2024 14:36:33' or a.active = 1)
and a.end_date >= 'May 20, 2024 14:36:33'
order by a.promo_id desc
get_reviews (Datasource=celerantsql, Time=0ms, Records=0) in E:\inetpub\wwwroot\category_product_display.cfm @ 14:36:33.033
select * from tb_product_reviews with (nolock) where style_id=220967  and status='A' and site = 'sportsman'
get_reviews_average (Datasource=celerantsql, Time=0ms, Records=1) in E:\inetpub\wwwroot\category_product_display.cfm @ 14:36:33.033
select sum(CAST(custom_rating_1 AS INTEGER)) as custom_rating_1 from tb_product_reviews with (nolock) where style_id=220967 and status='A' and site = 'sportsman'
check_qoh (Datasource=celerantsql, Time=0ms, Records=1) in E:\inetpub\wwwroot\category_product_display.cfm @ 14:36:33.033
select sum(e.qoh + e.qc) as qoh ,sum(e.qc) as qc,sum(e.qs - e.qc) as sold
			from tb_skus a with (nolock)
			left join tb_sku_buckets e with (nolock) on (e.sku_id = a.sku_id) 
			where a.style_id = 220968 and e.store_id = 10 
			group by a.style_id, e.qc
check_ss_qoh (Datasource=celerantsql, Time=15ms, Records=0) in C:\inetpub\wwwroot\includes\dropship.cfm @ 14:36:33.033
select e.sku_bucket_id, e.price, e.sugg_price, (e.qoh + e.qc) as qoh, z.of15,e.last_cost
	from 
	tb_styles z with (nolock) inner join tb_skus a with (nolock) on (z.style_id=a.style_id)
	inner join tb_parts b with (nolock) on (a.STYLE_ID=b.STYLE_ID)
	inner join tb_sku_buckets e with (nolock) on (e.sku_id = a.sku_id)
	where a.style_id = 220968 and b.contact_id=22620 and (e.qoh + e.qc) >= 1
	and e.store_id = 27 and (e.last_cost>0 and z.of15 is not NULL) 
	and z.brand not in (?,?,?,?,?,?,?,?,?)
Query Parameter Value(s) -
Parameter #1(cf_sql_varchar) = BERETTA
Parameter #2(cf_sql_varchar) = GLOCK
Parameter #3(cf_sql_varchar) = RUGER
Parameter #4(cf_sql_varchar) = SMITH AND WESSON
Parameter #5(cf_sql_varchar) = LEUPOLD
Parameter #6(cf_sql_varchar) = SPRINGFIELD
Parameter #7(cf_sql_varchar) = THOMPSON CENTER
Parameter #8(cf_sql_varchar) = TIKKA
Parameter #9(cf_sql_varchar) = WALTHER

bulk_price (Datasource=, Time=0ms, Records=0) in E:\inetpub\wwwroot\category_product_display.cfm @ 14:36:33.033
select * from bulkitems where bulk_id = ? and site is NULL
Query Parameter Value(s) -
Parameter #1(cf_sql_integer) = 220968

get_term_sale_info (Datasource=celerantsql, Time=0ms, Records=0) in C:\inetpub\wwwroot\includes\qry_term_sale_price.cfm @ 14:36:33.033
select typ,amount,end_date,term_sale_id
from tb_term_sale_entries with (nolock)
where start_date<= 'May 20, 2024 14:36:33' and
end_date >= 'May 20, 2024 14:36:33'
and store_id=10 and style_id=220968
get_promos (Datasource=celerantsql, Time=0ms, Records=0) in C:\inetpub\wwwroot\includes\qry_mfg_promo_price.cfm @ 14:36:33.033
SELECT *
FROM 
tb_mfg_promo.dbo.tb_mfg_promos a WITH (NOLOCK)
INNER JOIN tb_mfg_promo.dbo.tb_mfg_promo_items b WITH (NOLOCK)
    ON (a.promo_id = b.promo_id)
where b.style_id = 220968 
and (a.start_date<= 'May 20, 2024 14:36:33' or a.active = 1)
and a.end_date >= 'May 20, 2024 14:36:33'
order by a.promo_id desc
get_reviews (Datasource=celerantsql, Time=0ms, Records=0) in E:\inetpub\wwwroot\category_product_display.cfm @ 14:36:33.033
select * from tb_product_reviews with (nolock) where style_id=220968  and status='A' and site = 'sportsman'
get_reviews_average (Datasource=celerantsql, Time=0ms, Records=1) in E:\inetpub\wwwroot\category_product_display.cfm @ 14:36:33.033
select sum(CAST(custom_rating_1 AS INTEGER)) as custom_rating_1 from tb_product_reviews with (nolock) where style_id=220968 and status='A' and site = 'sportsman'
check_qoh (Datasource=celerantsql, Time=16ms, Records=1) in E:\inetpub\wwwroot\category_product_display.cfm @ 14:36:33.033
select sum(e.qoh + e.qc) as qoh ,sum(e.qc) as qc,sum(e.qs - e.qc) as sold
			from tb_skus a with (nolock)
			left join tb_sku_buckets e with (nolock) on (e.sku_id = a.sku_id) 
			where a.style_id = 220970 and e.store_id = 10 
			group by a.style_id, e.qc
check_ss_qoh (Datasource=celerantsql, Time=0ms, Records=0) in C:\inetpub\wwwroot\includes\dropship.cfm @ 14:36:33.033
select e.sku_bucket_id, e.price, e.sugg_price, (e.qoh + e.qc) as qoh, z.of15,e.last_cost
	from 
	tb_styles z with (nolock) inner join tb_skus a with (nolock) on (z.style_id=a.style_id)
	inner join tb_parts b with (nolock) on (a.STYLE_ID=b.STYLE_ID)
	inner join tb_sku_buckets e with (nolock) on (e.sku_id = a.sku_id)
	where a.style_id = 220970 and b.contact_id=22620 and (e.qoh + e.qc) >= 1
	and e.store_id = 27 and (e.last_cost>0 and z.of15 is not NULL) 
	and z.brand not in (?,?,?,?,?,?,?,?,?)
Query Parameter Value(s) -
Parameter #1(cf_sql_varchar) = BERETTA
Parameter #2(cf_sql_varchar) = GLOCK
Parameter #3(cf_sql_varchar) = RUGER
Parameter #4(cf_sql_varchar) = SMITH AND WESSON
Parameter #5(cf_sql_varchar) = LEUPOLD
Parameter #6(cf_sql_varchar) = SPRINGFIELD
Parameter #7(cf_sql_varchar) = THOMPSON CENTER
Parameter #8(cf_sql_varchar) = TIKKA
Parameter #9(cf_sql_varchar) = WALTHER

bulk_price (Datasource=, Time=0ms, Records=0) in E:\inetpub\wwwroot\category_product_display.cfm @ 14:36:33.033
select * from bulkitems where bulk_id = ? and site is NULL
Query Parameter Value(s) -
Parameter #1(cf_sql_integer) = 220970

get_term_sale_info (Datasource=celerantsql, Time=0ms, Records=0) in C:\inetpub\wwwroot\includes\qry_term_sale_price.cfm @ 14:36:33.033
select typ,amount,end_date,term_sale_id
from tb_term_sale_entries with (nolock)
where start_date<= 'May 20, 2024 14:36:33' and
end_date >= 'May 20, 2024 14:36:33'
and store_id=10 and style_id=220970
get_promos (Datasource=celerantsql, Time=0ms, Records=0) in C:\inetpub\wwwroot\includes\qry_mfg_promo_price.cfm @ 14:36:33.033
SELECT *
FROM 
tb_mfg_promo.dbo.tb_mfg_promos a WITH (NOLOCK)
INNER JOIN tb_mfg_promo.dbo.tb_mfg_promo_items b WITH (NOLOCK)
    ON (a.promo_id = b.promo_id)
where b.style_id = 220970 
and (a.start_date<= 'May 20, 2024 14:36:33' or a.active = 1)
and a.end_date >= 'May 20, 2024 14:36:33'
order by a.promo_id desc
get_reviews (Datasource=celerantsql, Time=0ms, Records=0) in E:\inetpub\wwwroot\category_product_display.cfm @ 14:36:33.033
select * from tb_product_reviews with (nolock) where style_id=220970  and status='A' and site = 'sportsman'
get_reviews_average (Datasource=celerantsql, Time=0ms, Records=1) in E:\inetpub\wwwroot\category_product_display.cfm @ 14:36:33.033
select sum(CAST(custom_rating_1 AS INTEGER)) as custom_rating_1 from tb_product_reviews with (nolock) where style_id=220970 and status='A' and site = 'sportsman'
check_qoh (Datasource=celerantsql, Time=16ms, Records=1) in E:\inetpub\wwwroot\category_product_display.cfm @ 14:36:33.033
select sum(e.qoh + e.qc) as qoh ,sum(e.qc) as qc,sum(e.qs - e.qc) as sold
			from tb_skus a with (nolock)
			left join tb_sku_buckets e with (nolock) on (e.sku_id = a.sku_id) 
			where a.style_id = 228586 and e.store_id = 10 
			group by a.style_id, e.qc
check_ss_qoh (Datasource=celerantsql, Time=16ms, Records=0) in C:\inetpub\wwwroot\includes\dropship.cfm @ 14:36:33.033
select e.sku_bucket_id, e.price, e.sugg_price, (e.qoh + e.qc) as qoh, z.of15,e.last_cost
	from 
	tb_styles z with (nolock) inner join tb_skus a with (nolock) on (z.style_id=a.style_id)
	inner join tb_parts b with (nolock) on (a.STYLE_ID=b.STYLE_ID)
	inner join tb_sku_buckets e with (nolock) on (e.sku_id = a.sku_id)
	where a.style_id = 228586 and b.contact_id=22620 and (e.qoh + e.qc) >= 1
	and e.store_id = 27 and (e.last_cost>0 and z.of15 is not NULL) 
	and z.brand not in (?,?,?,?,?,?,?,?,?)
Query Parameter Value(s) -
Parameter #1(cf_sql_varchar) = BERETTA
Parameter #2(cf_sql_varchar) = GLOCK
Parameter #3(cf_sql_varchar) = RUGER
Parameter #4(cf_sql_varchar) = SMITH AND WESSON
Parameter #5(cf_sql_varchar) = LEUPOLD
Parameter #6(cf_sql_varchar) = SPRINGFIELD
Parameter #7(cf_sql_varchar) = THOMPSON CENTER
Parameter #8(cf_sql_varchar) = TIKKA
Parameter #9(cf_sql_varchar) = WALTHER

bulk_price (Datasource=, Time=0ms, Records=0) in E:\inetpub\wwwroot\category_product_display.cfm @ 14:36:33.033
select * from bulkitems where bulk_id = ? and site is NULL
Query Parameter Value(s) -
Parameter #1(cf_sql_integer) = 228586

get_term_sale_info (Datasource=celerantsql, Time=0ms, Records=0) in C:\inetpub\wwwroot\includes\qry_term_sale_price.cfm @ 14:36:33.033
select typ,amount,end_date,term_sale_id
from tb_term_sale_entries with (nolock)
where start_date<= 'May 20, 2024 14:36:33' and
end_date >= 'May 20, 2024 14:36:33'
and store_id=10 and style_id=228586
get_promos (Datasource=celerantsql, Time=0ms, Records=0) in C:\inetpub\wwwroot\includes\qry_mfg_promo_price.cfm @ 14:36:33.033
SELECT *
FROM 
tb_mfg_promo.dbo.tb_mfg_promos a WITH (NOLOCK)
INNER JOIN tb_mfg_promo.dbo.tb_mfg_promo_items b WITH (NOLOCK)
    ON (a.promo_id = b.promo_id)
where b.style_id = 228586 
and (a.start_date<= 'May 20, 2024 14:36:33' or a.active = 1)
and a.end_date >= 'May 20, 2024 14:36:33'
order by a.promo_id desc
get_reviews (Datasource=celerantsql, Time=16ms, Records=0) in E:\inetpub\wwwroot\category_product_display.cfm @ 14:36:33.033
select * from tb_product_reviews with (nolock) where style_id=228586  and status='A' and site = 'sportsman'
get_reviews_average (Datasource=celerantsql, Time=1ms, Records=1) in E:\inetpub\wwwroot\category_product_display.cfm @ 14:36:33.033
select sum(CAST(custom_rating_1 AS INTEGER)) as custom_rating_1 from tb_product_reviews with (nolock) where style_id=228586 and status='A' and site = 'sportsman'
check_qoh (Datasource=celerantsql, Time=6ms, Records=1) in E:\inetpub\wwwroot\category_product_display.cfm @ 14:36:33.033
select sum(e.qoh + e.qc) as qoh ,sum(e.qc) as qc,sum(e.qs - e.qc) as sold
			from tb_skus a with (nolock)
			left join tb_sku_buckets e with (nolock) on (e.sku_id = a.sku_id) 
			where a.style_id = 228595 and e.store_id = 10 
			group by a.style_id, e.qc
check_ss_qoh (Datasource=celerantsql, Time=3ms, Records=0) in C:\inetpub\wwwroot\includes\dropship.cfm @ 14:36:33.033
select e.sku_bucket_id, e.price, e.sugg_price, (e.qoh + e.qc) as qoh, z.of15,e.last_cost
	from 
	tb_styles z with (nolock) inner join tb_skus a with (nolock) on (z.style_id=a.style_id)
	inner join tb_parts b with (nolock) on (a.STYLE_ID=b.STYLE_ID)
	inner join tb_sku_buckets e with (nolock) on (e.sku_id = a.sku_id)
	where a.style_id = 228595 and b.contact_id=22620 and (e.qoh + e.qc) >= 1
	and e.store_id = 27 and (e.last_cost>0 and z.of15 is not NULL) 
	and z.brand not in (?,?,?,?,?,?,?,?,?)
Query Parameter Value(s) -
Parameter #1(cf_sql_varchar) = BERETTA
Parameter #2(cf_sql_varchar) = GLOCK
Parameter #3(cf_sql_varchar) = RUGER
Parameter #4(cf_sql_varchar) = SMITH AND WESSON
Parameter #5(cf_sql_varchar) = LEUPOLD
Parameter #6(cf_sql_varchar) = SPRINGFIELD
Parameter #7(cf_sql_varchar) = THOMPSON CENTER
Parameter #8(cf_sql_varchar) = TIKKA
Parameter #9(cf_sql_varchar) = WALTHER

bulk_price (Datasource=, Time=0ms, Records=0) in E:\inetpub\wwwroot\category_product_display.cfm @ 14:36:33.033
select * from bulkitems where bulk_id = ? and site is NULL
Query Parameter Value(s) -
Parameter #1(cf_sql_integer) = 228595

get_term_sale_info (Datasource=celerantsql, Time=0ms, Records=0) in C:\inetpub\wwwroot\includes\qry_term_sale_price.cfm @ 14:36:33.033
select typ,amount,end_date,term_sale_id
from tb_term_sale_entries with (nolock)
where start_date<= 'May 20, 2024 14:36:33' and
end_date >= 'May 20, 2024 14:36:33'
and store_id=10 and style_id=228595
get_promos (Datasource=celerantsql, Time=0ms, Records=0) in C:\inetpub\wwwroot\includes\qry_mfg_promo_price.cfm @ 14:36:33.033
SELECT *
FROM 
tb_mfg_promo.dbo.tb_mfg_promos a WITH (NOLOCK)
INNER JOIN tb_mfg_promo.dbo.tb_mfg_promo_items b WITH (NOLOCK)
    ON (a.promo_id = b.promo_id)
where b.style_id = 228595 
and (a.start_date<= 'May 20, 2024 14:36:33' or a.active = 1)
and a.end_date >= 'May 20, 2024 14:36:33'
order by a.promo_id desc
get_reviews (Datasource=celerantsql, Time=0ms, Records=0) in E:\inetpub\wwwroot\category_product_display.cfm @ 14:36:33.033
select * from tb_product_reviews with (nolock) where style_id=228595  and status='A' and site = 'sportsman'
get_reviews_average (Datasource=celerantsql, Time=0ms, Records=1) in E:\inetpub\wwwroot\category_product_display.cfm @ 14:36:33.033
select sum(CAST(custom_rating_1 AS INTEGER)) as custom_rating_1 from tb_product_reviews with (nolock) where style_id=228595 and status='A' and site = 'sportsman'
check_qoh (Datasource=celerantsql, Time=15ms, Records=1) in E:\inetpub\wwwroot\category_product_display.cfm @ 14:36:33.033
select sum(e.qoh + e.qc) as qoh ,sum(e.qc) as qc,sum(e.qs - e.qc) as sold
			from tb_skus a with (nolock)
			left join tb_sku_buckets e with (nolock) on (e.sku_id = a.sku_id) 
			where a.style_id = 228596 and e.store_id = 10 
			group by a.style_id, e.qc
check_ss_qoh (Datasource=celerantsql, Time=17ms, Records=0) in C:\inetpub\wwwroot\includes\dropship.cfm @ 14:36:33.033
select e.sku_bucket_id, e.price, e.sugg_price, (e.qoh + e.qc) as qoh, z.of15,e.last_cost
	from 
	tb_styles z with (nolock) inner join tb_skus a with (nolock) on (z.style_id=a.style_id)
	inner join tb_parts b with (nolock) on (a.STYLE_ID=b.STYLE_ID)
	inner join tb_sku_buckets e with (nolock) on (e.sku_id = a.sku_id)
	where a.style_id = 228596 and b.contact_id=22620 and (e.qoh + e.qc) >= 1
	and e.store_id = 27 and (e.last_cost>0 and z.of15 is not NULL) 
	and z.brand not in (?,?,?,?,?,?,?,?,?)
Query Parameter Value(s) -
Parameter #1(cf_sql_varchar) = BERETTA
Parameter #2(cf_sql_varchar) = GLOCK
Parameter #3(cf_sql_varchar) = RUGER
Parameter #4(cf_sql_varchar) = SMITH AND WESSON
Parameter #5(cf_sql_varchar) = LEUPOLD
Parameter #6(cf_sql_varchar) = SPRINGFIELD
Parameter #7(cf_sql_varchar) = THOMPSON CENTER
Parameter #8(cf_sql_varchar) = TIKKA
Parameter #9(cf_sql_varchar) = WALTHER

bulk_price (Datasource=, Time=0ms, Records=0) in E:\inetpub\wwwroot\category_product_display.cfm @ 14:36:33.033
select * from bulkitems where bulk_id = ? and site is NULL
Query Parameter Value(s) -
Parameter #1(cf_sql_integer) = 228596

get_term_sale_info (Datasource=celerantsql, Time=0ms, Records=0) in C:\inetpub\wwwroot\includes\qry_term_sale_price.cfm @ 14:36:33.033
select typ,amount,end_date,term_sale_id
from tb_term_sale_entries with (nolock)
where start_date<= 'May 20, 2024 14:36:33' and
end_date >= 'May 20, 2024 14:36:33'
and store_id=10 and style_id=228596
get_promos (Datasource=celerantsql, Time=0ms, Records=0) in C:\inetpub\wwwroot\includes\qry_mfg_promo_price.cfm @ 14:36:33.033
SELECT *
FROM 
tb_mfg_promo.dbo.tb_mfg_promos a WITH (NOLOCK)
INNER JOIN tb_mfg_promo.dbo.tb_mfg_promo_items b WITH (NOLOCK)
    ON (a.promo_id = b.promo_id)
where b.style_id = 228596 
and (a.start_date<= 'May 20, 2024 14:36:33' or a.active = 1)
and a.end_date >= 'May 20, 2024 14:36:33'
order by a.promo_id desc
get_reviews (Datasource=celerantsql, Time=16ms, Records=0) in E:\inetpub\wwwroot\category_product_display.cfm @ 14:36:33.033
select * from tb_product_reviews with (nolock) where style_id=228596  and status='A' and site = 'sportsman'
get_reviews_average (Datasource=celerantsql, Time=0ms, Records=1) in E:\inetpub\wwwroot\category_product_display.cfm @ 14:36:33.033
select sum(CAST(custom_rating_1 AS INTEGER)) as custom_rating_1 from tb_product_reviews with (nolock) where style_id=228596 and status='A' and site = 'sportsman'
check_qoh (Datasource=celerantsql, Time=0ms, Records=1) in E:\inetpub\wwwroot\category_product_display.cfm @ 14:36:33.033
select sum(e.qoh + e.qc) as qoh ,sum(e.qc) as qc,sum(e.qs - e.qc) as sold
			from tb_skus a with (nolock)
			left join tb_sku_buckets e with (nolock) on (e.sku_id = a.sku_id) 
			where a.style_id = 228604 and e.store_id = 10 
			group by a.style_id, e.qc
check_ss_qoh (Datasource=celerantsql, Time=16ms, Records=0) in C:\inetpub\wwwroot\includes\dropship.cfm @ 14:36:33.033
select e.sku_bucket_id, e.price, e.sugg_price, (e.qoh + e.qc) as qoh, z.of15,e.last_cost
	from 
	tb_styles z with (nolock) inner join tb_skus a with (nolock) on (z.style_id=a.style_id)
	inner join tb_parts b with (nolock) on (a.STYLE_ID=b.STYLE_ID)
	inner join tb_sku_buckets e with (nolock) on (e.sku_id = a.sku_id)
	where a.style_id = 228604 and b.contact_id=22620 and (e.qoh + e.qc) >= 1
	and e.store_id = 27 and (e.last_cost>0 and z.of15 is not NULL) 
	and z.brand not in (?,?,?,?,?,?,?,?,?)
Query Parameter Value(s) -
Parameter #1(cf_sql_varchar) = BERETTA
Parameter #2(cf_sql_varchar) = GLOCK
Parameter #3(cf_sql_varchar) = RUGER
Parameter #4(cf_sql_varchar) = SMITH AND WESSON
Parameter #5(cf_sql_varchar) = LEUPOLD
Parameter #6(cf_sql_varchar) = SPRINGFIELD
Parameter #7(cf_sql_varchar) = THOMPSON CENTER
Parameter #8(cf_sql_varchar) = TIKKA
Parameter #9(cf_sql_varchar) = WALTHER

bulk_price (Datasource=, Time=0ms, Records=0) in E:\inetpub\wwwroot\category_product_display.cfm @ 14:36:33.033
select * from bulkitems where bulk_id = ? and site is NULL
Query Parameter Value(s) -
Parameter #1(cf_sql_integer) = 228604

get_term_sale_info (Datasource=celerantsql, Time=0ms, Records=0) in C:\inetpub\wwwroot\includes\qry_term_sale_price.cfm @ 14:36:33.033
select typ,amount,end_date,term_sale_id
from tb_term_sale_entries with (nolock)
where start_date<= 'May 20, 2024 14:36:33' and
end_date >= 'May 20, 2024 14:36:33'
and store_id=10 and style_id=228604
get_promos (Datasource=celerantsql, Time=15ms, Records=0) in C:\inetpub\wwwroot\includes\qry_mfg_promo_price.cfm @ 14:36:33.033
SELECT *
FROM 
tb_mfg_promo.dbo.tb_mfg_promos a WITH (NOLOCK)
INNER JOIN tb_mfg_promo.dbo.tb_mfg_promo_items b WITH (NOLOCK)
    ON (a.promo_id = b.promo_id)
where b.style_id = 228604 
and (a.start_date<= 'May 20, 2024 14:36:33' or a.active = 1)
and a.end_date >= 'May 20, 2024 14:36:33'
order by a.promo_id desc
get_reviews (Datasource=celerantsql, Time=0ms, Records=1) in E:\inetpub\wwwroot\category_product_display.cfm @ 14:36:33.033
select * from tb_product_reviews with (nolock) where style_id=228604  and status='A' and site = 'sportsman'
get_reviews_average (Datasource=celerantsql, Time=0ms, Records=1) in E:\inetpub\wwwroot\category_product_display.cfm @ 14:36:33.033
select sum(CAST(custom_rating_1 AS INTEGER)) as custom_rating_1 from tb_product_reviews with (nolock) where style_id=228604 and status='A' and site = 'sportsman'
check_qoh (Datasource=celerantsql, Time=16ms, Records=1) in E:\inetpub\wwwroot\category_product_display.cfm @ 14:36:33.033
select sum(e.qoh + e.qc) as qoh ,sum(e.qc) as qc,sum(e.qs - e.qc) as sold
			from tb_skus a with (nolock)
			left join tb_sku_buckets e with (nolock) on (e.sku_id = a.sku_id) 
			where a.style_id = 228605 and e.store_id = 10 
			group by a.style_id, e.qc
check_ss_qoh (Datasource=celerantsql, Time=15ms, Records=0) in C:\inetpub\wwwroot\includes\dropship.cfm @ 14:36:33.033
select e.sku_bucket_id, e.price, e.sugg_price, (e.qoh + e.qc) as qoh, z.of15,e.last_cost
	from 
	tb_styles z with (nolock) inner join tb_skus a with (nolock) on (z.style_id=a.style_id)
	inner join tb_parts b with (nolock) on (a.STYLE_ID=b.STYLE_ID)
	inner join tb_sku_buckets e with (nolock) on (e.sku_id = a.sku_id)
	where a.style_id = 228605 and b.contact_id=22620 and (e.qoh + e.qc) >= 1
	and e.store_id = 27 and (e.last_cost>0 and z.of15 is not NULL) 
	and z.brand not in (?,?,?,?,?,?,?,?,?)
Query Parameter Value(s) -
Parameter #1(cf_sql_varchar) = BERETTA
Parameter #2(cf_sql_varchar) = GLOCK
Parameter #3(cf_sql_varchar) = RUGER
Parameter #4(cf_sql_varchar) = SMITH AND WESSON
Parameter #5(cf_sql_varchar) = LEUPOLD
Parameter #6(cf_sql_varchar) = SPRINGFIELD
Parameter #7(cf_sql_varchar) = THOMPSON CENTER
Parameter #8(cf_sql_varchar) = TIKKA
Parameter #9(cf_sql_varchar) = WALTHER

bulk_price (Datasource=, Time=0ms, Records=0) in E:\inetpub\wwwroot\category_product_display.cfm @ 14:36:33.033
select * from bulkitems where bulk_id = ? and site is NULL
Query Parameter Value(s) -
Parameter #1(cf_sql_integer) = 228605

get_term_sale_info (Datasource=celerantsql, Time=0ms, Records=0) in C:\inetpub\wwwroot\includes\qry_term_sale_price.cfm @ 14:36:33.033
select typ,amount,end_date,term_sale_id
from tb_term_sale_entries with (nolock)
where start_date<= 'May 20, 2024 14:36:33' and
end_date >= 'May 20, 2024 14:36:33'
and store_id=10 and style_id=228605
get_promos (Datasource=celerantsql, Time=0ms, Records=0) in C:\inetpub\wwwroot\includes\qry_mfg_promo_price.cfm @ 14:36:33.033
SELECT *
FROM 
tb_mfg_promo.dbo.tb_mfg_promos a WITH (NOLOCK)
INNER JOIN tb_mfg_promo.dbo.tb_mfg_promo_items b WITH (NOLOCK)
    ON (a.promo_id = b.promo_id)
where b.style_id = 228605 
and (a.start_date<= 'May 20, 2024 14:36:33' or a.active = 1)
and a.end_date >= 'May 20, 2024 14:36:33'
order by a.promo_id desc
get_reviews (Datasource=celerantsql, Time=16ms, Records=0) in E:\inetpub\wwwroot\category_product_display.cfm @ 14:36:33.033
select * from tb_product_reviews with (nolock) where style_id=228605  and status='A' and site = 'sportsman'
get_reviews_average (Datasource=celerantsql, Time=0ms, Records=1) in E:\inetpub\wwwroot\category_product_display.cfm @ 14:36:33.033
select sum(CAST(custom_rating_1 AS INTEGER)) as custom_rating_1 from tb_product_reviews with (nolock) where style_id=228605 and status='A' and site = 'sportsman'
check_qoh (Datasource=celerantsql, Time=0ms, Records=1) in E:\inetpub\wwwroot\category_product_display.cfm @ 14:36:33.033
select sum(e.qoh + e.qc) as qoh ,sum(e.qc) as qc,sum(e.qs - e.qc) as sold
			from tb_skus a with (nolock)
			left join tb_sku_buckets e with (nolock) on (e.sku_id = a.sku_id) 
			where a.style_id = 242420 and e.store_id = 10 
			group by a.style_id, e.qc
check_ss_qoh (Datasource=celerantsql, Time=16ms, Records=0) in C:\inetpub\wwwroot\includes\dropship.cfm @ 14:36:33.033
select e.sku_bucket_id, e.price, e.sugg_price, (e.qoh + e.qc) as qoh, z.of15,e.last_cost
	from 
	tb_styles z with (nolock) inner join tb_skus a with (nolock) on (z.style_id=a.style_id)
	inner join tb_parts b with (nolock) on (a.STYLE_ID=b.STYLE_ID)
	inner join tb_sku_buckets e with (nolock) on (e.sku_id = a.sku_id)
	where a.style_id = 242420 and b.contact_id=22620 and (e.qoh + e.qc) >= 1
	and e.store_id = 27 and (e.last_cost>0 and z.of15 is not NULL) 
	and z.brand not in (?,?,?,?,?,?,?,?,?)
Query Parameter Value(s) -
Parameter #1(cf_sql_varchar) = BERETTA
Parameter #2(cf_sql_varchar) = GLOCK
Parameter #3(cf_sql_varchar) = RUGER
Parameter #4(cf_sql_varchar) = SMITH AND WESSON
Parameter #5(cf_sql_varchar) = LEUPOLD
Parameter #6(cf_sql_varchar) = SPRINGFIELD
Parameter #7(cf_sql_varchar) = THOMPSON CENTER
Parameter #8(cf_sql_varchar) = TIKKA
Parameter #9(cf_sql_varchar) = WALTHER

bulk_price (Datasource=, Time=0ms, Records=0) in E:\inetpub\wwwroot\category_product_display.cfm @ 14:36:33.033
select * from bulkitems where bulk_id = ? and site is NULL
Query Parameter Value(s) -
Parameter #1(cf_sql_integer) = 242420

get_term_sale_info (Datasource=celerantsql, Time=0ms, Records=0) in C:\inetpub\wwwroot\includes\qry_term_sale_price.cfm @ 14:36:33.033
select typ,amount,end_date,term_sale_id
from tb_term_sale_entries with (nolock)
where start_date<= 'May 20, 2024 14:36:33' and
end_date >= 'May 20, 2024 14:36:33'
and store_id=10 and style_id=242420
get_promos (Datasource=celerantsql, Time=0ms, Records=0) in C:\inetpub\wwwroot\includes\qry_mfg_promo_price.cfm @ 14:36:33.033
SELECT *
FROM 
tb_mfg_promo.dbo.tb_mfg_promos a WITH (NOLOCK)
INNER JOIN tb_mfg_promo.dbo.tb_mfg_promo_items b WITH (NOLOCK)
    ON (a.promo_id = b.promo_id)
where b.style_id = 242420 
and (a.start_date<= 'May 20, 2024 14:36:33' or a.active = 1)
and a.end_date >= 'May 20, 2024 14:36:33'
order by a.promo_id desc
get_reviews (Datasource=celerantsql, Time=0ms, Records=0) in E:\inetpub\wwwroot\category_product_display.cfm @ 14:36:33.033
select * from tb_product_reviews with (nolock) where style_id=242420  and status='A' and site = 'sportsman'
get_reviews_average (Datasource=celerantsql, Time=0ms, Records=1) in E:\inetpub\wwwroot\category_product_display.cfm @ 14:36:33.033
select sum(CAST(custom_rating_1 AS INTEGER)) as custom_rating_1 from tb_product_reviews with (nolock) where style_id=242420 and status='A' and site = 'sportsman'
check_qoh (Datasource=celerantsql, Time=16ms, Records=1) in E:\inetpub\wwwroot\category_product_display.cfm @ 14:36:33.033
select sum(e.qoh + e.qc) as qoh ,sum(e.qc) as qc,sum(e.qs - e.qc) as sold
			from tb_skus a with (nolock)
			left join tb_sku_buckets e with (nolock) on (e.sku_id = a.sku_id) 
			where a.style_id = 251347 and e.store_id = 10 
			group by a.style_id, e.qc
check_ss_qoh (Datasource=celerantsql, Time=15ms, Records=0) in C:\inetpub\wwwroot\includes\dropship.cfm @ 14:36:33.033
select e.sku_bucket_id, e.price, e.sugg_price, (e.qoh + e.qc) as qoh, z.of15,e.last_cost
	from 
	tb_styles z with (nolock) inner join tb_skus a with (nolock) on (z.style_id=a.style_id)
	inner join tb_parts b with (nolock) on (a.STYLE_ID=b.STYLE_ID)
	inner join tb_sku_buckets e with (nolock) on (e.sku_id = a.sku_id)
	where a.style_id = 251347 and b.contact_id=22620 and (e.qoh + e.qc) >= 1
	and e.store_id = 27 and (e.last_cost>0 and z.of15 is not NULL) 
	and z.brand not in (?,?,?,?,?,?,?,?,?)
Query Parameter Value(s) -
Parameter #1(cf_sql_varchar) = BERETTA
Parameter #2(cf_sql_varchar) = GLOCK
Parameter #3(cf_sql_varchar) = RUGER
Parameter #4(cf_sql_varchar) = SMITH AND WESSON
Parameter #5(cf_sql_varchar) = LEUPOLD
Parameter #6(cf_sql_varchar) = SPRINGFIELD
Parameter #7(cf_sql_varchar) = THOMPSON CENTER
Parameter #8(cf_sql_varchar) = TIKKA
Parameter #9(cf_sql_varchar) = WALTHER

bulk_price (Datasource=, Time=0ms, Records=0) in E:\inetpub\wwwroot\category_product_display.cfm @ 14:36:33.033
select * from bulkitems where bulk_id = ? and site is NULL
Query Parameter Value(s) -
Parameter #1(cf_sql_integer) = 251347

get_term_sale_info (Datasource=celerantsql, Time=0ms, Records=0) in C:\inetpub\wwwroot\includes\qry_term_sale_price.cfm @ 14:36:33.033
select typ,amount,end_date,term_sale_id
from tb_term_sale_entries with (nolock)
where start_date<= 'May 20, 2024 14:36:33' and
end_date >= 'May 20, 2024 14:36:33'
and store_id=10 and style_id=251347
get_promos (Datasource=celerantsql, Time=0ms, Records=0) in C:\inetpub\wwwroot\includes\qry_mfg_promo_price.cfm @ 14:36:33.033
SELECT *
FROM 
tb_mfg_promo.dbo.tb_mfg_promos a WITH (NOLOCK)
INNER JOIN tb_mfg_promo.dbo.tb_mfg_promo_items b WITH (NOLOCK)
    ON (a.promo_id = b.promo_id)
where b.style_id = 251347 
and (a.start_date<= 'May 20, 2024 14:36:33' or a.active = 1)
and a.end_date >= 'May 20, 2024 14:36:33'
order by a.promo_id desc
get_reviews (Datasource=celerantsql, Time=16ms, Records=1) in E:\inetpub\wwwroot\category_product_display.cfm @ 14:36:33.033
select * from tb_product_reviews with (nolock) where style_id=251347  and status='A' and site = 'sportsman'
get_reviews_average (Datasource=celerantsql, Time=0ms, Records=1) in E:\inetpub\wwwroot\category_product_display.cfm @ 14:36:33.033
select sum(CAST(custom_rating_1 AS INTEGER)) as custom_rating_1 from tb_product_reviews with (nolock) where style_id=251347 and status='A' and site = 'sportsman'
check_qoh (Datasource=celerantsql, Time=0ms, Records=1) in E:\inetpub\wwwroot\category_product_display.cfm @ 14:36:33.033
select sum(e.qoh + e.qc) as qoh ,sum(e.qc) as qc,sum(e.qs - e.qc) as sold
			from tb_skus a with (nolock)
			left join tb_sku_buckets e with (nolock) on (e.sku_id = a.sku_id) 
			where a.style_id = 256979 and e.store_id = 10 
			group by a.style_id, e.qc
check_ss_qoh (Datasource=celerantsql, Time=16ms, Records=0) in C:\inetpub\wwwroot\includes\dropship.cfm @ 14:36:33.033
select e.sku_bucket_id, e.price, e.sugg_price, (e.qoh + e.qc) as qoh, z.of15,e.last_cost
	from 
	tb_styles z with (nolock) inner join tb_skus a with (nolock) on (z.style_id=a.style_id)
	inner join tb_parts b with (nolock) on (a.STYLE_ID=b.STYLE_ID)
	inner join tb_sku_buckets e with (nolock) on (e.sku_id = a.sku_id)
	where a.style_id = 256979 and b.contact_id=22620 and (e.qoh + e.qc) >= 1
	and e.store_id = 27 and (e.last_cost>0 and z.of15 is not NULL) 
	and z.brand not in (?,?,?,?,?,?,?,?,?)
Query Parameter Value(s) -
Parameter #1(cf_sql_varchar) = BERETTA
Parameter #2(cf_sql_varchar) = GLOCK
Parameter #3(cf_sql_varchar) = RUGER
Parameter #4(cf_sql_varchar) = SMITH AND WESSON
Parameter #5(cf_sql_varchar) = LEUPOLD
Parameter #6(cf_sql_varchar) = SPRINGFIELD
Parameter #7(cf_sql_varchar) = THOMPSON CENTER
Parameter #8(cf_sql_varchar) = TIKKA
Parameter #9(cf_sql_varchar) = WALTHER

bulk_price (Datasource=, Time=0ms, Records=0) in E:\inetpub\wwwroot\category_product_display.cfm @ 14:36:33.033
select * from bulkitems where bulk_id = ? and site is NULL
Query Parameter Value(s) -
Parameter #1(cf_sql_integer) = 256979

get_term_sale_info (Datasource=celerantsql, Time=15ms, Records=0) in C:\inetpub\wwwroot\includes\qry_term_sale_price.cfm @ 14:36:33.033
select typ,amount,end_date,term_sale_id
from tb_term_sale_entries with (nolock)
where start_date<= 'May 20, 2024 14:36:33' and
end_date >= 'May 20, 2024 14:36:33'
and store_id=10 and style_id=256979
get_promos (Datasource=celerantsql, Time=0ms, Records=0) in C:\inetpub\wwwroot\includes\qry_mfg_promo_price.cfm @ 14:36:33.033
SELECT *
FROM 
tb_mfg_promo.dbo.tb_mfg_promos a WITH (NOLOCK)
INNER JOIN tb_mfg_promo.dbo.tb_mfg_promo_items b WITH (NOLOCK)
    ON (a.promo_id = b.promo_id)
where b.style_id = 256979 
and (a.start_date<= 'May 20, 2024 14:36:33' or a.active = 1)
and a.end_date >= 'May 20, 2024 14:36:33'
order by a.promo_id desc
get_reviews (Datasource=celerantsql, Time=0ms, Records=0) in E:\inetpub\wwwroot\category_product_display.cfm @ 14:36:33.033
select * from tb_product_reviews with (nolock) where style_id=256979  and status='A' and site = 'sportsman'
get_reviews_average (Datasource=celerantsql, Time=0ms, Records=1) in E:\inetpub\wwwroot\category_product_display.cfm @ 14:36:33.033
select sum(CAST(custom_rating_1 AS INTEGER)) as custom_rating_1 from tb_product_reviews with (nolock) where style_id=256979 and status='A' and site = 'sportsman'


Scope Variables

Application Variables:
acceptorid=011668467
accountid=1027380
accounttoken=64BB6980FDEAF842266AC866F250CA9877FF24AE92795FB9BE490EAF527645FC4E54DC01
adminurl=https://www.sportsmansoutdoorsuperstore.com/web_admin/products/menu.cfm?style_id=
applicationname=SOS
bannerurl=https://www.sportsmansoutdoorsuperstore.com/images/banners/
ccprocessor=VANTIV
checkinventory=Struct (3)
companyname=Vance Outdoors
credova=Struct (5)
ds=celerantsql
enter_inscription=OFF
feedsdir=E:\websites\feeds\
forumemail=info@sportsmansoutdoorsuperstore.com
forumtitle=Sportsmans Outdoor Superstore
giftcardimgpath=file:///C:/websites/images/
giftcardpdfpath=E:\websites\giftcardPDF\
googlefeedproducttype=
homeurl=https://www.sportsmansoutdoorsuperstore.com/
hostedpagelink=https://transaction.hostedpayments.com/
iconurl=https://www.sportsmansoutdoorsuperstore.com/images/icons/
imagedir=E:\websites\images\
logdir=E:\websites\logs\
metadesc=
metatags=
mydomain=https://www.sportsmansoutdoorsuperstore.com/
pagetitle=
picurl=https://www.sportsmansoutdoorsuperstore.com/images/
prodimgdir=E:\websites\prodimages\
prodimgurl=https://www.sportsmansoutdoorsuperstore.com/prodimages/
qoh_store=10
safety_stock=0
salesemail=sales@sportsmansoutdoorsuperstore.com
secureurl=https://www.sportsmansoutdoorsuperstore.com/
site=sportsman
tempmailport=25
tempmailserver=127.0.0.1
tokenurl=https://services.elementexpress.com/express.asmx
use_multi_buy=OFF
vantivurl=https://transaction.elementexpress.com/express.asmx
webadminurl=https://www.sportsmansoutdoorsuperstore.com/web_admin/
websitename=Sportsmans Outdoor Superstore
CGI Variables:
AUTH_PASSWORD=
AUTH_TYPE=
AUTH_USER=
CERT_COOKIE=
CERT_FLAGS=
CERT_ISSUER=
CERT_KEYSIZE=256
CERT_SECRETKEYSIZE=2048
CERT_SERIALNUMBER=
CERT_SERVER_ISSUER=C=US, O=Let's Encrypt, CN=R3
CERT_SERVER_SUBJECT=CN=www.sportsmansoutdoorsuperstore.com
CERT_SUBJECT=
CF_TEMPLATE_PATH=E:\inetpub\wwwroot\category.cfm
CONTENT_LENGTH=0
CONTENT_TYPE=
CONTEXT_PATH=
GATEWAY_INTERFACE=CGI/1.1
HTTPS=on
HTTPS_KEYSIZE=256
HTTPS_SECRETKEYSIZE=2048
HTTPS_SERVER_ISSUER=C=US, O=Let's Encrypt, CN=R3
HTTPS_SERVER_SUBJECT=CN=www.sportsmansoutdoorsuperstore.com
HTTP_ACCEPT=*/*
HTTP_ACCEPT_ENCODING=gzip, br, zstd, deflate
HTTP_ACCEPT_LANGUAGE=
HTTP_CONNECTION=close
HTTP_COOKIE=CFTOKEN=Z98olbwg5rxrj4kxa625akg5dpmaa354uo66g173yqvk4tox9o-ae2897c1f26072f5-E8E457D9-C345-0FDC-1A536E3A78F8D876; CFID=Z98olbwg5rxrj4kxa625akg5dpmaa354uo66g173yqvk4tox9o-5054; CFGLOBALS=urltoken%3DCFID%23%3D5054%26CFTOKEN%23%3Dae2897c1f26072f5%2DE8E457D9%2DC345%2D0FDC%2D1A536E3A78F8D876%23lastvisit%3D%7Bts%20%272024%2D05%2D20%2014%3A36%3A32%27%7D%23hitcount%3D60%23timecreated%3D%7Bts%20%272024%2D05%2D20%2014%3A36%3A02%27%7D%23cftoken%3Dae2897c1f26072f5%2DE8E457D9%2DC345%2D0FDC%2D1A536E3A78F8D876%23cfid%3D5054%23; LAST_NAME=; FIRST_NAME=; PRD_U=309512%2C3295; CUSTOMER_ID=; USERNAME=; EMAIL=; PASSWORD=; CT_U=3805
HTTP_HOST=www.sportsmansoutdoorsuperstore.com
HTTP_REFERER=
HTTP_URL=/category.cfm/sportsman/used-firearms/brand/glock/currentpage/14
HTTP_USER_AGENT=Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
LOCAL_ADDR=10.200.30.6
PATH_INFO=/sportsman/used-firearms/brand/glock/currentpage/14
PATH_TRANSLATED=E:\inetpub\wwwroot\category.cfm
QUERY_STRING=
REMOTE_ADDR=10.200.2.4
REMOTE_HOST=10.200.2.4
REMOTE_USER=
REQUEST_METHOD=GET
SCRIPT_NAME=/category.cfm
SERVER_NAME=www.sportsmansoutdoorsuperstore.com
SERVER_PORT=443
SERVER_PORT_SECURE=1
SERVER_PROTOCOL=HTTP/1.1
SERVER_SOFTWARE=Microsoft-IIS/10.0
WEB_SERVER_API=
Client Variables:
cfid=5054
cftoken=ae2897c1f26072f5-E8E457D9-C345-0FDC-1A536E3A78F8D876
hitcount=60
lastvisit={ts '2024-05-20 14:36:32'}
timecreated={ts '2024-05-20 14:36:02'}
urltoken=CFID=5054&CFTOKEN=ae2897c1f26072f5-E8E457D9-C345-0FDC-1A536E3A78F8D876
Cookie Variables:
CFGLOBALS=urltoken=CFID#=5054&CFTOKEN#=ae2897c1f26072f5-E8E457D9-C345-0FDC-1A536E3A78F8D876#lastvisit={ts '2024-05-20 14:36:32'}#hitcount=60#timecreated={ts '2024-05-20 14:36:02'}#cftoken=ae2897c1f26072f5-E8E457D9-C345-0FDC-1A536E3A78F8D876#cfid=5054#
CFID=5054
CFTOKEN=ae2897c1f26072f5-E8E457D9-C345-0FDC-1A536E3A78F8D876
CT_U=91
CUSTOMER_ID=
EMAIL=
FIRST_NAME=
LAST_NAME=
PASSWORD=
PRD_U=309512,3295
USERNAME=
Form Fields:
RETURN_TO_PAGE=null
Request Parameters:
samesite_value=
Server Variables:
coldfusion=Struct (10)
os=Struct (5)
system=Struct (2)
Session Variables:
cfid=5054
cftoken=ae2897c1f26072f5-E8E457D9-C345-0FDC-1A536E3A78F8D876
cs=/category.cfm/sportsman/used-firearms/brand/glock/currentpage/14
displaycount=18
employeeloggedin=N
fflnote=
firearm_agreement=NO
imgarray=Array (0)
memberloggedin=N
pickupstore=10
prodtype=none
selected_ffl=NO
sessionid=SOS_5054_ae2897c1f26072f5-E8E457D9-C345-0FDC-1A536E3A78F8D876
strarray=Array (0)
urltoken=CFID=5054&CFTOKEN=ae2897c1f26072f5-E8E457D9-C345-0FDC-1A536E3A78F8D876
URL Parameters:
CLEARANCE=
DEPT=Firearms
NAV_CHOOSER=
OF1=
OF10=
OF2=
OF3=
OF4=
OF5=
OF6=
ORDER_BY=
PAGETYPE=
PRODTYPE=none
RETURN_TO_PAGE=null
SECTION=
SUBTYP_1=EMPTY
SUBTYP_2=EMPTY
SUBTYP_3=EMPTY
TYP=Used Gun Collection
WEB_TAXONOMY_ID=91
WHATSNEW=
brand=glock
currentpage=14
sportsman=used-firearms
Debug Rendering Time: 0 ms