EOEP_CSTADD_S_L

(SQL View)
Index Back

Ship-To Cust Address

Use as prompt table for Enterprise Pricer

SELECT b.setid , b.cust_id , b.address_seq_num , b.effdt , d.language_cd , c.name1 FROM ps_cust_addr_seq a , PS_CUST_ADDRESS b , ps_customer c , ps_customer_lang d WHERE a.setid=b.setid AND a.cust_id=b.cust_id AND a.address_seq_num=b.address_seq_num AND a.ship_to_addr='Y' AND %Join(COMMON_KEYS, cust_addr_seq a, customer c) AND %Join(common_keys, customer c, customer_lang d)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 SETID Character(5) VARCHAR2(5) NOT NULL SetID
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 ADDRESS_SEQ_SOLD Number(5,0) INTEGER NOT NULL Primary Address - Sold To
4 EFFDT Date(10) DATE Effective Date
5 LANGUAGE_CD Character(3) VARCHAR2(3) NOT NULL Language Code
6 EOEP_CHAR Character(254) VARCHAR2(254) NOT NULL Long field