TL_PC_RPTJOB_VW(SQL View) |
Index Back |
---|---|
JOB info for Reported ApprovalJOB information for Reported time Fluid approvals |
SELECT A.TRANSACTIONID ,A.EOAWDEFN_ID ,A.EMPLID ,A.EMPL_RCD ,A.PUNCH_TYPE ,B.NAME_DISPLAY ,C.DESCR ,'' FROM PS_TL_APP_HDR A , PS_JOB JOB , PS_JOBCODE_TBL C , PS_NAMES B WHERE JOB.EMPLID = A.EMPLID AND JOB.EMPL_RCD = A.EMPL_RCD AND JOB.SETID_JOBCODE = C.SETID AND JOB.JOBCODE = C.JOBCODE AND C.EFF_STATUS = 'A' AND %EffdtCheck(JOBCODE_TBL, C, %CurrentDateIn) AND JOB.EFFDT=( SELECT MAX(EFFDT) FROM PS_JOB JOB2 WHERE JOB.EMPLID=JOB2.EMPLID AND JOB.EMPL_RCD=JOB2.EMPL_RCD AND JOB2.EFFDT<=%CurrentDateIn) AND JOB.EFFSEQ = ( SELECT MAX(EFFSEQ) FROM PS_JOB WHERE EMPLID = JOB.EMPLID AND EMPL_RCD = JOB.EMPL_RCD AND EFFDT = JOB.EFFDT) AND A.EMPLID =B.EMPLID AND B.NAME_TYPE = 'PRI' AND B.EFFDT = ( SELECT MAX (NM1.EFFDT) FROM PS_NAMES NM1 WHERE NM1.EMPLID = B.EMPLID AND NM1.NAME_TYPE = B.NAME_TYPE AND NM1.EFFDT <= %CurrentDateIn) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | TRANSACTIONID | Number(10,0) | DECIMAL(10) NOT NULL | Transaction Identifier |
2 | EOAWDEFN_ID | Character(30) | VARCHAR2(30) NOT NULL | Approval Framework Definition ID |
3 | EMPLID | Character(11) | VARCHAR2(11) NOT NULL | Employee ID |
4 | EMPL_RCD | Number(3,0) | SMALLINT NOT NULL | Empl Record |
5 | PUNCH_TYPE | Character(2) | VARCHAR2(2) NOT NULL |
Global Punch Types
0=Elapsed 1=In 2=Out 3=Meal 4=Break 5=Transfer |
6 | NAME_DISPLAY | Character(50) | VARCHAR2(50) NOT NULL | Display Name - name formatted for Display based on the Country |
7 | JOB_DESCR | Character(30) | VARCHAR2(30) NOT NULL | Job Description |
8 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |