CONTROL_TBL_VW

(SQL View)
Index Back

Sal Plan Default Values

This view is used as a prompt table by GROUP_INCR_CNTL.CONTROL_ID

SELECT A.CONTROL_ID ,B.EFFDT ,B.EFF_STATUS ,B.DESCR50 FROM PS_SAL_PLN_CONTROL A, PS_CONTROL_TBL B WHERE A.CONTROL_ID = B.CONTROL_ID AND B.EFF_STATUS = 'A' AND B.EFFDT = (SELECT MAX(C.EFFDT) FROM PS_CONTROL_TBL C WHERE A.CONTROL_ID = C.CONTROL_ID AND C.EFFDT <= %CURRENTDATEIN)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 CONTROL_ID Character(5) VARCHAR2(5) NOT NULL Plan Default ID
2 EFFDT Date(10) DATE NOT NULL Effective Date
3 EFF_STATUS Character(1) VARCHAR2(1) NOT NULL Effective Status
A=Active
I=Inactive
4 DESCR50 Character(50) VARCHAR2(50) NOT NULL Description of length 50