SSR_DSTREV_SA_V(SQL View) |
Index Back |
---|---|
DEST SA HELP Revisions ViewMax 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.STRM , A.ACAD_PROG , A.SSR_DEST_E563 , A.SSR_DEST_SUBMITTED , A.SEQ_NO , A.SSR_DEST_REV_TP_OS , A.SSR_AUTH_OF_EMPLID , A.SCC_CHESSN , A.SSF_OS_INCUR_DT , A.SSF_AMOUNT_TOTAL , A.SSF_AMOUNT_TOTAL1 , A.SSF_AMOUNT_TOTAL2 , A.SSF_SAH_OVR_FLG FROM PS_SSR_DEST_REV_SA 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_SA 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_INCURRAL_DT = A.SSF_INCURRAL_DT) AND A.SEQ_NO = ( SELECT MAX(A2.SEQ_NO) FROM PS_SSR_DEST_REV_SA 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_INCURRAL_DT = A.SSF_INCURRAL_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_SA_VW |
5 | STRM | Character(4) | VARCHAR2(4) NOT NULL | Term |
6 | ACAD_PROG | Character(5) | VARCHAR2(5) NOT NULL | Academic Program |
7 | SSR_HECS_XMPT_STAT | Character(3) | VARCHAR2(3) NOT NULL | HECS Exempt Status |
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 | SSF_INCURRAL_DT | Date(10) | DATE | Due Date |
14 | SSF_HECS_CHARGE | Signed Number(18,2) | DECIMAL(16,2) NOT NULL | HECS Charge |
15 | SSF_HECS_PAYMENT | Signed Number(18,2) | DECIMAL(16,2) NOT NULL | HECS Payment |
16 | SSF_HECS_DEFERRAL | Signed Number(18,2) | DECIMAL(16,2) NOT NULL | HECS Deferral |
17 | SSR_ELEM_358 | Character(1) | VARCHAR2(1) NOT NULL | DEST Citizen/Resident Code |