SCH_AENRL_EE_VW(SQL View) |
Index Back |
---|---|
View for Sch AutoEnroll EEsView for Schedule Asgn AutoEnroll EEs. This is a join of SCH_AENRL_STG and JOB |
SELECT STG.EMPLID , STG.EMPL_RCD , STG.EFFDT , STG.EFFSEQ , STG.SCH_CRITERIA_EFFDT , STG.SCH_CRITERIA_ID , STG.LASTUPDDTTM , STG.TL_RUN_SOURCE , STG.TL_PROCESSED_FLG , STG.TL_ORIG_RUN_ID , STG.TL_PRCS_RUN_ID , STG.OPRID , JOB.DEPTID , JOB.LOCATION , JOB.UNION_CD , JOB.JOBCODE , JOB.EMPL_TYPE , JOB.SETID_DEPT , JOB.SETID_JOBCODE , JOB.SETID_LOCATION , JOB.BUSINESS_UNIT , JOB.COMPANY , JOB.POSITION_NBR , JOB.SUPERVISOR_ID , 1 FROM PS_SCH_AENRL_STG STG , PS_JOB JOB WHERE STG.EMPLID = JOB.EMPLID AND STG.EMPL_RCD = JOB.EMPL_RCD AND STG.EFFDT = JOB.EFFDT AND STG.EFFSEQ = JOB.EFFSEQ |
# | 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 Record |
3 | EFFDT | Date(10) | DATE |
Effective Date
Default Value: %date |
4 | EFFSEQ | Number(3,0) | SMALLINT NOT NULL | Effective Sequence |
5 | SCH_CRITERIA_EFFDT | Date(10) | DATE | SCH Criteria Eff Date |
6 | SCH_CRITERIA_ID | Character(12) | VARCHAR2(12) NOT NULL | Enrollment Group |
7 | LASTUPDDTTM | DateTime(26) | TIMESTAMP | Specifies the date and time of the last update to an entry. This field is maintained by PeopleSoft and is used in a variety of contexts. |
8 | TL_RUN_SOURCE | Character(30) | VARCHAR2(30) NOT NULL | Run Control ID |
9 | TL_PROCESSED_FLG | Character(1) | VARCHAR2(1) NOT NULL |
Process Status
G=Ignored I=In Process M=Mark for Processing N=Preview R=Rejected Y=Processed |
10 | TL_ORIG_RUN_ID | Character(30) | VARCHAR2(30) NOT NULL | Run Control ID |
11 | TL_PRCS_RUN_ID | Character(30) | VARCHAR2(30) NOT NULL | Run Control ID |
12 | OPRID | Character(30) | VARCHAR2(30) NOT NULL | A user's ID (see PSOPRDEFN). |
13 | DEPTID | Character(10) | VARCHAR2(10) NOT NULL | Department |
14 | LOCATION | Character(10) | VARCHAR2(10) NOT NULL | Location Code |
15 | UNION_CD | Character(3) | VARCHAR2(3) NOT NULL | Union Code |
16 | JOBCODE | Character(6) | VARCHAR2(6) NOT NULL | Job Code |
17 | EMPL_TYPE | Character(1) | VARCHAR2(1) NOT NULL |
Employee Type
E=Exception Hourly H=Hourly N=Not Applicable S=Salaried |
18 | SETID_DEPT | Character(5) | VARCHAR2(5) NOT NULL | Department Set ID |
19 | SETID_JOBCODE | Character(5) | VARCHAR2(5) NOT NULL | Job Code Set ID |
20 | SETID_LOCATION | Character(5) | VARCHAR2(5) NOT NULL | Location Set ID |
21 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
22 | COMPANY | Character(3) | VARCHAR2(3) NOT NULL | Company |
23 | POSITION_NBR | Character(8) | VARCHAR2(8) NOT NULL | Position Number |
24 | SUPERVISOR_ID | Character(11) | VARCHAR2(11) NOT NULL | Supervisor ID |
25 | COUNT1 | Number(12,0) | DECIMAL(12) NOT NULL | AUS WGEA counts |