RD_DQ_SITE_VW1(SQL View) |
Index Back |
---|---|
RD_SITE_GS_VWSELECT A.SETID , A.SITE_ID , A.BO_ID , C.BO_NAME , C.BO_NAME_AC , C.BO_NAME , E.CM_NICKNAME , H.CUST_ID , H.CUST_STATUS FROM PS_RD_DQ_SITE_VW A , PS_BO_NAME C , PS_BO_CM E , PS_BO_CM_USE F , PS_BC H WHERE A.BO_ID = H.BO_ID AND A.BO_ID = C.BO_ID AND A.BO_ID = E.BO_ID AND E.CM_TYPE_ID = 1 AND E.BO_CM_START_DT <= %CurrentDateIn AND E.BO_CM_END_DT > %CurrentDateIn AND E.BO_ID = F.BO_ID AND E.PROFILE_CM_SEQ = F.PROFILE_CM_SEQ AND F.BO_CM_USE_TYPE = 'R' AND F.ROLE_TYPE_ID = 3 AND F.PRIMARY_IND = 'Y' AND F.CM_USE_START_DT <= %CurrentDateIn AND F.CM_USE_END_DT > %CurrentDateIn |
SELECT A.SETID , A.SITE_ID , A.BO_ID , B.BO_NAME , B.BO_NAME_AC , B.BO_NAME , C.CM_NICKNAME , E.CUST_ID , E.CUST_STATUS FROM PS_RD_SITE_GS_VW A , PS_BO_NAME B , PS_BO_CM C , PS_BO_CM_USE D , PS_BC E WHERE A.BO_ID = B.BO_ID AND A.BO_ID = C.BO_ID AND A.BO_ID = E.BO_ID AND C.CM_TYPE_ID = 1 AND C.BO_CM_START_DT <= %CurrentDateIn AND C.BO_CM_END_DT > %CurrentDateIn AND C.BO_ID = D.BO_ID AND C.PROFILE_CM_SEQ = D.PROFILE_CM_SEQ AND D.BO_CM_USE_TYPE = 'R' AND D.ROLE_TYPE_ID = 3 AND D.PRIMARY_IND = 'Y' AND D.CM_USE_START_DT <= %CurrentDateIn AND D.CM_USE_END_DT > %CurrentDateIn |
# | 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.
Prompt Table:
SP_SETID_NONVW
|
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 | BO_ID | Signed Number(32,0) | DECIMAL(31) NOT NULL | Business Object ID |
4 | BO_NAME | Character(50) | VARCHAR2(50) NOT NULL | Name Description of Business Object |
5 | BO_NAME_AC | Character(50) | VARCHAR2(50) NOT NULL | Name Description of Business Object |
6 | BO_NAME_PARENT | Character(50) | VARCHAR2(50) NOT NULL | Name Description of Business Object |
7 | CM_NICKNAME | Character(30) | VARCHAR2(30) NOT NULL | Nickname of a Contact Method |
8 | CUST_ID | Character(15) | VARCHAR2(15) NOT NULL | Customer ID |
9 | CUST_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
Customer Status Indicator. BC.CUST_STATUS
A=Active I=Inactive |