OMPB_CC_A1S_VW

(SQL View)
Index Back

Active Corporate Customers


SELECT DISTINCT C.setid , C.cust_id , C.name1 , A.city , A.state , C.name1 FROM PS_CUST_ADDRESS A , ps_customer C WHERE C.cust_status = 'A' AND C.cust_level <> 'P' AND C.setid = A.setid AND C.cust_id = A.cust_id AND %EffdtCheck(cust_address, A, %currentdatein) AND A.eff_status='A'

  • Related Language Record: OMPB_CCVW_LNG
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 SETID Character(5) VARCHAR2(5) NOT NULL SetID

    Prompt Table: SP_SETID_NONVW

    2 CORPORATE_CUST_ID Character(15) VARCHAR2(15) NOT NULL Corporate Customer

    Prompt Table: CUST_CC_A1S_VW

    3 NAME1 Character(40) VARCHAR2(40) NOT NULL Name 1
    4 CITY Character(30) VARCHAR2(30) NOT NULL City
    5 STATE Character(6) VARCHAR2(6) NOT NULL State

    Prompt Table: STATE_TBL

    6 EOEP_CHAR Character(254) VARCHAR2(254) NOT NULL Long field