PC_PRC_RATE_VW

(SQL View)
Index Back

View of PC_PRICE_RATES


SELECT A.BUSINESS_UNIT , A.PROJECT_ID , A.ACTIVITY_ID , A.EFFDT , A.EFF_STATUS , CASE WHEN (A.RATE_SELECT = '1') THEN 'TMPL' WHEN (A.RATE_SELECT = '2') THEN 'URTP' ELSE ' ' END , CASE WHEN (A.RATE_SELECT = '1') THEN A.PC_TEMPLATE_ID WHEN (A.RATE_SELECT = '2') THEN A.RATE_PLAN ELSE ' ' END FROM PS_PC_PRICE_RATES A WHERE %EffdtCheck(PC_PRICE_RATES, A, %CurrentDateIn)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
2 PROJECT_ID Character(15) VARCHAR2(15) NOT NULL Project Id ChartField
3 ACTIVITY_ID Character(15) VARCHAR2(15) NOT NULL Activity ID
4 EFFDT Date(10) DATE Effective Date

Default Value: %date

5 EFF_STATUS Character(1) VARCHAR2(1) NOT NULL Effective Status
A=Active
I=Inactive

Default Value: A

6 RATE_TMPL_OPTION Character(4) VARCHAR2(4) NOT NULL Rate Option
CRTP=Contract Rate Plan
NSTD=Contract Rate Set
TMPL=Rate Set
URTP=Rate Plan
7 PC_TEMPLATE_ID Character(15) VARCHAR2(15) NOT NULL Rate Template ID

Default Value: PROJECT.PC_TEMPLATE_ID