TL_PAY_LNHD_VWL(SQL View) |
Index Back |
---|---|
TL Payable time Fluid Appr-LngTL Payable time Fluid Approval Line details header Related Language record |
SELECT X.TRANSACTIONID ,X.EOAWDEFN_ID ,X.EMPLID ,X.EMPL_RCD ,X.DUR ,X.SEQ_NBR ,B.LANGUAGE_CD ,B.NAME_DISPLAY ,C.DESCR FROM PS_TL_APP_PAY_LINE X ,PS_NAMES_LNG B , PS_JOB JOB , PS_JOBCODE_LANG C WHERE X.EMPLID=B.EMPLID AND B.EFFDT = ( SELECT MAX (NM1.EFFDT) FROM PS_NAMES NM1 WHERE NM1.EMPLID = B.EMPLID AND NM1.NAME_TYPE = 'PRI' 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 B.LANGUAGE_CD=C.LANGUAGE_CD 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 | 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 | DUR | Date(10) | DATE | Date Under Report associates time being reported, scheduled or paid, to a specific date. |
6 | SEQ_NBR | Number(15,0) | DECIMAL(15) NOT NULL | Sequence Number |
7 | LANGUAGE_CD | Character(3) | VARCHAR2(3) NOT NULL | Language Code |
8 | NAME_DISPLAY | Character(50) | VARCHAR2(50) NOT NULL | Display Name - name formatted for Display based on the Country |
9 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |