VC_GOAL_VW(SQL View) |
Index Back |
---|---|
Prompt view for goals.This view is used for prompting the goals on the org/group/ind goals panels. It compares the effdt of the goal definition against the end date of the period for which it is to be used. |
SELECT A.VC_PLAN_ID , A.VC_PAYOUT_PRD_ID , B.VC_GOAL_ID , B.DESCR50 FROM PS_VC_PAYPRD_TBL A , PS_VC_GOAL_TBL B WHERE B.EFFDT = ( SELECT MAX(EFFDT) FROM PS_VC_GOAL_TBL C WHERE C.VC_GOAL_ID = B.VC_GOAL_ID AND C.EFFDT <= A.PRD_END_DT ) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | VC_PLAN_ID | Character(10) | VARCHAR2(10) NOT NULL | VC Plan ID |
2 | VC_PAYOUT_PRD_ID | Character(10) | VARCHAR2(10) NOT NULL | Payout Period ID |
3 | VC_GOAL_ID | Character(10) | VARCHAR2(10) NOT NULL | Goal ID |
4 | DESCR50 | Character(50) | VARCHAR2(50) NOT NULL | Description of length 50 |