RSF_ACCT_LE_VW(SQL View) |
Index Back |
---|---|
Team Member LeadsLead component team members view for account |
SELECT DISTINCT O.LEAD_ID , O.DESCR50 , O.OPPORTUNITY_ID , O.CUST_SETID , O.BUSINESS_UNIT , O.CUST_ID , O.BO_ID_CUST , O.ROLE_TYPE_ID_CUST , O.PROFILE_CM_SEQ , O.REGION_ID , O.TERRITORY_ID , O.PERSON_ID , S.PERSON_ID , O.INDUSTRY_ID , O.LEAD_SOURCE_ID , %subrec(ADDRESS_SBR, O) , %subrec(RB_MARKET_SBR, O) , %subrec(RB_AUDIT_SBR, COMP) FROM PS_RSF_LEAD O , PS_RSF_LE_SLSREP S , PS_RD_COMPANY COMP , PS_BC BC WHERE O.ROLE_TYPE_ID_CUST <> 9 AND O.LEAD_ID = S.LEAD_ID AND O.BO_ID_CUST = COMP.BO_ID |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | LEAD_ID | Character(15) | VARCHAR2(15) NOT NULL | Used by Sales Force Automation, this field uniquely identifies a Sales Lead. |
2 | DESCR50 | Character(50) | VARCHAR2(50) NOT NULL | Description of length 50 |
3 | OPPORTUNITY_ID | Character(15) | VARCHAR2(15) NOT NULL |
Opportunity ID
Default Value: NEXT |
4 | CUST_SETID | Character(5) | VARCHAR2(5) NOT NULL | Customer Setid |
5 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL |
Business Unit
Default Value: RSF_OPR_DEF_VW.BUSINESS_UNIT Prompt Table: SP_BU_RSF_NONVW |
6 | CUST_ID | Character(15) | VARCHAR2(15) NOT NULL | Customer ID |
7 | BO_ID_CUST | Number(31,0) | DECIMAL(31) NOT NULL | This field stores the Business Object ID for the customer. |
8 | ROLE_TYPE_ID_CUST | Number(12,0) | DECIMAL(12) NOT NULL |
Stores ROLE_TYPE_ID for the customer
Default Value: 2 Prompt Table: RSF_BO_ROLTY_VW |
9 | PROFILE_CM_SEQ | Number(31,0) | DECIMAL(31) NOT NULL |
The Contact Method Profile ID is a key field that is used to reference the details of a Contact Method in various CM tables.
Prompt Table: RSF_ROLE_ADR_VW |
10 | REGION_ID | Character(15) | VARCHAR2(15) NOT NULL |
This field stores the region id value.
Prompt Table: RSF_REGION_VW |
11 | TERRITORY_ID | Character(20) | VARCHAR2(20) NOT NULL |
Territory ID
Prompt Table: RSF_TERRITORY |
12 | PERSON_ID_OWNER | Character(15) | VARCHAR2(15) NOT NULL | Contact Identifier for Treasury Contacts |
13 | PERSON_ID_MBR | Character(15) | VARCHAR2(15) NOT NULL | Contact Identifier for Treasury Contacts |
14 | INDUSTRY_ID | Character(30) | VARCHAR2(30) NOT NULL |
Industry ID.
Prompt Table: RSF_INDUSTRY_VW |
15 | LEAD_SOURCE_ID | Character(15) | VARCHAR2(15) NOT NULL | Used by Sales Force Automation to identify the source of a Sales Lead. |
16 | COUNTRY | Character(3) | VARCHAR2(3) NOT NULL |
Country
Prompt Table: COUNTRY_TBL |
17 | ADDRESS1 | Character(55) | VARCHAR2(55) NOT NULL | Address 1 |
18 | ADDRESS2 | Character(55) | VARCHAR2(55) NOT NULL | Address 2 |
19 | ADDRESS3 | Character(55) | VARCHAR2(55) NOT NULL | Address 3 |
20 | ADDRESS4 | Character(55) | VARCHAR2(55) NOT NULL | Address 4 |
21 | CITY | Character(30) | VARCHAR2(30) NOT NULL | City |
22 | NUM1 | Character(6) | VARCHAR2(6) NOT NULL | Number 1 |
23 | NUM2 | Character(4) | VARCHAR2(4) NOT NULL | Number 2 |
24 | HOUSE_TYPE | Character(2) | VARCHAR2(2) NOT NULL |
House Type
AB=House Boat Reference WW=House Trailer Reference |
25 | ADDR_FIELD1 | Character(2) | VARCHAR2(2) NOT NULL | Address Field 1 |
26 | ADDR_FIELD2 | Character(4) | VARCHAR2(4) NOT NULL | Address Field 2 |
27 | ADDR_FIELD3 | Character(4) | VARCHAR2(4) NOT NULL | Address Field 3 |
28 | COUNTY | Character(30) | VARCHAR2(30) NOT NULL | County |
29 | STATE | Character(6) | VARCHAR2(6) NOT NULL |
State
Prompt Table: %EDIT_STATE |
30 | POSTAL | Character(12) | VARCHAR2(12) NOT NULL | Postal |
31 | GEO_CODE | Character(11) | VARCHAR2(11) NOT NULL | Geo Code |
32 | IN_CITY_LIMIT | Character(1) | VARCHAR2(1) NOT NULL |
In City Limit
Y/N Table Edit Default Value: Y |
33 | MARKET | Character(3) | VARCHAR2(3) NOT NULL | Market |
34 | ROW_ADDED_DTTM | DateTime(26) | TIMESTAMP | This is a datetime field for record creation. |
35 | ROW_ADDED_OPRID | Character(30) | VARCHAR2(30) NOT NULL | ID of user who added the row. |
36 | ROW_LASTMANT_DTTM | DateTime(26) | TIMESTAMP | The date and time that the row was last updated. |
37 | ROW_LASTMANT_OPRID | Character(30) | VARCHAR2(30) NOT NULL | ID of user who last modified the row. |
38 | SYNCID | Number(10,0) | DECIMAL(10) NOT NULL | The Synchronization ID field stores a value generated by the sync processor. The value is used to identify the type of object that the sync processor is about to handle. |
39 | SYNCDTTM | DateTime(26) | TIMESTAMP | Synchronization Last Update Date Time |