CUST_PYPLAN_VW

(SQL View)
Index Back

Payment Plan Customers


SELECT C.setid , C.cust_id , C.name1 FROM ps_customer C WHERE C.cust_status = 'A' AND C.bill_to_flg = 'Y' AND EXISTS ( SELECT 'X' FROM PS_PAYMENT_PLAN P WHERE P.SETID = C.SETID AND P.CUST_ID = C.CUST_ID AND P.PAYMENT_PLN_STATUS IN ('A', 'P'))

  • Related Language Record: CUST_VW_LNG2
  • # 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 CUST_ID Character(15) VARCHAR2(15) NOT NULL Uniquely identifies an organizational entity that purchases goods or services from the enterprise. Represents the sold-to customer which is the customer organization that places orders. The CUST_ID may or may not be the same as the identifiers for the bill-to and ship-to locations.
    3 NAME1 Character(40) VARCHAR2(40) NOT NULL Name 1