PC_CONTRACT_VW

(SQL View)
Index Back

Contract Header Search View

This view is used for Contract Num prompting on INTFC_PROJ_RES.

SELECT HDR.CONTRACT_NUM , HDR.SOLD_TO_CUST_ID , CUST.NAME1 , HDR.BUSINESS_UNIT , HDR.CA_STATUS FROM PS_CA_CONTR_HDR HDR ,PS_CUSTOMER CUST WHERE HDR.CA_RQST_SRC <> 'OND' AND HDR.SOLD_TO_CUST_ID = CUST.CUST_ID AND CUST.SETID = ( SELECT REC.SETID FROM PS_SET_CNTRL_REC REC WHERE REC.SETCNTRLVALUE = HDR.BUSINESS_UNIT AND REC.RECNAME = 'CUSTOMER') AND CUST.SOLD_TO_FLG = 'Y' AND CUST.CUST_STATUS = 'A'

  • Related Language Record: CA_CONTR_LG_VW
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 CONTRACT_NUM Character(25) VARCHAR2(25) NOT NULL Contract
    2 SOLD_TO_CUST_ID Character(15) VARCHAR2(15) NOT NULL Sold To Customer
    3 NAME1 Character(40) VARCHAR2(40) NOT NULL Name 1

    Prompt Table: CUST_SLD_VW

    4 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit

    Default Value: OPR_DEF_TBL_CA.BUSINESS_UNIT

    Prompt Table: CA_BUS_UNIT_VW

    5 CA_STATUS Character(24) VARCHAR2(24) NOT NULL Contract Status