RC_RMA_SITE_VW2(SQL View) |
Index Back |
---|---|
RMA Site Address View |
SELECT A.SETID , A.SITE_ID , A.PROFILE_CM_SEQ , A.CM_ID , A.BO_ID_PARENT , A.PRIMARY_IND , A.ADDRESS1 , A.ADDRESS2 , A.ADDRESS3 , A.ADDRESS4 , A.CITY , A.STATE , A.POSTAL , A.COUNTRY FROM PS_BO_SITECM_CADDR A WHERE EXISTS ( SELECT 'X' FROM PS_BO_CM_USE B WHERE B.BO_ID = A.BO_ID AND B.PROFILE_CM_SEQ = A.PROFILE_CM_SEQ AND B.CM_USE_START_DT <= %CurrentDateIn AND B.CM_USE_END_DT > %CurrentDateIn AND B.ROLE_TYPE_ID IN (41,45)) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | SETID | Character(5) | VARCHAR2(5) NOT NULL | This field is used to store the value of SetID on various setup tables. |
2 | SITE_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 | 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 | CM_ID | Number(31,0) | DECIMAL(31) NOT NULL | Contact Method ID |
5 | BO_ID_CUST | Number(31,0) | DECIMAL(31) NOT NULL | This field stores the Business Object ID for the customer. |
6 | PRIMARY_IND | Character(1) | VARCHAR2(1) NOT NULL |
Flag that indicates whether or not it is Primary
N=No Y=Yes |
7 | ADDRESS1 | Character(55) | VARCHAR2(55) NOT NULL | Address 1 |
8 | ADDRESS2 | Character(55) | VARCHAR2(55) NOT NULL | Address 2 |
9 | ADDRESS3 | Character(55) | VARCHAR2(55) NOT NULL | Address 3 |
10 | ADDRESS4 | Character(55) | VARCHAR2(55) NOT NULL | Address 4 |
11 | CITY | Character(30) | VARCHAR2(30) NOT NULL | City |
12 | STATE | Character(6) | VARCHAR2(6) NOT NULL | State |
13 | POSTAL | Character(12) | VARCHAR2(12) NOT NULL | Postal |
14 | COUNTRY | Character(3) | VARCHAR2(3) NOT NULL | Country |