LM_AENRL_RUN_VW

(SQL View)
Index Back

RunControl Table

Holds WorkForce Sync Data for AutoEnrollment

SELECT RUN_CNTL_ID , OPRID , PROCESS_INSTANCE , LM_PERSON_ID ,LM_EMPL_RCD , LM_EFFDT , LM_EFFSEQ , LM_DELETE_FLAG FROM PS_LM_AENRL_RUNCTL A WHERE A.LM_EFFSEQ = ( SELECT MAX(C.LM_EFFSEQ) FROM PS_LM_AENRL_RUNCTL C WHERE C.LM_PERSON_ID = A.LM_PERSON_ID AND C.LM_EFFDT = A.LM_EFFDT AND C.LM_EMPL_RCD = A.LM_EMPL_RCD)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 RUN_CNTL_ID Character(30) VARCHAR2(30) NOT NULL Run Control ID
2 OPRID Character(30) VARCHAR2(30) NOT NULL A user's ID (see PSOPRDEFN).
3 PROCESS_INSTANCE Number(10,0) DECIMAL(10) NOT NULL Process Instance
4 LM_PERSON_ID Number(15,0) DECIMAL(15) NOT NULL ELM Person ID
5 LM_EMPL_RCD Number(3,0) SMALLINT NOT NULL Empl Record umber
6 LM_EFFDT Date(10) DATE Effective Date
7 LM_EFFSEQ Number(3,0) SMALLINT NOT NULL ELM Effective Sequence
8 LM_DELETE_FLAG Character(1) VARCHAR2(1) NOT NULL Delete Flag Y/N
N=No
Y=Yes