CA_CON_SRCH_VW

(SQL View)
Index Back

Contract Header Search View

Created based on CA_CNTR_SRCH_VW and removed the reference to CUST_ADDRESS becuase a customer can have multiple effective addresses.

SELECT HDR.BUSINESS_UNIT , HDR.CONTRACT_NUM , HDR.DESCR , HDR.SOLD_TO_CUST_ID , CUST.NAME1 , HDR.CA_STATUS , HDR.CA_PROC_STATUS , HDR.CONTRACT_TYPE , HDR.CA_RQST_SRC , HDR.REGION_CD , HDR.CONTRACT_ADMIN , HDR.MAST_CONTR_ID FROM PS_CA_CONTR_HDR HDR , PS_CUST_SLD_INV_VW CUST , PS_SET_CNTRL_GROUP GRP WHERE HDR.SOLD_TO_CUST_ID = CUST.CUST_ID AND HDR.BUSINESS_UNIT = GRP.SETCNTRLVALUE AND GRP.REC_GROUP_ID = 'FS_23' AND GRP.SETID = CUST.SETID AND HDR.CA_RQST_SRC <> 'OND'

  • Related Language Record: CA_CNTR_S_LG_VW
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit

    Default Value: OPR_DEF_TBL_CA.BUSINESS_UNIT

    Prompt Table: SP_BU_CA_NONVW

    2 CONTRACT_NUM Character(25) VARCHAR2(25) NOT NULL Contract

    Default Value: NEXT

    3 DESCR Character(30) VARCHAR2(30) NOT NULL Description
    4 SOLD_TO_CUST_ID Character(15) VARCHAR2(15) NOT NULL Sold To Customer

    Prompt Table: CUST_SLD_VW

    5 NAME1 Character(40) VARCHAR2(40) NOT NULL Name 1
    6 CA_STATUS Character(24) VARCHAR2(24) NOT NULL Contract Status

    Prompt Table: CA_STATUS_VW

    7 CA_PROC_STATUS Character(1) VARCHAR2(1) NOT NULL CA_STATUS is a user defined status field that maps (many to 1) to the contract Processing Status field. Process Status indicates what change processing is available.
    A=Active
    C=Closed
    P=Pending
    8 CONTRACT_TYPE Character(15) VARCHAR2(15) NOT NULL Contract Type

    Prompt Table: CA_TYPE_TBL
    Set Control Field: BUSINESS_UNIT

    9 CA_RQST_SRC Character(3) VARCHAR2(3) NOT NULL Contract Classification
    FED=Federal Reimbursable Agreement
    GEN=Generic Application
    GOV=Government
    INT=Internal
    OND=CRM Field Services On Demand
    STD=Standard
    10 REGION_CD Character(10) VARCHAR2(10) NOT NULL Identifies the Sales Region. Populated on the Item Table to identify the Sales Region the Item is applied to.

    Prompt Table: CA_REGION_CD_VW
    Set Control Field: BUSINESS_UNIT

    11 CONTRACT_ADMIN Character(40) VARCHAR2(40) NOT NULL Contract Administrator defined on CABU.

    Prompt Table: MEMBER_VW

    12 MAST_CONTR_ID Character(25) VARCHAR2(25) NOT NULL Master Contract #

    Prompt Table: CA_MASTER_VW