PC_HR_RT_ROL_VW

(SQL View)
Index Back

Effective Role Hourly Rates

View of Project Role hourly rates by Business Unit.

SELECT A.BUSINESS_UNIT , B.PROJ_ROLE , B.CURRENCY_CD , A.RT_TYPE , A.UOM_HOURS , %Round((%DecDiv(B.COST_RATE, C.CONVERSION_RATE)), 3) , %Round((%DecDiv(B.BILL_RATE, C.CONVERSION_RATE)), 3) FROM PS_BUS_UNIT_TBL_PC A , PS_PC_RATE_ROLE B , PS_UNITS_CVT_TBL C , PS_SET_CNTRL_REC CNTRL WHERE CNTRL.RECNAME = 'PC_RATE_ROLE' AND CNTRL.SETCNTRLVALUE = A.BUSINESS_UNIT AND B.SETID = CNTRL.SETID AND B.UNIT_OF_MEASURE = C.UNIT_OF_MEASURE AND A.UOM_HOURS = C.UNIT_OF_MEASURE_TO AND C.CONVERSION_RATE <> 0 AND B.EFFDT = ( SELECT MAX(X.EFFDT) FROM PS_PC_RATE_ROLE X WHERE B.SETID = X.SETID AND B.PROJ_ROLE = X.PROJ_ROLE AND X.EFFDT <= %CurrentDateIn)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
2 PROJ_ROLE Character(15) VARCHAR2(15) NOT NULL Project Role
3 CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Currency Code
4 RT_TYPE Character(5) VARCHAR2(5) NOT NULL Defines a category of market rates for currency conversion. Some examples of rate types are commercial, average, floating, and historical.
5 UOM_HOURS Character(3) VARCHAR2(3) NOT NULL The Unit of Measure that represents Hours.
6 COST_RATE Number(27,3) DECIMAL(26,3) NOT NULL Cost Rate
7 BILL_RATE Number(27,3) DECIMAL(26,3) NOT NULL Billing Rate