TRP_ACT_TYPE_VW(SQL View) |
Index Back |
---|---|
Participant Account TypesParticipant Account Types with Xlatlongname |
SELECT A.SETID , A.PARTICIPANT_ID , A.BUSINESS_UNIT , A.POOL_ID , A.PARTICIPANT_ACCT , A.TRP_ACCOUNT_TYPE , D.XLATLONGNAME FROM PS_TRP_PART_ACCT_D A , PSXLATITEM D WHERE A.TRP_ACCOUNT_TYPE IN ('D','I') AND A.EFFDT = ( SELECT MAX(EFFDT) FROM PS_TRP_PART_ACCT_D B WHERE A.SETID= B.SETID AND A.PARTICIPANT_ID = B.PARTICIPANT_ID AND A.BUSINESS_UNIT = B.BUSINESS_UNIT AND A.POOL_ID = B.POOL_ID AND EFFDT <= %CurrentDateIn) AND D.FIELDNAME='TRP_ACCOUNT_TYPE' AND D.FIELDVALUE=A.TRP_ACCOUNT_TYPE AND D.EFF_STATUS='A' AND D.EFFDT=( SELECT MAX(EFFDT) FROM PSXLATITEM WHERE FIELDNAME=D.FIELDNAME AND FIELDVALUE=D.FIELDVALUE AND EFFDT<=%CurrentDateIn) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | SETID | Character(5) | VARCHAR2(5) NOT NULL |
SetID
Default Value: OPR_DEF_TBL_FS.SETID Prompt Table: SP_SETID_NONVW |
2 | PARTICIPANT_ID | Character(10) | VARCHAR2(10) NOT NULL | Participant Id |
3 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL |
Business Unit
Prompt Table: SP_BU_GL_NONVW |
4 | POOL_ID | Character(10) | VARCHAR2(10) NOT NULL | Pool ID field. |
5 | PARTICIPANT_ACCT | Character(25) | VARCHAR2(25) NOT NULL | Participant Account |
6 | TRP_ACCOUNT_TYPE | Character(1) | VARCHAR2(1) NOT NULL |
Account type
D=Deposit I=Income Default Value: D |
7 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |