TL_RPT_LNHDR_VW(SQL View) |
Index Back |
---|---|
Reported time Fluid approvalsTime and Labor Reported time Fluid approvals Line Header(Photo and Job descr) data |
SELECT X.EMPLID ,X.EMPL_RCD ,X.TRANSACTIONID ,X.EOAWDEFN_ID ,X.PUNCH_TYPE ,X.DUR ,X.TRC ,B.NAME_DISPLAY ,P.EMPLOYEE_PHOTO ,C.DESCR FROM PS_TL_RPT_LNFL_VW X ,PS_NAMES B , %Table(USER_PH_LIST_FL) P , PS_JOB JOB , PS_JOBCODE_TBL C WHERE X.EMPLID=P.EMPLID AND X.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) AND JOB.EMPLID = X.EMPLID AND JOB.EMPL_RCD = X.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) |
# | 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 | TRANSACTIONID | Number(10,0) | DECIMAL(10) NOT NULL | Transaction Identifier |
4 | EOAWDEFN_ID | Character(30) | VARCHAR2(30) NOT NULL | Approval Framework Definition ID |
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 | DUR | Date(10) | DATE | Date Under Report associates time being reported, scheduled or paid, to a specific date. |
7 | TRC | Character(5) | VARCHAR2(5) NOT NULL | Time Reporting Code used to report time in Time and Labor |
8 | NAME_DISPLAY | Character(50) | VARCHAR2(50) NOT NULL | Display Name - name formatted for Display based on the Country |
9 | EMPLOYEE_PHOTO | Image / Attachment(256) | VARCHAR2(256) | Employee Photograph |
10 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |