RSFM_CAPTURE_VW(SQL View) |
Index Back |
---|---|
Mobile Quotes/Orders RuleMobile Quotes/Orders Rule. Used by Mobile Sales. |
SELECT DISTINCT B.CAPTURE_ID , A.PERSON_ID , B.BUSINESS_UNIT , B.ROW_ADDED_OPRID , B.ROW_LASTMANT_OPRID , B.CAPTURE_DATE , B.ROW_LASTMANT_DTTM , B.SYNCID , B.SYNCDTTM FROM PS_RSF_SUSER A , PS_RO_HEADER B WHERE A.BUSINESS_UNIT = B.BUSINESS_UNIT AND B.CAPTURE_TYPE_CD IN ('QUO' , 'SO') AND B.CAPTURE_ID IN ( SELECT C.CAPTURE_ID FROM PS_RO_ASSOCIATION C WHERE (C.TYPE = 'ROPP' AND C.OPPORTUNITY_ID <> ' ' AND C.OPPORTUNITY_ID = ( SELECT D.OPPORTUNITY_ID FROM PS_RSF_OPPORTUNITY D WHERE C.OPPORTUNITY_ID = D.OPPORTUNITY_ID AND D.PERSON_ID = A.PERSON_ID)) OR (C.TYPE = 'SL' AND C.LEAD_ID <> ' ') AND C.LEAD_ID = ( SELECT E.LEAD_ID FROM PS_RSF_LEAD E WHERE E.LEAD_ID = C.LEAD_ID AND E.PERSON_ID = A.PERSON_ID)) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | CAPTURE_ID | Character(20) | VARCHAR2(20) NOT NULL | Field use to store the capture ID in order capture. |
2 | PERSON_ID | Character(15) | VARCHAR2(15) NOT NULL | Person ID |
3 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
4 | ROW_ADDED_OPRID | Character(30) | VARCHAR2(30) NOT NULL | ID of user who added the row. |
5 | ROW_LASTMANT_OPRID | Character(30) | VARCHAR2(30) NOT NULL | ID of user who last modified the row. |
6 | CAPTURE_DATE | Date(10) | DATE | Order capture date used for orders and quotes |
7 | ROW_LASTMANT_DTTM | DateTime(26) | TIMESTAMP | The date and time that the row was last updated. |
8 | 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. |
9 | SYNCDTTM | DateTime(26) | TIMESTAMP | Synchronization Last Update Date Time |