SPR_SRTCMPRR_VW(SQL View) |
Index Back |
---|---|
Rate Comparison Detail by Role |
SELECT A.OPRID ,A.BUSINESS_UNIT ,A.PROJ_ROLE ,A.UNIT_OF_MEASURE ,A.VENDOR_ID ,A.WO_CONID ,B.NAME ,AVG(A.WO_RATE) ,A.CURRENCY_CD FROM PS_SPR_SRTCMP_FACT A ,PS_SPR_PERSON_DIM B WHERE A.BUSINESS_UNIT = B.BUSINESS_UNIT AND A.WO_CONID = B.PERSON_ID GROUP BY A.OPRID ,A.BUSINESS_UNIT ,A.PROJ_ROLE ,A.UNIT_OF_MEASURE ,A.VENDOR_ID,A.WO_CONID ,B.NAME ,A.CURRENCY_CD |
# | 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 | UNIT_OF_MEASURE | Character(3) | VARCHAR2(3) NOT NULL |
Used on an approval rule set.
MHR=Muti Hourly PER=Percentage SQF=Square Footage |
5 | VENDOR_ID | Character(10) | VARCHAR2(10) NOT NULL |
Vendor Identifier
Default Value: SPR_ROSTER_FACT.VENDOR_ID |
6 | WO_CONID | Character(15) | VARCHAR2(15) NOT NULL | Service Provider's ID assigned on work order |
7 | SP_CONTRACTOR_NAME | Character(50) | VARCHAR2(50) NOT NULL | Service Provider |
8 | WO_RATE | Signed Number(16,4) | DECIMAL(14,4) NOT NULL | WorkOrder Rate |
9 | CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL |
Currency Code
Prompt Table: CURRENCY_CD_TBL |