SRVC_IMP_VW

(SQL View)
Index Back

Stud Rec Srvc Impact Enrl

Student Records view joing the SRVC_IND_DATA and SERVICE_IMPACT tables.

SELECT A.EMPLID ,A.INSTITUTION ,B.SERVICE_IMPACT ,A.SRVC_IND_CD ,A.SRVC_IND_ACT_TERM ,A.SRVC_IND_ACTIVE_DT ,A.POS_SRVC_INDICATOR ,A.SRVC_IND_DTTM ,A.SRVC_IND_REASON ,A.DEPTID ,A.CONTACT ,A.SRVC_IND_REFRNCE ,A.AMOUNT FROM PS_SRVC_IND_DATA A , PS_SERVICE_IMPACT B WHERE A.INSTITUTION=B.INSTITUTION AND A.SRVC_IND_CD=B.SRVC_IND_CD AND A.POS_SRVC_INDICATOR='N' AND B.EFFDT=( SELECT MAX(B1.EFFDT) FROM PS_SERVICE_IMPACT B1 WHERE B1.INSTITUTION=B.INSTITUTION AND B1.SRVC_IND_CD=B.SRVC_IND_CD AND B1.EFFDT<=%CurrentDateIn AND B1.SERVICE_IMPACT=B.SERVICE_IMPACT)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID
2 INSTITUTION Character(5) VARCHAR2(5) NOT NULL Academic Institution

Prompt Table: INSTITUTION_TBL

3 SERVICE_IMPACT Character(5) VARCHAR2(5) NOT NULL Service Impact
4 SRVC_IND_CD Character(3) VARCHAR2(3) NOT NULL Service Indicator Cd
5 SRVC_IND_ACT_TERM Character(4) VARCHAR2(4) NOT NULL Service Indicator Start Term
6 SRVC_IND_ACTIVE_DT Date(10) DATE Service Indicator Start Date
7 POS_SRVC_INDICATOR Character(1) VARCHAR2(1) NOT NULL Positive Service Indicator
8 SRVC_IND_DTTM DateTime(26) TIMESTAMP Service Indicator Date-Time field
9 SRVC_IND_REASON Character(5) VARCHAR2(5) NOT NULL Service Indicator Reason
10 DEPTID Character(10) VARCHAR2(10) NOT NULL Department
11 CONTACT_PERSON Character(30) VARCHAR2(30) NOT NULL Contact Person
12 SRVC_IND_REFRNCE Character(30) VARCHAR2(30) NOT NULL Service Indicator Refrence
13 AMOUNT Signed Number(20,3) DECIMAL(18,3) NOT NULL Commuting Allowance Paid Per Cycle.