SSR_HM_CMP_LTX

(SQL View)
Index Back

Last Campus Transaction

Last Successful transaction of a HEIMS Campus

SELECT CT.INSTITUTION , CT.LOCATION , CT.SSR_PROVIDER_TYPE , MAX(CT.SSR_TRANS_ID) FROM PS_SSR_HM_CAMPUS CT , PS_SSR_HM_UID_MAP MAP WHERE CT.INSTITUTION = MAP.INSTITUTION AND CT.LOCATION = MAP.LOCATION AND CT.SSR_PROVIDER_TYPE = MAP.SSR_PROVIDER_TYPE AND MAP.RECNAME = 'SSR_HM_CAMPUS' AND MAP.DELETE_FLAG = 'N' AND MAP.EFF_STATUS = 'A' AND CT.IB_RESTMETHOD NOT LIKE 'DELETE' AND CT.SSR_MAP_ID <> 0 GROUP BY CT.INSTITUTION , CT.LOCATION , CT.SSR_PROVIDER_TYPE

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 INSTITUTION Character(5) VARCHAR2(5) NOT NULL Academic Institution
2 LOCATION Character(10) VARCHAR2(10) NOT NULL Location Code
3 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
4 SSR_TRANS_ID Number(31,0) DECIMAL(31) NOT NULL HEIMS Transaction ID