VED_CNTRCT_VW2

(SQL View)
Index Back

Vchr Edit Contract View


SELECT A.BUSINESS_UNIT_AP , A.VENDOR_SETID , A.VENDOR_ID , A.CNTRCT_ID , B.VENDOR_NAME_SHORT , A.CNTRCT_STATUS , A.DESCR FROM PS_CNTRCT_HDR A , PS_VENDOR B WHERE B.SETID = A.VENDOR_SETID AND B.VENDOR_ID = A.VENDOR_ID AND A.VERSION_NBR = ( SELECT MAX(A2.VERSION_NBR) FROM PS_CNTRCT_HDR A2 WHERE A2.SETID = A.SETID AND A2.CNTRCT_ID = A.CNTRCT_ID)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
2 VENDOR_SETID Character(5) VARCHAR2(5) NOT NULL Vendor SetID
3 VENDOR_ID Character(10) VARCHAR2(10) NOT NULL Vendor Identifier
4 CNTRCT_ID Character(25) VARCHAR2(25) NOT NULL Buying Agreement ID
5 VENDOR_NAME_SHORT Character(14) VARCHAR2(14) NOT NULL Short Vendor Name
6 CNTRCT_STATUS Character(1) VARCHAR2(1) NOT NULL Contract Status
A=Approved
C=Closed
H=On-Hold
O=Open
P=Pre-Approved
X=Canceled
7 DESCR Character(30) VARCHAR2(30) NOT NULL Description