SSR_DSTREV_OS_V

(SQL View)
Index Back

DEST OS HELP Revisions View

Max submission date, sequence number. This view also uses the revised fields instead of the original fields.

SELECT A.INSTITUTION , A.SSR_REF_YEAR , A.SSR_REF_YR_HALF , A.EMPLID , A.ACAD_PROG , A.SSR_HECS_XMPT_STAT , A.SSF_OS_INCUR_DT , A.SSR_DEST_SUBMITTED , A.SEQ_NO , A.SSR_DEST_REV_TP_OS , A.SSR_AUTH_OF_EMPLID , A.SCC_CHESSN , A.SSR_ELEM_307 , A.SSF_OS_INCURDT_REV , A.SSF_DEST_LOAN_REV ,A.SSF_OS_CNTRY_P_REV ,A.SSF_OS_CNTRY_S_REV ,A.SSR_E582_AUS_REV ,A.SSR_E583_AUS_REV FROM PS_SSR_DEST_REV_OS A WHERE A.SSR_DEST_SUBMITTED IS NOT NULL AND A.SSR_DEST_SUBMITTED = ( SELECT MAX(A1.SSR_DEST_SUBMITTED) FROM PS_SSR_DEST_REV_OS A1 WHERE A1.INSTITUTION = A.INSTITUTION AND A1.SSR_REF_YEAR = A.SSR_REF_YEAR AND A1.SSR_REF_YR_HALF = A.SSR_REF_YR_HALF AND A1.EMPLID = A.EMPLID AND A1.ACAD_PROG = A.ACAD_PROG AND A1.SSR_HECS_XMPT_STAT = A.SSR_HECS_XMPT_STAT AND A1.SSF_OS_INCUR_DT = A.SSF_OS_INCUR_DT) AND A.SEQ_NO = ( SELECT MAX(A2.SEQ_NO) FROM PS_SSR_DEST_REV_OS A2 WHERE A2.INSTITUTION = A.INSTITUTION AND A2.SSR_REF_YEAR = A.SSR_REF_YEAR AND A2.SSR_REF_YR_HALF = A.SSR_REF_YR_HALF AND A2.EMPLID = A.EMPLID AND A2.ACAD_PROG = A.ACAD_PROG AND A2.SSR_HECS_XMPT_STAT = A.SSR_HECS_XMPT_STAT AND A2.SSF_OS_INCUR_DT = A.SSF_OS_INCUR_DT AND A2.SSR_DEST_SUBMITTED = A.SSR_DEST_SUBMITTED)

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

Prompt Table: INSTITUTION_TBL

2 SSR_REF_YEAR Character(4) VARCHAR2(4) NOT NULL Australia DEST Processing
3 SSR_REF_YR_HALF Character(1) VARCHAR2(1) NOT NULL Australia DEST processing
1=First Half Year
2=Second Half Year
4 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID

Prompt Table: SSR_DREV_OS_VW

5 ACAD_PROG Character(5) VARCHAR2(5) NOT NULL Academic Program
6 SSR_HECS_XMPT_STAT Character(3) VARCHAR2(3) NOT NULL HECS Exempt Status
7 SSF_OS_STUDY_PD Date(10) DATE Australia DEST processing
8 SSR_DEST_SUBMITTED Date(10) DATE Australia DEST processing
9 SEQ_NO Number(2,0) SMALLINT NOT NULL Sequence Number

Default Value: 1

10 SSR_DEST_REV_TP_OS Character(1) VARCHAR2(1) NOT NULL Revision Type
2=Revision
4=Deletion

Default Value: 2

11 SSR_AUTH_OF_EMPLID Character(11) VARCHAR2(11) NOT NULL Authorizing Officer

Prompt Table: PEOPLE_SRCH

12 SCC_CHESSN Character(10) VARCHAR2(10) NOT NULL Commonwealth Higher Education Student Support Number (CHESSN)
13 SSR_ELEM_307 Character(10) VARCHAR2(10) NOT NULL DEST Element 307
14 SSF_OS_INCUR_DT Date(10) DATE Revised Incurral Date
15 SSF_DEST_LOAN Number(17,2) DECIMAL(16,2) NOT NULL Australia DEST processing
16 SSF_OSHELP_CNTRY_P Character(4) VARCHAR2(4) NOT NULL Primary Study Country
17 SSF_OSHELP_CNTRY_S Character(4) VARCHAR2(4) NOT NULL Secondary Study Country
18 SSR_E582_AUS Character(4) VARCHAR2(4) NOT NULL OS-HELP Language Code
19 SSR_E583_AUS Date(10) DATE OS?HELP Language study commencement date