CUST_ADD_BI_LNG

(SQL View)
Index Back

Customer Billing Addresses

Date Init. Issue # Description 09/18/01 JJM Rel Lang Tbls Created View as Rel Lang Vw

SELECT a.setid , a.cust_id , a.address_seq_num , b.language_cd , a.descr , b.alt_name1 , b.alt_name2 FROM ps_cust_addr_seq a , PS_CUST_ADDRESS b WHERE a.setid = b.setid AND a.cust_id= b.cust_id AND a.address_seq_num = b.address_seq_num AND a.bill_to_addr = 'Y' AND %EffdtCheck(cust_address, b, %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

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.

Prompt Table: CUSTOMER

3 ADDRESS_SEQ_NUM Number(5,0) INTEGER NOT NULL Address Sequence Number
4 LANGUAGE_CD Character(3) VARCHAR2(3) NOT NULL Language Code
5 DESCR Character(30) VARCHAR2(30) NOT NULL Description
6 ALT_NAME1 Character(40) VARCHAR2(40) NOT NULL Alternate Name 1
7 ALT_NAME2 Character(40) VARCHAR2(40) NOT NULL Alternate Name 2