AV_TRZ_G3_VW(SQL View) |
Index Back |
---|---|
Gift recognition SummaryGift Recognition Summary for and individual or organziation. This view is a copy of AV_SMRY_G_VW but is based on a view (AV_TRNS_GIFT_VW) driven off of AV_RCG_DES not just AV_RECOGNITION. This was required to bring in AV_DES_BU for Business Unit security. This is the secured version of the view AV_SMRY_G2_VW. |
SELECT DISTINCT A.INSTITUTION , A.EMPLID , A.EXT_ORG_ID , A.FISCAL_YEAR , A.RECOGNITION_TYPE , A.CURRENCY_CD , A.AV_DES_BU ,B.OPRID , SUM(A.RCG_DES_AMT) FROM PS_AV_TRNS_GIFT_VW A , PS_AV_SCRTY_BU_TBL B WHERE A.AV_DES_BU = B.BUSINESS_UNIT AND ADJUSTMENT_FLG='N' GROUP BY INSTITUTION, EMPLID, EXT_ORG_ID, FISCAL_YEAR, RECOGNITION_TYPE, CURRENCY_CD, AV_DES_BU, OPRID |
# | 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 | FISCAL_YEAR | Number(4,0) | SMALLINT NOT NULL | Fiscal Year |
5 | RECOGNITION_TYPE | Character(1) | VARCHAR2(1) NOT NULL | Recognition Type |
6 | CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Currency Code |
7 | AV_DES_BU | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
8 | OPRID | Character(30) | VARCHAR2(30) NOT NULL | A user's ID (see PSOPRDEFN). |
9 | RCG_DES_AMT | Signed Number(17,2) | DECIMAL(15,2) NOT NULL | Amount |