PC_IM_PR_CNT_VW

(SQL View)
Index Back

Count of Issues by Priority

This view shows the count of issues by priority for each project/activity.

SELECT A.BUSINESS_UNIT , A.PROJECT_ID , A.ACTIVITY_ID , A.PC_IM_PRIO_ICON , COUNT(*) FROM PS_PC_IM_ISSUE_TBL A , PS_PC_IM_RSLTN_TBL B WHERE A.BUSINESS_UNIT = B.BUSINESS_UNIT AND A.PROJECT_ID = B.PROJECT_ID AND A.PC_IM_ISSUE_ID = B.PC_IM_ISSUE_ID AND B.PC_IM_ACT_RSLTN_DT IS NULL GROUP BY A.BUSINESS_UNIT, A.PROJECT_ID, A.ACTIVITY_ID, A.PC_IM_PRIO_ICON

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
2 PROJECT_ID Character(15) VARCHAR2(15) NOT NULL Project Id ChartField
3 ACTIVITY_ID Character(15) VARCHAR2(15) NOT NULL Activity ID
4 PC_IM_PRIO_ICON Character(1) VARCHAR2(1) NOT NULL Issue Priority Icon
0=Low Priority
1=Medium Priority
2=High Priority
5 NUMROWS Number(15,0) DECIMAL(15) NOT NULL Number of Rows fetched.