SRVCIND_TODO_VW(SQL View) |
Index Back |
---|---|
Platform specific viewPlatform specific view for Service Indicator TODO's |
SELECT A.COMMON_ID , A.SEQ_3C , B.CHECKLIST_SEQ , B.CHKLST_ITEM_CD , B.ITEM_STATUS , C.DESCR , C.DESCRLONG , B.DUE_DT , A.ADMIN_FUNCTION , D.DESCR , A.INSTITUTION , E.DESCR , B.RESPONSIBLE_ID , F.EMAIL_ADDR , A.VAR_DATA_SEQ , B.ASSOC_ID , B.NAME FROM PS_PERSON_CHECKLST A , PS_SCC_CKLSITM_TBL C , PS_ADM_FUNCTN_TBL D , PS_INSTITUTION_TBL E , PS_PERSON_CHK_ITEM B LEFT OUTER JOIN PS_EMAIL_ADDRESSES F ON B.RESPONSIBLE_ID = F.EMPLID AND F.PREF_EMAIL_FLAG = 'Y' WHERE A.COMMON_ID = B.COMMON_ID AND A.SEQ_3C = B.SEQ_3C AND B.CHKLST_ITEM_CD = C.CHKLST_ITEM_CD AND B.ITEM_STATUS NOT IN ('C','P','X','W') AND C.EFF_STATUS = 'A' AND C.EFFDT = ( SELECT MAX(C1.EFFDT) FROM PS_SCC_CKLSITM_TBL C1 WHERE C1.CHKLST_ITEM_CD = B.CHKLST_ITEM_CD AND C1.EFFDT <= %CurrentDateIn) AND A.ADMIN_FUNCTION = D.ADMIN_FUNCTION AND D.EFF_STATUS = 'A' AND D.EFFDT = ( SELECT MAX(D1.EFFDT) FROM PS_ADM_FUNCTN_TBL D1 WHERE D1.ADMIN_FUNCTION = A.ADMIN_FUNCTION AND D1.EFFDT <= %CurrentDateIn) AND A.INSTITUTION = E.INSTITUTION AND E.EFF_STATUS = 'A' AND E.EFFDT = ( SELECT MAX(E1.EFFDT) FROM PS_INSTITUTION_TBL E1 WHERE E1.INSTITUTION = A.INSTITUTION AND E1.EFFDT <= %CurrentDateIn) AND A.CHECKLIST_CD IN ( SELECT CHECKLIST_CD FROM PS_CS_CHKLST_TBL S WHERE S.SCC_TODO_SS_DISP = 'Y' AND S.INSTITUTION = A.INSTITUTION AND S.EFFDT = ( SELECT MAX(S1.EFFDT) FROM PS_CS_CHKLST_TBL S1 WHERE S.INSTITUTION = S1.INSTITUTION AND S.CHECKLIST_CD = S1.CHECKLIST_CD AND S1.EFFDT <= %CurrentDateIn)) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | EMPLID | Character(11) | VARCHAR2(11) NOT NULL | Employee ID |
2 | SEQ_3C | Number(5,0) | INTEGER NOT NULL | Sequence Number |
3 | CHECKLIST_SEQ | Number(6,0) | INTEGER NOT NULL | Checklist Sequence |
4 | CHKLST_ITEM_CD | Character(6) | VARCHAR2(6) NOT NULL | Checklist Item Code |
5 | ITEM_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
Item Status
A=Active C=Completed I=Initiated N=Notified O=Ordered P=Paid Off R=Received S=Second Notification T=Returned W=Waived X=Cancelled |
6 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
7 | DESCRLONG | Long Character | CLOB | Long Description |
8 | DUE_DT | Date(10) | DATE | Due Date |
9 | ADMIN_FUNCTION | Character(4) | VARCHAR2(4) NOT NULL | Administrative Function |
10 | DESCR1 | Character(30) | VARCHAR2(30) NOT NULL | Descr |
11 | INSTITUTION | Character(5) | VARCHAR2(5) NOT NULL | Academic Institution |
12 | DESCR2 | Character(30) | VARCHAR2(30) NOT NULL | Descr2 |
13 | RESPONSIBLE_ID | Character(11) | VARCHAR2(11) NOT NULL | Responsible ID |
14 | EMAIL_ADDR | Character(70) | VARCHAR2(70) NOT NULL | Email Address |
15 | VAR_DATA_SEQ | Number(4,0) | SMALLINT NOT NULL | Variable Data Sequence Number |
16 | ASSOC_ID | Character(11) | VARCHAR2(11) NOT NULL | Association ID |
17 | NAME | Character(50) | VARCHAR2(50) NOT NULL | Name |