TL_PC_PT_PND_VW(SQL View) |
Index Back |
---|---|
TL Paytime Fluid approvalsTL Paytime Fluid approvals Summary View |
SELECT P.TRANSACTIONID ,P.EOAWDEFN_ID , P.EMPLID ,P.EMPL_RCD ,B.NAME_DISPLAY ,MIN(P.DUR) ,MAX(P.DUR) ,SUM(PT.tl_quantity) ,'' ,'' FROM PS_TL_APP_PAY_LINE P , PS_TL_PAYABLE_TIME PT , PS_NAMES B WHERE PT.PAYABLE_STATUS='NA' AND P.EMPLID=PT.EMPLID AND P.EMPL_RCD=PT.EMPL_RCD AND P.DUR=PT.DUR AND p.seq_nbr=PT.seq_nbr AND P.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) GROUP BY P.TRANSACTIONID ,P.EOAWDEFN_ID , P.EMPLID ,P.EMPL_RCD ,B.NAME_DISPLAY |
# | 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 | NAME_DISPLAY | Character(50) | VARCHAR2(50) NOT NULL | Display Name - name formatted for Display based on the Country |
6 | TL_FROM_DATE | Date(10) | DATE | Reporting Date Range |
7 | TO_DATE | Date(10) | DATE | Latest Date to be sent to PYR |
8 | TL_QUANTITY | Signed Number(20,6) | DECIMAL(18,6) NOT NULL | This field represents the measure of Work in hrs,amount etc., |
9 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
10 | DESCR20 | Character(20) | VARCHAR2(20) NOT NULL | Description |