CNTRCT_EVT_SRCH

(SQL View)
Index Back

Contract Event Inq Search View

06/25/2008 PKL F-AHAYT-S60K7 Contract Enhancements

SELECT DISTINCT a.SETID , a.CNTRCT_ID , a.VERSION_NBR , a.VENDOR_SETID , a.VENDOR_ID , b.VENDOR_NAME_SHORT , a.CNTRCT_STATUS , a.CNTRCT_TYPE ,a.Cntrct_Style ,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 A.Cntrct_Proc_Opt NOT IN( 'MFG', 'DST','GRPS','GRPM','SPP') UNION ALL SELECT DISTINCT a.SETID , a.CNTRCT_ID , a.VERSION_NBR , a.VENDOR_SETID , a.VENDOR_ID , b.VENDOR_NAME_SHORT , a.CNTRCT_STATUS , a.CNTRCT_TYPE ,a.Cntrct_Style ,a.Cntrct_Proc_Opt FROM PS_CNTRCT_HDR a , PS_VENDOR b ,PS_CNTRCT_HDR C ,PS_CNTRCT_MFG_DST D WHERE a.version_status = 'C' AND a.vendor_setid = b.setid AND a.vendor_id = b.vendor_id AND A.Cntrct_Proc_Opt ='MFG'

# 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
3 VERSION_NBR Number(5,0) INTEGER NOT NULL Contract Version number
4 VENDOR_SETID Character(5) VARCHAR2(5) NOT NULL Vendor SetID
5 VENDOR_ID Character(10) VARCHAR2(10) NOT NULL Vendor Identifier

Default Value: VENDOR_SHRT_VW.VENDOR_ID

Prompt Table: VENDOR_VW

6 VENDOR_NAME_SHORT Character(14) VARCHAR2(14) NOT NULL Short Vendor Name

Prompt Table: VNDR_SHRT_VWC

7 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

8 CNTRCT_TYPE Character(2) VARCHAR2(2) NOT NULL Contract Type
AP=Recurring Voucher
GN=General Contract
MS=Master Contract
PO=Purchase Order
9 CNTRCT_STYLE Character(10) VARCHAR2(10) NOT NULL Contract Style

Prompt Table: CNTRCT_CL_VW

10 CNTRCT_PROC_OPTN Character(4) VARCHAR2(4) NOT NULL Contract Process Option
AP=Recurring Voucher
BPO=Release to Single PO Only
GN=General Contract
MFG=Manufacturer
PADV=Prepaid Voucher w/ Advance PO
PO=Purchase Order
PPAY=Prepaid Voucher
RPOV=Recurring PO Voucher