Canadian Venues
Requirements and Purpose
Page with search functions and fields for identifying Canadian Venues. To be used when Identifying Inventory Discrepancies.
Report Definition
Stakeholders
@Kaitlyn Niemann (Unlicensed)
Samantha Fortenberry
Author
@Kaitlyn Niemann (Unlicensed)
Subject matter expert(s)
Samantha Fortenberry
Presentation Medium
SSRS
Fields (data)
Venue
Street Address
City
Postal Code
Region Name
Data Source(s)
The data source for this report is the Eibo-215 database.
Stored Procedure: sr_GetCanadianVenues
Database | Table(s) |
---|---|
eiboxoffice |
|
Calculations
Column Name | Data Type | Calculation | Description |
---|---|---|---|
n/a | SubQuery | ;WITH VenueNames AS(
SELECT
v.VenueName eVenue,
v.VenueID,
CONCAT(
v.Address1,
v.Address2,
v.Address3
) StreetAddress,
v.City,
v.PostalCode,
r.RegionName,
c.CountryName,
v.IsSystem,
ROW_NUMBER() OVER (PARTITION BY VenueName ORDER BY isSystem DESC) AS rn,
CASE WHEN CHARINDEX(ISNULL(@venue,v.venuename),v.venuename) > 0 THEN 1 ELSE 0 END vc,
CASE WHEN CHARINDEX(ISNULL(@address,CONCAT(v.Address1,v.Address2,v.Address3)),CONCAT(v.Address1,v.Address2,v.Address3)) > 0 THEN 1 ELSE 0 END ac,
CASE WHEN CHARINDEX(ISNULL(@city,v.City),v.City) > 0 THEN 1 ELSE 0 END cc,
CASE WHEN CHARINDEX(ISNULL(@state,r.RegionName),r.RegionName) > 0 THEN 1 ELSE 0 END rc
FROM Venue v
LEFT JOIN Region r
ON v.RegionID = r.RegionID
LEFT JOIN Country c
ON r.CountryID = c.CountryID
WHERE CountryName = 'Canada') | Generates dataset |
rn | int | =ROW_NUMBER() OVER (PARTITION BY VenueName ORDER BY isSystem DESC) AS rn, | priorities venue names by system |
vc | tinyint | =CASE WHEN CHARINDEX(ISNULL(@venue,v.venuename),v.venuename) > 0 THEN 1 ELSE 0 END vc, | Allows for search by venue |
ac | tinyint | =CASE WHEN CHARINDEX(ISNULL(@address,CONCAT(v.Address1,v.Address2,v.Address3)),CONCAT(v.Address1,v.Address2,v.Address3)) > 0 THEN 1 ELSE 0 END ac, | Allows for search by address |
cc | tinyint | CASE WHEN CHARINDEX(ISNULL(@city,v.City),v.City) > 0 THEN 1 ELSE 0 END cc, | Allows for search by city |
rc | tinyint | CASE WHEN CHARINDEX(ISNULL(@state,r.RegionName),r.RegionName) > 0 THEN 1 ELSE 0 END rc | Allows for search by region/state/territory |
Parameters
Filters
@venue
text
can be blank
@address
text
can be blank
@city
text
can be blank
@state
text
can be blank
Grouping
VenueName
rn
Intentions for printing vs. online viewing
The report is delivered via SSRS
The report has been moved to SSRS Reports → Accounting → Canadian Venues
Intended delivery mechanism (run on demand vs. delivered by subscription)
On Demand
Future maintenance tasks or manually maintained items
N/a
Results
Data Accuracy
QA
Validate against Maintenance Module in Eibo for Venues
Venues should only appear in Canada
Limitations
n/a
Change Log
Images
Reports's UI: