RB_BUS_CNT_VW(SQL View) |
Index Back |
---|---|
Business Contact viewBusiness Contact view for Company SES |
SELECT C.BO_ID ,B.ROLE_TYPE_ID_1 , A.SETID , A.COMPANYID , C.PERSON_ID , A.BO_ID ,E.BO_NAME ,F.CUST_STATUS ,G.XLATLONGNAME FROM PS_RD_COMPANY A , PS_BO_REL B , PS_RD_PERSON C ,PS_BO_NAME E ,PS_BC F ,PSXLATITEM G WHERE A.BO_ID = B.BO_ID_2 AND B.BO_ID_1 = C.BO_ID AND B.ROLE_TYPE_ID_2 = 2 AND B.REL_TYPE_ID IN (9,10) AND B.START_DT <= %CurrentDateIn AND B.END_DT > %CurrentDateIn AND E.BO_ID=A.BO_ID AND F.BO_ID=A.BO_ID AND G.FIELDNAME='CUST_STATUS' AND G.FIELDVALUE=F.CUST_STATUS AND E.PRIMARY_IND='Y' |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BO_ID | Signed Number(32,0) | DECIMAL(31) NOT NULL | Business Object ID |
2 | ROLE_TYPE_ID | Number(12,0) | DECIMAL(12) NOT NULL | Role Type ID |
3 | SETID | Character(5) | VARCHAR2(5) NOT NULL | This field is used to store the value of SetID on various setup tables. |
4 | COMPANYID | Character(15) | VARCHAR2(15) NOT NULL | Company ID |
5 | PERSON_ID | Character(15) | VARCHAR2(15) NOT NULL | Person ID |
6 | BO_ID_1 | Signed Number(32,0) | DECIMAL(31) NOT NULL | Business Object ID 1 |
7 | COMPANY_NAME | Character(70) | VARCHAR2(70) NOT NULL | Company Name |
8 | CUST_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
Customer Status Indicator. BC.CUST_STATUS
A=Active I=Inactive |
9 | STATUS_DESCR | Character(50) | VARCHAR2(50) NOT NULL | Field used to show the status description. Field used as edit box. |