CNTRCT_COPY_VW

(SQL View)
Index Back

Contract Search for PO's


SELECT A.SETID , A.CNTRCT_ID , A.VERSION_NBR , A.VENDOR_ID , B.VENDOR_NAME_SHORT , A.MSTR_CNTRCT_ID , A.ALLOW_OPEN_ITEM , A.VNDR_CNTRCT_REF , A.CNTRCT_STATUS , A.DESCR , A.CNTRCT_EXPIRE_DT , A.CNTRCT_PROC_OPT FROM PS_CNTRCT_HDR A , PS_VENDOR B WHERE A.VERSION_STATUS = 'C' AND A.VENDOR_SETID = B.SETID AND A.VENDOR_ID = B.VENDOR_ID AND B.VENDOR_STATUS = 'A'

# 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 VERSION_NBR Number(5,0) INTEGER NOT NULL Contract Version number
4 VENDOR_CNTRCT Character(10) VARCHAR2(10) NOT NULL Supplier ID
5 VENDOR_NAME_SHORT Character(14) VARCHAR2(14) NOT NULL Short Vendor Name

Prompt Table: VENDOR_PO_NM_VW

6 MSTR_CNTRCT_ID Character(10) VARCHAR2(10) NOT NULL Master Contract ID
7 ALLOW_OPEN_ITEM Character(1) VARCHAR2(1) NOT NULL Allow Open Item Reference
N=No
Y=Yes

Y/N Table Edit

8 VNDR_CNTRCT_REF Character(30) VARCHAR2(30) NOT NULL Supplier Contract Ref
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

Default Value: O

10 DESCR Character(30) VARCHAR2(30) NOT NULL Description
11 CNTRCT_EXPIRE_DT Date(10) DATE Expire Date
12 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