SCC_PERCAN_VW(SQL View) |
Index Back |
---|---|
Person Canada ViewPerson Canada View used by personal data view SCC_PERDATA_VW. |
SELECT P.EMPLID , C.BILINGUALISM_CODE , C.HEALTH_CARE_NBR , C.HEALTH_CARE_STATE FROM PS_PERSON P , PS_PERS_DATA_CAN C , PS_PERSON_DT_SETUP S , PS_INSTALLATION I WHERE C.EMPLID = P.EMPLID AND %EffdtCheck(PERS_DATA_CAN C2, C, %CURRENTDATEIN) AND S.COUNTRY_FLG = 'Y' AND I.CAN = 'Y' UNION SELECT PX.EMPLID , ' ' , ' ' , ' ' FROM PS_PERSON PX WHERE NOT EXISTS ( SELECT 'X' FROM PS_PERS_DATA_CAN CX , PS_PERSON_DT_SETUP SX , PS_INSTALLATION IX WHERE CX.EMPLID = PX.EMPLID AND %EffdtCheck(PERS_DATA_CAN CX2, CX, %CURRENTDATEIN) AND SX.COUNTRY_FLG = 'Y' AND IX.CAN = 'Y' ) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | EMPLID | Character(11) | VARCHAR2(11) NOT NULL |
Employee ID
Default Value: PERSON.EMPLID Prompt Table: PERSON |
2 | BILINGUALISM_CODE | Character(1) | VARCHAR2(1) NOT NULL |
Bilingualism Code
1=Not Bilingual 2=Bilingual 3=Receptive Skills Only 9=Unknown |
3 | HEALTH_CARE_NBR | Character(12) | VARCHAR2(12) NOT NULL | Health Care Number |
4 | HEALTH_CARE_STATE | Character(6) | VARCHAR2(6) NOT NULL |
Health Care Province
Prompt Table: PROVINCE_NM_VW |