CS_CNT_CUR_H_VW(SQL View) |
Index Back |
---|---|
Currency Code Details - HeaderView used in Contracts Bind Mapping to get the currency code details. |
SELECT A.SETID , A.CNTRCT_ID , A.VERSION_NBR , A.CURRENCY_CD , B.DESCR FROM PS_CNTRCT_HDR A , PS_CURRENCY_CD_TBL B WHERE A.CURRENCY_CD = B.CURRENCY_CD AND B.EFF_STATUS = 'A' AND B.EFFDT = ( SELECT MAX(B2.EFFDT) FROM PS_CURRENCY_CD_TBL B2 WHERE B.CURRENCY_CD = B2.CURRENCY_CD AND B2.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 | CNTRCT_ID | Character(25) | VARCHAR2(25) NOT NULL |
Buying Agreement ID
Default Value: NEXT |
3 | VERSION_NBR | Number(5,0) | INTEGER NOT NULL | Contract Version number |
4 | CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL |
Currency Code
Default Value: CNTRCT_CONTROL.CURRENCY_CD Prompt Table: CURRENCY_CD_TBL |
5 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |