PC_PRJTYPE_VW

(SQL View)
Index Back

3PI: Get Project Type View


SELECT B.SETCNTRLVALUE , A.SETID , A.PROJECT_TYPE , A.DESCR , B.RECNAME , A.EFFDT FROM PS_PROJ_TYPE_TBL A , PS_SET_CNTRL_REC B WHERE A.EFF_STATUS = 'A' AND A.EFFDT = ( SELECT MAX(A_ED.EFFDT) FROM PS_PROJ_TYPE_TBL A_ED WHERE A.SETID = A_ED.SETID AND A.PROJECT_TYPE = A_ED.PROJECT_TYPE AND A_ED.EFFDT <= %CurrentDateIn) AND B.SETID = A.SETID AND B.RECNAME = 'PROJ_TYPE_TBL'

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 SETCNTRLVALUE Character(20) VARCHAR2(20) NOT NULL Tree Definition User Key Value

Prompt Table: SP_BU_PC_NONVW

2 SETID Character(5) VARCHAR2(5) NOT NULL SetID
3 PROJECT_TYPE Character(5) VARCHAR2(5) NOT NULL Project Type
A=Activity
G=Grant
H=Phase
P=Project
S=Segment
4 DESCR Character(30) VARCHAR2(30) NOT NULL Description
5 RECNAME Character(15) VARCHAR2(15) NOT NULL Record (Table) Name (see PSRECDEFN).
6 EFFDT Date(10) DATE Effective Date

Default Value: %date