P6_WBSTM_SRC_VW(SQL View) |
Index Back |
---|---|
P6 Project Team Source ViewPSFT Project Activity Team resource records Note: restricted to (a) WBS previously imported from P6; (b) team members not previously imported from P6; and (c) class Labor or named Asset |
SELECT A.BUSINESS_UNIT , A.PROJECT_ID , A.ACTIVITY_ID , B.TEAM_MEMBER_CLASS , B.TEAM_MEMBER_IND , B.TEAM_MEMBER , C.BUSINESS_UNIT_AM , B.PROJ_ROLE FROM PS_PROJ_ACTIVITY A , PS_PROJ_ACT_TEAM B , PS_PROJECT_TEAM C , PS_INSTALLATION D WHERE A.P6_WBS_FLAG = 'Y' AND B.BUSINESS_UNIT = A.BUSINESS_UNIT AND B.PROJECT_ID = A.PROJECT_ID AND B.ACTIVITY_ID = A.ACTIVITY_ID AND B.SOURCE_FLAG <> '6' AND B.TEAM_MEMBER_IND = 'E' AND C.BUSINESS_UNIT = B.BUSINESS_UNIT AND C.PROJECT_ID = B.PROJECT_ID AND C.TEAM_MEMBER_CLASS = B.TEAM_MEMBER_CLASS AND C.TEAM_MEMBER_IND = B.TEAM_MEMBER_IND AND C.TEAM_MEMBER = B.TEAM_MEMBER AND (B.TEAM_MEMBER_CLASS = 'A' OR (B.TEAM_MEMBER_CLASS = 'L' AND (D.RS = 'N' OR C.RESOURCE_STS = 'CM'))) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
2 | PROJECT_ID | Character(15) | VARCHAR2(15) NOT NULL | Project Id ChartField |
3 | ACTIVITY_ID | Character(15) | VARCHAR2(15) NOT NULL | Activity ID |
4 | TEAM_MEMBER_CLASS | Character(1) | VARCHAR2(1) NOT NULL |
05/26/2004 - FS
Translate Value "O" added.
A=Asset L=Labor M=Material O=Other |
5 | TEAM_MEMBER_IND | Character(1) | VARCHAR2(1) NOT NULL |
Team Member Indicator
E=Employee G=Generic Resource N=Not Applicable |
6 | TEAM_MEMBER | Character(30) | VARCHAR2(30) NOT NULL | Team Member |
7 | BUSINESS_UNIT_AM | Character(5) | VARCHAR2(5) NOT NULL | AM Business Unit |
8 | PROJ_ROLE | Character(15) | VARCHAR2(15) NOT NULL | Project Role |