RS_EMPL_RM_BUVW(SQL View) |
Index Back |
---|---|
BU Prompt View by EMPLIDThis is a view used as a promopt view for Business Unit for resource management assignments only when PGM is not installed. The Set control value is set to EMPLID. |
SELECT DISTINCT A.EMPLID ,A.BUSINESS_UNIT FROM %Table(RS_ASSIGNMENT) A , %Table(SP_BU_PC_NONVW) B , %Table(RS_WRKR_ADD_VW) D , %Table(RS_ASSGN_STS) E , %Table(PROJECT) F WHERE A.EMPLID = D.EMPLID AND A.BUSINESS_UNIT = B.BUSINESS_UNIT AND E.ASSIGNMENT_ID = A.ASSIGNMENT_ID AND E.LASTUPDDTTM = ( SELECT MAX(F.LASTUPDDTTM) FROM %Table(RS_ASSGN_STS) F WHERE F.ASSIGNMENT_ID = E.ASSIGNMENT_ID ) AND (E.ASSIGN_STS = 'A' OR E.ASSIGN_STS = 'V') AND F.BUSINESS_UNIT = B.BUSINESS_UNIT AND F.PROJECT_ID = A.PROJECT_ID AND F.EFF_STATUS <> 'I' |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | EMPLID | Character(11) | VARCHAR2(11) NOT NULL | Employee ID |
2 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL |
Business Unit
Prompt Table: SP_BU_PC_NONVW |