SPR_CONLOSMR_VW

(SQL View)
Index Back

sPro Length of Stay by Manager

sPro Length of Stay by Manager Detail View

SELECT A.OPRID ,A.BUSINESS_UNIT ,A.WO_CLIID ,A.TE_APPROVER ,A.WO_CONID ,A.WORK_ORDER_ID ,C.NAME ,A.START_DATE ,A.PROJECTED_END_DATE ,A.END_DATE ,AVG(A.LENGTH_OF_STAY) ,AVG(A.EX_DURATION_DAYS) ,A.AS_OF_DATE FROM PS_SPR_LOSTAY_FACT A , PS_SPR_PERSON_DIM C WHERE A.BUSINESS_UNIT = C.BUSINESS_UNIT AND C.PERSON_ID = A.WO_CONID GROUP BY A.OPRID ,A.BUSINESS_UNIT ,A.WO_CLIID,A.TE_APPROVER ,A.WO_CONID ,C.NAME ,A.WORK_ORDER_ID ,A.START_DATE ,A.PROJECTED_END_DATE ,A.END_DATE,A.AS_OF_DATE

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 OPRID Character(30) VARCHAR2(30) NOT NULL A user's ID (see PSOPRDEFN).
2 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
3 REQUESTOR_ID Character(30) VARCHAR2(30) NOT NULL Requestor id
4 TE_APPROVER Character(30) VARCHAR2(30) NOT NULL Time Approver
5 WO_CONID Character(15) VARCHAR2(15) NOT NULL Service Provider's ID assigned on work order
6 WORK_ORDER_ID Character(15) VARCHAR2(15) NOT NULL Work Order ID
7 SP_CONTRACTOR_NAME Character(50) VARCHAR2(50) NOT NULL Service Provider
8 START_DATE Date(10) DATE Start Date for Gen Standing PO
9 PROJECTED_END_DATE Date(10) DATE Projected End Date of Length of Stay Analysis
10 END_DATE Date(10) DATE End Date
11 LENGTH_OF_STAY Number(5,0) INTEGER NOT NULL Length of Stay in Days
12 EX_DURATION_DAYS Signed Number(6,0) DECIMAL(5) NOT NULL Excess Duration for Length of Stay
13 AS_OF_DATE Date(10) DATE As of Date