PC_PROJ_STAT_VW(SQL View) |
Index Back |
---|---|
3PI: Get Project Status View |
SELECT B.SETCNTRLVALUE , A.SETID , A.PROJECT_STATUS , A.DESCR , A.EFFDT , A.EFF_STATUS FROM PS_PROJ_STATUS_TBL A , PS_SET_CNTRL_REC B WHERE A.EFFDT = ( SELECT MAX(A_ED.EFFDT) FROM PS_PROJ_STATUS_TBL A_ED WHERE A.SETID = A_ED.SETID AND A.PROJECT_STATUS = A_ED.PROJECT_STATUS AND A_ED.EFFDT <= %CurrentDateIn) AND A.EFF_STATUS = 'A' AND B.SETID = A.SETID AND B.RECNAME = 'PROJ_STATUS_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
Prompt Table: SP_SETID_NONVW |
3 | PROJECT_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
Project Status
B=Budgeted C=Closed H=Hold O=Open P=Proposed |
4 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
5 | EFFDT | Date(10) | DATE |
Effective Date
Default Value: %date |
6 | EFF_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
Effective Status
A=Active I=Inactive |