CNTRCT_ACTXHDR(SQL View) |
Index Back |
---|---|
Contract Header w/ Xlat07/24/2009 PKL 1905919001 Ensured that contract activity report show current version number |
SELECT DISTINCT A.VENDOR_SETID , A.VENDOR_ID , A.SETID , A.CNTRCT_ID , A.VERSION_NBR , B.VENDOR_NAME_SHORT , A.CNTRCT_PROC_OPT , A.CNTRCT_BEGIN_DT , A.CNTRCT_STATUS , C.XLATSHORTNAME , A.CURRENCY_CD , A.AMT_CNTRCT_MAX FROM PS_CNTRCT_HDR A , PS_VENDOR B , PSXLATITEM C WHERE B.SETID = A.VENDOR_SETID AND B.VENDOR_ID = A.VENDOR_ID AND C.FIELDNAME = 'CNTRCT_STATUS' AND C.FIELDVALUE = A.CNTRCT_STATUS AND C.EFF_STATUS = 'A' AND %EffdtCheck(PSXLATITEM C1, C, %CURRENTDATEIN) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | Character(5) | VARCHAR2(5) NOT NULL | Vendor SetID | |
2 | Character(10) | VARCHAR2(10) NOT NULL | Vendor Identifier | |
3 | Character(5) | VARCHAR2(5) NOT NULL | SetID | |
4 | Character(25) | VARCHAR2(25) NOT NULL | Buying Agreement ID | |
5 | Number(5,0) | INTEGER NOT NULL | Contract Version number | |
6 | VENDOR_NAME_SHORT | Character(14) | VARCHAR2(14) NOT NULL | Short Vendor Name |
7 | CNTRCT_PROC_OPT | Character(4) | VARCHAR2(4) NOT NULL |
Contract Process Option
AP=Recurring Voucher BPO=Release to Single PO Only DST=Distributor GN=General Contract GRPM=Group Multi Supplier GRPS=Group Single Supplier MFG=Manufacturer PADV=Prepaid Voucher w/ Advance PO PO=Purchase Order PPAY=Prepaid Voucher RPOV=Recurring PO Voucher SPP=Special Purpose |
8 | CNTRCT_BEGIN_DT | Date(10) | DATE NOT NULL | Contract Begin Date |
9 | CNTRCT_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
Contract Status
A=Approved C=Closed H=On-Hold O=Open P=Pre-Approved X=Canceled |
10 | DESCRSHORT | Character(10) | VARCHAR2(10) NOT NULL | Short Description |
11 | CURRENCY_CD1 | Character(3) | VARCHAR2(3) NOT NULL | Currency Code |
12 | AMT_CNTRCT_MAX | Number(27,3) | DECIMAL(26,3) NOT NULL | Maximum Amount of Contract. |