TRP_PART_AC2_VW(SQL View) |
Index Back |
---|---|
Participant Account HeaderParticipant Account Header Information view for prompts |
SELECT DISTINCT B.BUSINESS_UNIT , B.POOL_ID , B.PARTICIPANT_ID ,A.DESCR FROM PS_TRP_PART_DEFN A , PS_TRP_PART_ACCT_H B WHERE A.SETID = B.SETID AND A.PARTICIPANT_ID = B.PARTICIPANT_ID AND A.EFF_STATUS = 'A' AND A.EFFDT = B.EFFDT AND A.EFFDT = ( SELECT MAX(C.EFFDT) FROM PS_TRP_PART_ACCT_H C WHERE B.SETID = C.SETID AND B.PARTICIPANT_ID = C.PARTICIPANT_ID AND B.BUSINESS_UNIT = C.BUSINESS_UNIT AND B.POOL_ID = C.POOL_ID AND B.PARTICIPANT_ACCT = C.PARTICIPANT_ACCT AND C.EFFDT <= %CurrentDateIn) AND A.EFFDT = ( SELECT MAX(D.EFFDT) FROM PS_TRP_PART_DEFN D WHERE D.SETID = A.SETID AND D.PARTICIPANT_ID = A.PARTICIPANT_ID AND D.EFFDT <= %CurrentDateIn) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL |
Business Unit
Prompt Table: SP_BU_GL_NONVW |
2 | POOL_ID | Character(10) | VARCHAR2(10) NOT NULL |
Pool ID field.
Prompt Table: TRP_POOL_ACT_VW |
3 | PARTICIPANT_ID | Character(10) | VARCHAR2(10) NOT NULL |
Participant Id
Prompt Table: TRP_PART_ACT_VW |
4 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |