PC_PRQ_RTPL_VW(SQL View) |
Index Back |
---|---|
Active Rate Plans ViewView consists of Rate Plans which are most current and active. |
SELECT DISTINCT B.BUSINESS_UNIT , B.RATE_PLAN , B.DESCR FROM PS_PC_RATE_PLAN_EF A , PS_PC_RATE_PLAN B WHERE A.BUSINESS_UNIT = B.BUSINESS_UNIT AND A.RATE_PLAN = B.RATE_PLAN AND B.RATE_PLAN_TYPE = 'R' AND A.RATE_PLAN_TYPE = B.RATE_PLAN_TYPE AND A.EFFDT = ( SELECT MAX(RPLAN.EFFDT) FROM PS_PC_RATE_PLAN_EF RPLAN WHERE RPLAN.BUSINESS_UNIT = A.BUSINESS_UNIT AND RPLAN.RATE_PLAN = A.RATE_PLAN AND A.RATE_PLAN_TYPE = 'R' AND RPLAN.RATE_PLAN_TYPE = A.RATE_PLAN_TYPE AND RPLAN.EFFDT <= %CurrentDateIn) AND A.EFF_STATUS = 'A' |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL |
Business Unit
Prompt Table: SP_BU_PC_NONVW |
2 | RATE_PLAN1 | Character(15) | VARCHAR2(15) NOT NULL | Rate Plan - A Rate Plan will allow rate sets to be stacked on top of each other so that the output from one rate set can be used to create additional output from the next rate set. Rate Plans will replace existing Burden Plans in release 8.9. A Rate Plan could be tied to Project Type, Project, Activity or Contract line. |
3 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |