SFA_NACFM_SRCH

(SQL View)
Index Back

Compare FM Serach rec

Compare FM search rec

SELECT A.EMPLID , A.INSTITUTION , A.AID_YEAR , A.EFFDT , A.EFFSEQ , A.ISIR_TXN_NBR FROM PS_ISIR_CONTROL A WHERE A.AID_YEAR >= '2021' AND A.EFFDT = ( SELECT MAX (A1.EFFDT) FROM PS_ISIR_CONTROL A1 WHERE A1.EMPLID = A.EMPLID AND A1.INSTITUTION = A.INSTITUTION AND A1.AID_YEAR = A.AID_YEAR AND A1.EFFSEQ = A.EFFSEQ AND A1.EFFDT <= %CurrentDateIn) AND A.EFFSEQ = ( SELECT MAX(A2.EFFSEQ) FROM PS_ISIR_CONTROL A2 WHERE A2.EMPLID = A.EMPLID AND A2.INSTITUTION = A.INSTITUTION AND A2.AID_YEAR = A.AID_YEAR AND A2.EFFDT = A.EFFDT)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID

Prompt Table: PERSONAL_DATA

2 INSTITUTION Character(5) VARCHAR2(5) NOT NULL Academic Institution

Prompt Table: INSTITUTION_TBL

3 AID_YEAR Character(4) VARCHAR2(4) NOT NULL Aid Year

Prompt Table: AID_YEAR_TBL

4 EFFDT Date(10) DATE Effective Date

Default Value: %date

5 EFFSEQ Number(3,0) SMALLINT NOT NULL Effective Sequence
6 ISIR_TXN_NBR Number(2,0) SMALLINT NOT NULL Transaction Num