AV_EP_GIFT_VW(SQL View) |
Index Back |
---|---|
EPay Gift ViewThis view will select from all Posted Gift Numbers available on the AV_EP_GIFT_DTL record. |
SELECT A.BUSINESS_UNIT ,A.GIFT_NO ,A.INSTITUTION FROM PS_AV_EP_GIFT_DTL A , PS_AV_SESSION_TBL B WHERE A.BUSINESS_UNIT = B.BUSINESS_UNIT AND A.SESSION_NO = B.SESSION_NO AND B.AV_SESS_TYPE IN ('G','AG') AND B.SESS_STATUS = 'P' AND A.PROCESS_INSTANCE = 0 AND A.SEQ_NO = ( SELECT MAX(A1.SEQ_NO) FROM PS_AV_EP_GIFT_DTL A1 WHERE A1.BUSINESS_UNIT = A.BUSINESS_UNIT AND A1.GIFT_NO = A.GIFT_NO) AND A.AV_PAYMENT_STATUS NOT IN('B','D') |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
2 | GIFT_NO | Character(11) | VARCHAR2(11) NOT NULL | Gift Nbr |
3 | INSTITUTION | Character(5) | VARCHAR2(5) NOT NULL | Academic Institution |