PCMP_RI_VW2(SQL View) |
Index Back |
---|---|
Prof Comp RI ViewUsed in the Professional Compliance module. View of Regulated Individuals. |
SELECT A.EMPLID ,A.EMPL_RCD ,B.NAME ,A.PCMP_TYPE ,A.PCMP_REG_AUTH ,A.BUSINESS_UNIT ,A.PCMP_MGR_SUPER_ID FROM PS_PCMP_MGRSUP_RI A ,PS_PERSON_NAME B WHERE B.EMPLID=A.EMPLID AND A.PCMP_RI_STATUS='A' AND A.PCMP_ASSIGNED_DT=( SELECT MAX(C.PCMP_ASSIGNED_DT) FROM PS_PCMP_MGRSUP_RI C WHERE C.EMPLID=A.EMPLID AND C.EMPL_RCD=A.EMPL_RCD AND C.PCMP_TYPE=A.PCMP_TYPE AND C.PCMP_REG_AUTH=A.PCMP_REG_AUTH) AND A.PCMP_MGR_SUPER='S' |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | EMPLID | Character(11) | VARCHAR2(11) NOT NULL | Employee ID |
2 | EMPL_RCD | Number(3,0) | SMALLINT NOT NULL | Empl Rcd Nbr |
3 | NAME | Character(50) | VARCHAR2(50) NOT NULL | Name |
4 | PCMP_TYPE | Character(3) | VARCHAR2(3) NOT NULL | Professiona Compliance Type - Used in the Professional Compliance module. Identifies the different types of professional complianc within a company. |
5 | PCMP_REG_AUTH | Character(10) | VARCHAR2(10) NOT NULL | Professional Compliance Regulatory Authority - Used within the Professional Compliance module. Identifies the body or organization that defines the rules/regulations that a company must apply to its individuals in order for them to become compliant/qualified in that particular field. |
6 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
7 | PCMP_MGR_SUPER_ID | Character(11) | VARCHAR2(11) NOT NULL | Professional Compliance Manager/Supervisor ID - Used in the Professional Compliance module. Holds the EMPLID of the Manager/Supervisor. |