RSFD_PLQSM_M_VW(SQL View) |
Index Back |
---|---|
Segment Quota ManagerView of pipeline sales user quotas summed by manager. |
SELECT MGR.PERSON_ID , Q.PIPELINE_SEGMENT , INST.PT_CDB_DEF_CUR_CD , %Round(SUM(%DecMult(INST_MULT , Q.SEGMENT_AMOUNT)),0) , SUM(Q.SEGMENT_COUNT) FROM PS_RSF_SUSER MGR , PS_RSF_QS Q , PS_RBD_CURRT CUR , PSCDBINSTALL INST WHERE MGR.PERSON_ID = Q.PERSON_ID AND MGR.SEG_QUOTA_TYPE = 'M' AND Q.CURRENCY_CD = CUR.CURRENCY_CD GROUP BY MGR.PERSON_ID, Q.PIPELINE_SEGMENT, INST.PT_CDB_DEF_CUR_CD |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | PERSON_ID_MANAGER | Character(15) | VARCHAR2(15) NOT NULL | Contact Identifier for Treasury Contacts |
2 | PIPELINE_SEGMENT | Character(15) | VARCHAR2(15) NOT NULL | Segment corresponds to sales stage. |
3 | CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | This field stores the Currency Code value. |
4 | SEGMENT_AMOUNT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Segment Amount |
5 | OPPORTUNITY_COUNT | Signed Number(10,0) | DECIMAL(9) NOT NULL | Opportunity Count |