SSR_HM_HDRE_LTX

(SQL View)
Index Back

Last HDR User Eng Trans

Last Successful transaction of a HEIMS HDR User Engagement

SELECT HDRUE.EMPLID , HDRUE.INSTITUTION , HDRUE.ACAD_CAREER , HDRUE.STDNT_CAR_NBR , HDRUE.ACAD_PROG , HDRUE.ACAD_PLAN , HDRUE.ADMIT_TERM , HDRUE.SSR_PROVIDER_TYPE , HDRUE.SSR_HM_ENGAGE_NBR , MAX(HDRUE.SSR_TRANS_ID) FROM PS_SSR_HM_HDR_EUE HDRUE , PS_SSR_HM_UID_MAP MAP WHERE HDRUE.EMPLID= MAP.EMPLID AND HDRUE.INSTITUTION= MAP.INSTITUTION AND HDRUE.ACAD_PROG = MAP.ACAD_PROG AND HDRUE.ACAD_PLAN = MAP.ACAD_PLAN AND HDRUE.ADMIT_TERM = MAP.ADMIT_TERM AND HDRUE.ACAD_CAREER = MAP.ACAD_CAREER AND HDRUE.STDNT_CAR_NBR = MAP.STDNT_CAR_NBR AND HDRUE.SSR_PROVIDER_TYPE = MAP.SSR_PROVIDER_TYPE AND HDRUE.SSR_HM_ENGAGE_NBR = MAP.SSR_HM_ENGAGE_NBR AND HDRUE.SSR_MAP_ID = MAP.SSR_MAP_ID AND MAP.DELETE_FLAG = 'N' AND MAP.EFF_STATUS = 'A' AND MAP.RECNAME = 'SSR_HM_HDR_EUE' AND HDRUE.IB_RESTMETHOD NOT LIKE 'DELETE' AND HDRUE.SSR_MAP_ID <> 0 GROUP BY HDRUE.EMPLID , HDRUE.INSTITUTION , HDRUE.ACAD_CAREER , HDRUE.STDNT_CAR_NBR , HDRUE.ACAD_PROG , HDRUE.ACAD_PLAN, HDRUE.ADMIT_TERM , HDRUE.SSR_PROVIDER_TYPE, HDRUE.SSR_HM_ENGAGE_NBR

# 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
3 ACAD_CAREER Character(4) VARCHAR2(4) NOT NULL Academic Career
BAC=Bachelor (NLD)
BBL=Vocational Coaching (NLD)
BOL=Vocational Training (NLD)
BUSN=Graduate Business
CNED=Continuing Education
CRED=Semester Credit
EDU=Education (NLD)
EXED=Extended Education
GRAD=Graduate
LAW=Law
MEDS=Medical School
NONA=Non Award
PGRD=Postgraduate
RSCH=Research
TECH=Technical
UENG=Undergraduate Engineering
UGRD=Undergraduate
VAVO=Advanced General Educ. (NLD)
VETM=Veterinary Medicine
4 STDNT_CAR_NBR Number(3,0) SMALLINT NOT NULL Student Career Nbr
5 ACAD_PROG Character(5) VARCHAR2(5) NOT NULL Academic Program
6 ACAD_PLAN Character(10) VARCHAR2(10) NOT NULL Academic Plan
7 ADMIT_TERM Character(4) VARCHAR2(4) NOT NULL Admit Term
8 SSR_PROVIDER_TYPE Character(4) VARCHAR2(4) NOT NULL Provider Type
HEP=Higher Education Provider
NA=Not Applicable
TAC=Tertiary Admission Centre
VET=Vocational Education&Training
9 SSR_HM_ENGAGE_NBR Number(3,0) SMALLINT NOT NULL HEIMS - User Engagement Codes - engagement number
10 SSR_TRANS_ID Number(31,0) DECIMAL(31) NOT NULL HEIMS Transaction ID