RC_RMA_ADDR_VW2

(SQL View)
Index Back

RMA Address CM View


SELECT DISTINCT A.BO_ID , A.ROLE_TYPE_ID , A.PROFILE_CM_SEQ , A.PRIMARY_IND , A.ADDRESS1 , A.ADDRESS2 , A.ADDRESS3 , A.ADDRESS4 , A.CITY , A.STATE , A.POSTAL , A.COUNTRY FROM PS_BO_ROLECM_ADDR A , PS_BC_FLAGS_VW B WHERE A.CM_TYPE_ID = 1 AND A.BO_ID = B.BO_ID AND A.ROLE_START_DT <= %CurrentDateIn AND A.ROLE_END_DT > %CurrentDateIn AND A.BO_CM_START_DT <= %CurrentDateIn AND A.BO_CM_END_DT > %CurrentDateIn AND A.CM_USE_START_DT <= %CurrentDateIn AND A.CM_USE_END_DT > %CurrentDateIn

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BO_ID_CONTACT Number(31,0) DECIMAL(31) NOT NULL This field indicates the Business Object ID for the contact.
2 ROLE_TYPE_ID_CNTCT Number(12,0) DECIMAL(12) NOT NULL Stores ROLE_TYPE_ID for the contact
3 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.
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 STATE Character(6) VARCHAR2(6) NOT NULL State
11 POSTAL Character(12) VARCHAR2(12) NOT NULL Postal
12 COUNTRY Character(3) VARCHAR2(3) NOT NULL Country