GM_CUST_ADD_VW

(SQL View)
Index Back

Customer ship to address view


SELECT A.SETID , A.CUST_ID , A.ADDRESS_SEQ_NUM , B.ADDRESS1 , B.CITY , B.STATE , B.POSTAL FROM PS_CUSTOMER A , PS_CUST_ADDRESS B WHERE A.setid = B.setid AND A.cust_id = B.cust_id AND %EffdtCheck(CUST_ADDRESS,B,%currentdatein) AND B.eff_status='A' AND A.SOLD_TO_FLG = 'Y' AND A.CUST_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.
3 ADDRESS_SEQ_NUM Number(5,0) INTEGER NOT NULL Address Sequence Number
4 ADDRESS1 Character(55) VARCHAR2(55) NOT NULL Address 1
5 CITY Character(30) VARCHAR2(30) NOT NULL City
6 STATE Character(6) VARCHAR2(6) NOT NULL State
7 POSTAL Character(12) VARCHAR2(12) NOT NULL Postal