FO_CUST_CSF_VW

(SQL View)
Index Back

Customer CSFs


SELECT a.setid , a.cust_id , a.fo_csf_id ,b.descr FROM ps_cust_csf a ,PS_FO_CSF_DEFN b WHERE a.fo_csf_id = b.fo_csf_id AND b.effdt = ( SELECT MAX(c.effdt) FROM PS_FO_CSF_DEFN c WHERE c.fo_csf_id = b.fo_csf_id AND c.effdt <= %CurrentDateIn) AND b.eff_status = 'A'

# 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 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.

Prompt Table: CUSTOMER

3 FO_CSF_ID Character(15) VARCHAR2(15) NOT NULL Definition ID

Prompt Table: FO_CSF_DEFN

4 DESCR Character(30) VARCHAR2(30) NOT NULL Description