AV_VOL_UPD_VW

(SQL View)
Index Back

Initiative Volunteer View

This is a view of Initiatives that are of Type = Volunteer. To be used as a prompt table/search record. ======================================================== 5/8/01 - Changed the prompt view for INTV_TYPE field from av_vol_add_1_vw to a new view av_vol_upd_1_vw. Also, added effdt logic to where clause. old sql: SELECT A.INSTITUTION , A.INTV_TYPE , A.INTV_CD , A.VOL_GRP_NBR , A.EFFDT , A.EFF_STATUS , A.VOL_GROUP_NAME FROM PS_AV_VOL_GRP_TBL A WHERE A.VOL_GRP_LVL = 2 AND A.INTV_TYPE <> ' ' ========================================================

SELECT A.INSTITUTION , A.INTV_TYPE , A.INTV_CD , A.VOL_GRP_NBR , A.EFFDT , A.EFF_STATUS , A.VOL_GROUP_NAME FROM PS_AV_VOL_GRP_TBL A WHERE A.VOL_GRP_LVL = 2 AND A.INTV_TYPE <> ' ' AND A.EFFDT = ( SELECT (MAX(A1.EFFDT)) FROM PS_AV_VOL_GRP_TBL A1 WHERE A1.INSTITUTION = A.INSTITUTION AND A1.INTV_CD = A.INTV_CD AND A1.VOL_GRP_NBR = A.VOL_GRP_NBR)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 INSTITUTION Character(5) VARCHAR2(5) NOT NULL Academic Institution

Default Value: AV_OPR_DEF_TBL.INSTITUTION

Prompt Table: INSTITUTN_SCRTY

2 INTV_TYPE Character(10) VARCHAR2(10) NOT NULL Initiative Type

Prompt Table: AV_VOL_UPD_1_VW

3 INTV_CD Character(10) VARCHAR2(10) NOT NULL Initiative Code
4 VOL_GRP_NBR Number(9,0) DECIMAL(9) NOT NULL Volunteer Group
5 EFFDT Date(10) DATE Effective Date
6 EFF_STATUS Character(1) VARCHAR2(1) NOT NULL Effective Status
A=Active
I=Inactive
7 VOL_GROUP_NAME Character(50) VARCHAR2(50) NOT NULL Volunteer Group