SSF_STD_WVR_VW2(SQL View) |
Index Back |
---|---|
Student Waiver ViewThis view returns all effective rows on the Student Wavier Table for a student for the term. |
SELECT DISTINCT BUSINESS_UNIT , EMPLID , WAIVER_CODE , STRM , STATUS , AMT_PER_UNIT , FLAT_AMT , WAIVE_PCT , MAX_AMOUNT , CURRENCY_CD , WAIVER_OFFSET FROM PS_SSF_STDNT_WVR A WHERE A.EFFDT = ( SELECT MAX(B.EFFDT) FROM PS_SSF_STDNT_WVR B WHERE B.EMPLID = A.EMPLID AND B.BUSINESS_UNIT = A.BUSINESS_UNIT AND B.WAIVER_CODE = A.WAIVER_CODE AND B.STRM = A.STRM AND B.EFFDT <= %CurrentDateIn) AND A.EFFSEQ = ( SELECT MAX(B1.EFFSEQ) FROM PS_SSF_STDNT_WVR B1 WHERE B1.EMPLID = A.EMPLID AND B1.BUSINESS_UNIT = A.BUSINESS_UNIT AND B1.WAIVER_CODE = A.WAIVER_CODE AND B1.STRM = A.STRM AND B1.EFFDT = A.EFFDT) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL |
Business Unit
Default Value: OPR_DEF_TBL_CS.BUSINESS_UNIT Prompt Table: SP_BU_SF_NONVW |
2 | EMPLID | Character(11) | VARCHAR2(11) NOT NULL |
Employee ID
Prompt Table: PEOPLE_SRCH |
3 | WAIVER_CODE | Character(6) | VARCHAR2(6) NOT NULL |
Waiver Code
Prompt Table: WAIVER_CODE_VW |
4 | STRM | Character(4) | VARCHAR2(4) NOT NULL |
Term
Default Value: OPR_DEF_TBL_CS.STRM Prompt Table: TERM_VAL_TBL |
5 | STATUS | Character(1) | VARCHAR2(1) NOT NULL |
Status Indicator
A=Active I=Inactive |
6 | AMT_PER_UNIT | Number(17,2) | DECIMAL(16,2) NOT NULL |
Amount Per Unit
Default Value: WAIVER_TBL.AMT_PER_UNIT |
7 | FLAT_AMT | Number(17,2) | DECIMAL(16,2) NOT NULL |
Flat Amount
Default Value: WAIVER_TBL.FLAT_AMT |
8 | WAIVE_PCT | Number(6,2) | DECIMAL(5,2) NOT NULL |
Waive Percentage
Default Value: WAIVER_TBL.WAIVE_PCT |
9 | MAX_AMOUNT | Number(17,2) | DECIMAL(16,2) NOT NULL |
Maximum Amount
Default Value: WAIVER_TBL.MAX_AMOUNT |
10 | CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Currency Code |
11 | WAIVER_OFFSET | Number(17,2) | DECIMAL(16,2) NOT NULL | Waiver Offset |