EX_TMADJ_POL_VW

(SQL View)
Index Back

Time Policy Adjustment View


SELECT A.EMPLID , A.TIME_SHEET_ID , B.LINE_NBR , C.DATE_UNDER_RPT , A.VERSION_NUM , A.PERIOD_END_DT , A.TIME_SHEET_STATUS , B.TRC , C.TIME_QUANTITY , C.UNIT_OF_MEASURE FROM PS_EX_TIME_HDR A ,PS_EX_TIME_POL B , PS_EX_TIME_POL_DLY C WHERE A.TIME_SHEET_ID = B.TIME_SHEET_ID AND A.VERSION_NUM = B.VERSION_NUM AND B.TIME_SHEET_ID = C.TIME_SHEET_ID AND B.VERSION_NUM = C.VERSION_NUM AND B.LINE_NBR = C.LINE_NBR AND A.VERSION_NUM = ( SELECT MAX(A1.VERSION_NUM ) FROM PS_EX_TIME_HDR A1 WHERE A.TIME_SHEET_ID = A1.TIME_SHEET_ID AND A.VERSION_NUM = A1.VERSION_NUM AND A1.VERSION_NUM > 1)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID
2 TIME_SHEET_ID Character(10) VARCHAR2(10) NOT NULL Time Sheet Unique Identifier (System Generated)
3 LINE_NBR Number(5,0) INTEGER NOT NULL Line Number: 11/24/08 - Added TARGET label [PC product]

Default Value: 1

4 DATE_UNDER_RPT Date(10) DATE Date Under Report
5 VERSION_NUM Number(3,0) SMALLINT NOT NULL Version Number
6 PERIOD_END_DT Date(10) DATE Represents the date termination point for a given time set utilized in cash worksheet processing.
7 TIME_SHEET_STATUS Character(3) VARCHAR2(3) NOT NULL Time Sheet Status
ADJ=Adjusted
APR=Approved
DEN=Denied
DNA=Denied by Approver
DNU=Denied by Project Manager
HDA=Hold by Approver
HDU=Hold by Project Manager
HLD=Hold
MFS=Marked for Submit
PAR=Approvals in Process
PND=Pending
PRO=In Process
SFA=Submission in Process
SUB=Submitted for Approval
XML=Submitted, Pending Validation
8 TRC Character(5) VARCHAR2(5) NOT NULL Time Reporting Code

Prompt Table: EX_TRC_MAP_VW

9 TIME_QUANTITY Signed Number(16,2) DECIMAL(14,2) NOT NULL Time Quantity
10 UNIT_OF_MEASURE Character(3) VARCHAR2(3) NOT NULL Used on an approval rule set.
MHR=Muti Hourly
PER=Percentage
SQF=Square Footage

Prompt Table: UNITS_TBL