Hi
I wondered if anyone has a report that gives information about the comps that have been issued on a particular performance or run using comp codes? We would be looking for detail including the name of each customer issued a comp and how many they were given.
Look forward to hearing if anyone has a way of reporting this information.
We have a shared report that works nicely, I can't attach the sql script but I copied it here.
USE
[impresario] GO
GO
/****** Object: StoredProcedure [dbo].[lp_comp_list] Script Date: 04/28/2009 13:59:31 ******/
SET
ON
/*
lp_whi_comp_list
@perf_no=106
*/
ALTER
[lp_comp_list] @perf_no
@perf_no
int as select
as
select
c
,
max
s
count
facility_desc
from
t_sub_lineitem s
JOIN
order_no
customer_no
'Y'
price_type
id
perf_no
inv_no
facil_no
where
)
group
comp_code
You can also see Comp Code detail from Season Overview.