CNTRCT_CUR_VWLN(SQL View) |
Index Back |
---|---|
Contract Currency CodesShows available currency codes for a given contract. |
SELECT DISTINCT B.SETID , B.CNTRCT_ID , B.VNDR_LOC , B.CURRENCY_CD , D.LANGUAGE_CD , D.DESCR FROM PS_CURRENCY_CD_TBL A , PS_CNTRCT_LINE_UOM B , PS_CURRCD_TBL_LANG D WHERE A.CURRENCY_CD = B.CURRENCY_CD AND B.CURRENCY_CD = D.CURRENCY_CD AND A.EFF_STATUS = 'A' AND A.EFFDT = ( SELECT MAX(C.EFFDT) FROM PS_CURRENCY_CD_TBL C WHERE A.CURRENCY_CD = C.CURRENCY_CD AND A.EFFDT = C.EFFDT) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | SETID | Character(5) | VARCHAR2(5) NOT NULL | SetID |
2 | CNTRCT_ID | Character(25) | VARCHAR2(25) NOT NULL | Buying Agreement ID |
3 | VNDR_LOC | Character(10) | VARCHAR2(10) NOT NULL | Vendor Location |
4 | CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Currency Code |
5 | LANGUAGE_CD | Character(3) | VARCHAR2(3) NOT NULL | Language Code |
6 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |