TRX_DT_RATG_VW(SQL View) |
Index Back |
---|---|
Debt rating viewDebt rating view |
SELECT A.SETID , A.CR_RATING_TYPE , A.EFFDT , A.CR_RATING_VALUE , B.CR_RATING FROM PS_TRX_DEBT_RATING A , PS_CREDIT_RTG_TBL B WHERE A.SETID = B.SETID AND A.CR_RATING_TYPE = B.CR_RATING_TYPE AND A.CR_RATING_VALUE = B.CR_RATING_VALUE AND A.EFFDT=( SELECT MAX(C.EFFDT) FROM PS_TRX_DEBT_RATING C WHERE A.SETID = C.SETID AND A.CR_RATING_TYPE = C.CR_RATING_TYPE AND C.EFFDT<=%CurrentDateIn AND C.EFF_STATUS = 'A' ) |
# | 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 | CR_RATING_TYPE | Character(8) | VARCHAR2(8) NOT NULL |
The market credit agency associated wth a given group of credit ratings.
I=IBCA M=Moody's S=Standard && Poors Prompt Table: CREDIT_RTG_TBL |
3 | EFFDT | Date(10) | DATE NOT NULL |
Effective Date
Default Value: %date |
4 | CR_RATING_VALUE | Number(3,0) | SMALLINT NOT NULL |
User defined rating values utilized to assign priorities to a given set of credit ratings.
Prompt Table: CREDIT_RTG_TBL |
5 | CR_RATING | Character(5) | VARCHAR2(5) NOT NULL | The market credit rating associated wth a given bank/counterparty. |