AV_CMTMT_DST_VW(SQL View) |
Index Back |
---|---|
Donor designation viewView of donor designations. Selects all distinct individuals that have given or pledged to give to a particular designation. before 8.1.00 SELECT DISTINCT A.INSTITUTION, A.EMPLID, A.EXT_ORG_ID, A.DESIGNATION, A.SA_ID_TYPE, A.RECOGNITION_TYPE, A.GIFT_DT, MIN(B.CNST_TYPE) FROM PS_AV_RCG_DES A, PS_AV_CNST_TYP_TBL B WHERE A.STATUS = 'A' AND A.INSTITUTION=B.INSTITUTION AND A.EMPLID=B.EMPLID AND A.EXT_ORG_ID=B.EXT_ORG_ID GROUP BY A.INSTITUTION, A.EMPLID, A.EXT_ORG_ID, A.DESIGNATION, A.SA_ID_TYPE, A.RECOGNITION_TYPE, A.GIFT_DT |
SELECT DISTINCT A.INSTITUTION , A.EMPLID , A.EXT_ORG_ID , A.DESIGNATION , A.AV_DES_BU , A.SA_ID_TYPE , A.RECOGNITION_TYPE , A.GIFT_DT , MIN(B.CNST_TYPE) FROM PS_AV_RCG_DES A , PS_AV_CNST_TYP_TBL B , PS_AV_SESSION_TBL D WHERE A.STATUS = 'A' AND A.INSTITUTION=B.INSTITUTION AND A.EMPLID=B.EMPLID AND A.EXT_ORG_ID=B.EXT_ORG_ID AND A.BUSINESS_UNIT = D.BUSINESS_UNIT AND A.SESSION_NO = D.SESSION_NO AND D.SESS_STATUS = 'P' GROUP BY A.INSTITUTION, A.EMPLID, A.EXT_ORG_ID, A.DESIGNATION, A.AV_DES_BU, A.SA_ID_TYPE, A.RECOGNITION_TYPE, A.GIFT_DT |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | INSTITUTION | Character(5) | VARCHAR2(5) NOT NULL | Academic Institution |
2 | EMPLID | Character(11) | VARCHAR2(11) NOT NULL | Employee ID |
3 | EXT_ORG_ID | Character(11) | VARCHAR2(11) NOT NULL | External Org ID |
4 | DESIGNATION | Character(11) | VARCHAR2(11) NOT NULL | Designation |
5 | AV_DES_BU | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
6 | SA_ID_TYPE | Character(1) | VARCHAR2(1) NOT NULL |
ID Type
O=Organization P=Person |
7 | RECOGNITION_TYPE | Character(1) | VARCHAR2(1) NOT NULL | Recognition Type |
8 | GIFT_DT | Date(10) | DATE | Gift Date |
9 | CNST_TYPE | Number(3,0) | SMALLINT NOT NULL | Constituent Type |