RSFM_COMPANY_VW(SQL View) |
Index Back |
---|---|
Sales CompaniesSales Companies for a Sales User |
SELECT SU.PERSON_ID , SU.BUSINESS_UNIT , A.SETID , A.COMPANYID , B.BO_ID , B.BO_NAME , B.BO_NAME_UPPER , A.BO_ID_PARENT , C.BO_TYPE_ID , B.SEQ_NBR , B.NAME_TYPE , B.PRIMARY_IND , A.MARKET , %subrec(RB_AUDIT_SBR, A) FROM PS_RD_COMPANY A , PS_BO_NAME B , PS_BO C , PS_RSF_SUSER SU , PS_SET_CNTRL_REC SC WHERE SC.SETCNTRLVALUE = SU.BUSINESS_UNIT AND SC.SETID = A.SETID AND SC.RECNAME = 'RD_COMPANY' AND A.BO_ID = B.BO_ID AND A.BO_ID= C.BO_ID AND B.BO_ID= C.BO_ID |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | PERSON_ID | Character(15) | VARCHAR2(15) NOT NULL | Person ID |
2 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL |
Business Unit
Prompt Table: SP_BU_RSF_NONVW |
3 | SETID | Character(5) | VARCHAR2(5) NOT NULL |
This field is used to store the value of SetID on various setup tables.
Default Value: OPR_DEF_TBL_RB.SETID Prompt Table: SP_SETID_NONVW |
4 | COMPANYID | Character(15) | VARCHAR2(15) NOT NULL |
Company ID
Default Value: NEXT |
5 | BO_ID | Signed Number(32,0) | DECIMAL(31) NOT NULL |
Business Object ID
Prompt Table: BO |
6 | BO_NAME | Character(50) | VARCHAR2(50) NOT NULL | Name Description of Business Object |
7 | BO_NAME_UPPER | Character(50) | VARCHAR2(50) NOT NULL | Name Description of Business Object |
8 | BO_ID_PARENT | Number(31,0) | DECIMAL(31) NOT NULL |
Business Object ID of the Parent Company.
Prompt Table: RB_COMP_SRCH_VW |
9 | BO_TYPE_ID | Number(6,0) | INTEGER NOT NULL |
ID Type
Default Value: BO.BO_TYPE_ID Prompt Table: BO_TYPE |
10 | SEQ_NBR | Number(15,0) | DECIMAL(15) NOT NULL | Sequence Number |
11 | NAME_TYPE | Character(15) | VARCHAR2(15) NOT NULL |
Business Object Name Type
Prompt Table: BO_NAME_TYPE |
12 | PRIMARY_IND | Character(1) | VARCHAR2(1) NOT NULL |
Flag that indicates whether or not it is Primary
N=No Y=Yes Y/N Table Edit |
13 | MARKET | Character(3) | VARCHAR2(3) NOT NULL | Market |
14 | ROW_ADDED_DTTM | DateTime(26) | TIMESTAMP | This is a datetime field for record creation. |
15 | ROW_ADDED_OPRID | Character(30) | VARCHAR2(30) NOT NULL | ID of user who added the row. |
16 | ROW_LASTMANT_DTTM | DateTime(26) | TIMESTAMP | The date and time that the row was last updated. |
17 | ROW_LASTMANT_OPRID | Character(30) | VARCHAR2(30) NOT NULL | ID of user who last modified the row. |
18 | 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. |
19 | SYNCDTTM | DateTime(26) | TIMESTAMP | Synchronization Last Update Date Time |