PCMP_RI_CLS_VW2(SQL View) |
Index Back |
---|---|
Prof Comp RI Class ViewUsed in the Professional Compliance module. Contains details of the classification of a regulated individual within the compliance process. |
SELECT A.PCMP_MGR_SUPER_ID ,A.BUSINESS_UNIT ,A.PCMP_RI_STATUS ,B.EFFDT ,B.EMPLID ,B.EMPL_RCD ,B.PCMP_TYPE ,B.PCMP_REG_AUTH ,B.PCMP_CLASS FROM PS_PCMP_MGRSUP_RI A ,PS_PCMP_RI_CLASS B WHERE A.EMPLID=B.EMPLID AND A.EMPL_RCD=B.EMPL_RCD AND A.PCMP_TYPE=B.PCMP_TYPE AND A.PCMP_REG_AUTH=B.PCMP_REG_AUTH AND A.PCMP_ASSIGNED_DT = ( SELECT MAX(PCMP_ASSIGNED_DT) FROM PS_PCMP_MGRSUP_RI WHERE PCMP_MGR_SUPER_ID = A.PCMP_MGR_SUPER_ID AND EMPLID = A.EMPLID AND EMPL_RCD = A.EMPL_RCD AND PCMP_TYPE = A.PCMP_TYPE AND PCMP_REG_AUTH = A.PCMP_REG_AUTH AND PCMP_ASSIGNED_DT <= %CurrentDateIn) AND B.EFFDT=( SELECT MAX(C.EFFDT) FROM PS_PCMP_RI_CLASS C WHERE C.EMPLID=B.EMPLID AND C.EMPL_RCD=B.EMPL_RCD AND C.PCMP_TYPE=B.PCMP_TYPE AND C.PCMP_REG_AUTH=B.PCMP_REG_AUTH AND C.EFFDT<=%CurrentDateIn) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | 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. |
2 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
3 | PCMP_RI_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
Professional Compliance Regulated Individual Status - Used in the Professional Compliance module.
Defines whether the individual is active/inactive within the compliance process.
A=Active I=Inactive |
4 | EFFDT | Date(10) | DATE NOT NULL | Effective Date |
5 | EMPLID | Character(11) | VARCHAR2(11) NOT NULL | Employee ID |
6 | EMPL_RCD | Number(3,0) | SMALLINT NOT NULL | Empl Rcd Nbr |
7 | 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. |
8 | 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. |
9 | PCMP_CLASS | Character(6) | VARCHAR2(6) NOT NULL |
Professional Compliance Classification - Used within the Professional Compliance module.
Identifies the different categories that a Regulatory Authority uses to define individuals within the comliance process.
Prompt Table: PCMP_CLASS |