SPR_CONLOSRS_VW(SQL View) |
Index Back |
---|---|
sPro Length of Stay by DeptsPro Length of Stay by Department Summary View |
SELECT DISTINCT A.OPRID ,A.BUSINESS_UNIT ,A.PROJ_ROLE ,B.DESCR ,AVG(A.LENGTH_OF_STAY) ,AVG(A.EX_DURATION_DAYS) FROM PS_SPR_CONLOR_VW A ,PS_SPR_ROLE_DIM B WHERE A.BUSINESS_UNIT = B.BUSINESS_UNIT AND A.PROJ_ROLE = B.PROJ_ROLE GROUP BY A.OPRID ,A.BUSINESS_UNIT ,A.PROJ_ROLE ,B.DESCR |
# | 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 | PROJ_ROLE | Character(15) | VARCHAR2(15) NOT NULL | Project Role |
4 | SP_PROJECT_DESCR | Character(30) | VARCHAR2(30) NOT NULL | Project Description |
5 | LENGTH_OF_STAY | Number(5,0) | INTEGER NOT NULL | Length of Stay in Days |
6 | EX_DURATION_DAYS | Signed Number(6,0) | DECIMAL(5) NOT NULL | Excess Duration for Length of Stay |