PC_RES_TYPE_VW(SQL View) |
Index Back |
---|---|
Current Source Type DescrThis view returns the most current effective dated descriptions for Resource Types |
SELECT A.SETID , A.RESOURCE_TYPE , A.EFFDT , A.DESCRSHORT , A.DESCR FROM PS_PROJ_RES_TYPE A WHERE A.EFF_STATUS = 'A' AND A.EFFDT = ( SELECT MAX(X.EFFDT) FROM PS_PROJ_RES_TYPE X WHERE A.SETID = X.SETID AND A.RESOURCE_TYPE = X.RESOURCE_TYPE AND X.EFF_STATUS = 'A' AND X.EFFDT <= %CurrentDateIn) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | Character(5) | VARCHAR2(5) NOT NULL |
SetID
Default Value: OPR_DEF_TBL_FS.SETID Prompt Table: SP_SETID_NONVW |
|
2 | Character(5) | VARCHAR2(5) NOT NULL |
Source Type
Prompt Table: PROJ_RES_TYPE |
|
3 | Date(10) | DATE NOT NULL | Effective Date | |
4 | DESCRSHORT | Character(10) | VARCHAR2(10) NOT NULL | Short Description |
5 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |