AV_DS_SMRY_P_VW(SQL View) |
Index Back |
---|---|
Designation SummaryAmount constituent is recognized for a given designation. |
SELECT A.INSTITUTION , A.AV_DES_BU , A.EMPLID , A.EXT_ORG_ID , A.DESIGNATION , B.EXPECT_DT , A.GIFT_DT , B.RCVD_DT , A.RECOGNITION_TYPE , %Round(%DecMult(B.RCVD_AMT,(%DecDiv(C.DESIGNATION_PCT,100))),2) , %Round(%DecMult(B.EXPECT_AMT,(%DecDiv(C.DESIGNATION_PCT,100))),2) , A.CURRENCY_CD , A.CNST_TYPE FROM PS_AV_RCG_DES A , PS_AV_PLDG_SCHD B , PS_AV_DESIGNATION C , PS_AV_SESSION_TBL D WHERE A.BUSINESS_UNIT= B.BUSINESS_UNIT AND B.BUSINESS_UNIT= C.BUSINESS_UNIT AND A.SESSION_NO=B.SESSION_NO AND B.SESSION_NO=C.SESSION_NO AND A.GIFT_NO=B.GIFT_NO AND B.GIFT_NO=C.GIFT_NO AND A.DESIGNATION = C.DESIGNATION AND A.INTV_CD = C.INTV_CD AND A.BUSINESS_UNIT = D.BUSINESS_UNIT AND A.SESSION_NO = D.SESSION_NO AND D.SESS_STATUS = 'P' AND A.STATUS='A' AND (A.AV_SESS_TYPE='PL' OR A.AV_SESS_TYPE='AP') |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | INSTITUTION | Character(5) | VARCHAR2(5) NOT NULL | Academic Institution |
2 | AV_DES_BU | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
3 | EMPLID | Character(11) | VARCHAR2(11) NOT NULL | Employee ID |
4 | EXT_ORG_ID | Character(11) | VARCHAR2(11) NOT NULL | External Org ID |
5 | DESIGNATION | Character(11) | VARCHAR2(11) NOT NULL | Designation |
6 | EXPECT_DT | Date(10) | DATE | Expected Date |
7 | GIFT_DT | Date(10) | DATE | Gift Date |
8 | RCVD_DT | Date(10) | DATE | Received Date |
9 | RECOGNITION_TYPE | Character(1) | VARCHAR2(1) NOT NULL | Recognition Type |
10 | RCVD_AMT | Number(16,2) | DECIMAL(15,2) NOT NULL | Received Amount |
11 | RCG_DES_AMT | Signed Number(17,2) | DECIMAL(15,2) NOT NULL | Amount |
12 | CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Currency Code |
13 | CNST_TYPE | Number(3,0) | SMALLINT NOT NULL | Constituent Type |