RA_MC_PGMLVL_VW

(SQL View)
Index Back

Program Level Marketing Center

Returns all marketing centers assigned to prospect at the program level, including the marketing center syncid

SELECT A.BO_ID , A.INSTITUTION , A.ACAD_CAREER , A.ACAD_PROG , A.RA_MKT_CENTER , C.SYNCID FROM PS_RA_ACAD_PGM_MC A LEFT OUTER JOIN PS_RA_UD_MKTCENTER B ON A.RA_MKT_CENTER=B.RA_MKT_CENTER , PS_RA_UD_MKTCENTER C WHERE A.RA_MKT_CENTER = C.RA_MKT_CENTER UNION SELECT A.BO_ID , A.INSTITUTION , A.ACAD_CAREER , A.ACAD_PROG , B.RA_PARENT_MKTCTR , C.SYNCID FROM PS_RA_MC_PGNROT_VW A LEFT OUTER JOIN PS_RA_MC_ANCESTOR2 B ON A.RA_MKT_CENTER=B.RA_MKT_CENTER , PS_RA_UD_MKTCENTER C WHERE B.RA_PARENT_MKTCTR = C.RA_MKT_CENTER UNION SELECT A.BO_ID , A.INSTITUTION , A.ACAD_CAREER , C.ACAD_PROG , B.RA_MKT_CENTER , B.SYNCID FROM PS_RA_ACAD_CAR_MC A LEFT OUTER JOIN PS_RA_UD_MKTCENTER B ON a.institution= b.cs_institution AND B.ra_mc_level_num=2 ,PS_RD_PROGRAM C WHERE A.BO_ID=C.BO_ID AND A.INSTITUTION=C.INSTITUTION AND A.ACAD_CAREER=C.ACAD_CAREER

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BO_ID Signed Number(32,0) DECIMAL(31) NOT NULL Business Object ID
2 INSTITUTION Character(5) VARCHAR2(5) NOT NULL Institution field to store institution information in campus solution system.
3 ACAD_CAREER Character(4) VARCHAR2(4) NOT NULL Academic career field coming from campus solution system.
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 ACAD_PROG Character(5) VARCHAR2(5) NOT NULL Academic program field coming from campus solution system.
5 RA_MKT_CENTER Character(10) VARCHAR2(10) NOT NULL Marketing Center code
6 SYNCID Number(10,0) DECIMAL(10) NOT NULL The Synchronization ID field stores a value generated by the sync processor. The value is used to identify the type of object that the sync processor is about to handle.