RF_RMA_ADDR_VW

(SQL View)
Index Back

RMA Address CM View

Used to display the ship-to current address.

SELECT A.BO_ID , A.PROFILE_CM_SEQ , A.CM_ID , A.PRIMARY_IND , A.ADDRESS1 , A.ADDRESS2 , A.ADDRESS3 , A.ADDRESS4 , A.CITY , A.ADDRESS1_AC , A.ADDRESS2_AC , A.ADDRESS3_AC , A.ADDRESS4_AC , A.CITY_AC , A.STATE , A.POSTAL , A.COUNTRY , %TrimSubstr(A.ADDRESS1,1,31) %Concat ' ' %Concat %TrimSubstr(A.CITY,1,10) %Concat ' ' %Concat %TrimSubstr(A.STATE,1,3) %Concat ' ' %Concat %TrimSubstr(A.COUNTRY,1,3) FROM PS_BO_ROLECM_CSHIP A

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BO_ID_CUST Number(31,0) DECIMAL(31) NOT NULL This field stores the Business Object ID for the customer.
2 PROFILE_CM_SEQ_ADD Number(31,0) DECIMAL(31) NOT NULL This field is used to store the profile contact method sequence number for an address.
3 CM_ID Number(31,0) DECIMAL(31) NOT NULL Contact Method ID
4 PRIMARY_IND Character(1) VARCHAR2(1) NOT NULL Flag that indicates whether or not it is Primary
N=No
Y=Yes
5 ADDRESS1 Character(55) VARCHAR2(55) NOT NULL Address 1
6 ADDRESS2 Character(55) VARCHAR2(55) NOT NULL Address 2
7 ADDRESS3 Character(55) VARCHAR2(55) NOT NULL Address 3
8 ADDRESS4 Character(55) VARCHAR2(55) NOT NULL Address 4
9 CITY Character(30) VARCHAR2(30) NOT NULL City
10 ADDRESS1_AC Character(55) VARCHAR2(55) NOT NULL ADDRESS1_AC
11 ADDRESS2_AC Character(55) VARCHAR2(55) NOT NULL ADDRESS2_AC
12 ADDRESS3_AC Character(55) VARCHAR2(55) NOT NULL ADDRESS3_AC
13 ADDRESS4_AC Character(55) VARCHAR2(55) NOT NULL Alternate Character Address 4.
14 CITY_AC Character(30) VARCHAR2(30) NOT NULL CITY_AC
15 STATE Character(6) VARCHAR2(6) NOT NULL State
16 POSTAL Character(12) VARCHAR2(12) NOT NULL Postal
17 COUNTRY Character(3) VARCHAR2(3) NOT NULL Country
18 ADDRESS50 Character(50) VARCHAR2(50) NOT NULL Address