CS_CNTRCT_ID_VW

(SQL View)
Index Back

Contract ID View


SELECT DISTINCT a.SETID , a.CNTRCT_ID , a.CNTRCT_PROC_OPT , a.VENDOR_SETID , a.VENDOR_ID , b.VENDOR_NAME_SHORT , a.CNTRCT_EXPIRE_DT , a.CNTRCT_STATUS , a.MSTR_CNTRCT_ID FROM PS_CNTRCT_HDR a , PS_VENDOR b WHERE a.vendor_setid = b.setid AND a.vendor_id = b.vendor_id AND a.CNTRCT_STATUS IN ('A','H','O') AND a.VERSION_STATUS = 'C'

  • Related Language Record: CS_CNTRCTID_LNG
  • # 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 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
    4 VENDOR_SETID Character(5) VARCHAR2(5) NOT NULL Vendor SetID
    5 VENDOR_ID Character(10) VARCHAR2(10) NOT NULL Vendor Identifier

    Default Value: VNDRSHRT_SET_VW.VENDOR_ID

    Prompt Table: VENDOR_SET_VW

    6 VENDOR_NAME_SHORT Character(14) VARCHAR2(14) NOT NULL Short Vendor Name
    7 CNTRCT_EXPIRE_DT Date(10) DATE Expire Date
    8 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

    9 MSTR_CNTRCT_ID Character(10) VARCHAR2(10) NOT NULL Master Contract ID

    Prompt Table: CNTRCT_MSTR