RSF_FCAST_D_VW(SQL View) |
Index Back |
---|---|
Forecast DetailUsed for grouping and totalling |
SELECT D.FORECAST_ID , D.TIMEFRAME_PERIOD , D.FORECAST_CATEGORY , D.PERSON_ID , D.SEQNUM , U.FORECAST_SUBMITTED , D.SALES_USER_NAME , D.PERSON_ID_ADJUSTBY , D.ADJUSTBY_NAME , D.FORECAST_DT , D.FORECAST_TYPE , D.FORECASTTYPEDESCR , D.FROM_REVENUE , D.FROM_CUR , %DateOut(D.EST_CLOSE_DT) , D.CONFIDENCE_PCT , D.OPPORTUNITY_ID , D.OPPORTUNITY_NAME , D.OPPORTUNITY_STATUS , D.OPPSTATUSDESCR , D.SALES_MODEL , D.SALESMODELDESCR , D.SALES_STAGE , D.SALESSTAGEDESCR , D.STAGE_PCT_CLOSE , D.BUSINESS_UNIT , D.BUSINESSUNITDESCR , D.CUST_SETID , D.ROLE_TYPE_ID_CUST , D.ROLE_TYPE_NAME , D.BO_ID_CUST , D.NAME1 , D.PROD_SETID , D.PRODUCT_GROUP , D.PRODGROUPDESCR , D.PRODUCT_ID , D.PRODUCTDESCR , D.REVENUE_TYPE , D.REVENUETYPEDESCR , RT.REVENUE_DIMENSION1 , RT.REVENUE_DIMENSION2 , D.REGION_ID , D.REGIONDESCR , D.TREE_NAME , D.TERRITORY_ID , D.TERRITORYDESCR , D.INDUSTRY_ID , D.INDUSTRYDESCR , D.RECUR_FLAG , D.RECUR_PERIOD_NO , D.RECUR_PERIODS , D.COMMENTS_254 , D.SYNCID , D.SYNCDTTM FROM PS_RSF_FCAST_USER U , PS_RSF_FCAST_DTL D , PS_RSF_REV_TYPE RT WHERE D.REVENUE_TYPE = RT.REVENUE_TYPE (+) AND D.FORECAST_ID = U.FORECAST_ID AND D.TIMEFRAME_PERIOD = U.TIMEFRAME_PERIOD AND D.FORECAST_CATEGORY = U.FORECAST_CATEGORY AND D.PERSON_ID = U.PERSON_ID |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | FORECAST_ID | Character(15) | VARCHAR2(15) NOT NULL | Forecast Name |
2 | TIMEFRAME_PERIOD | Character(32) | VARCHAR2(32) NOT NULL | Time Frame |
3 | FORECAST_CATEGORY | Character(1) | VARCHAR2(1) NOT NULL |
Forecast Category
R=Revenue Forecast S=Shadow Forecast |
4 | PERSON_ID | Character(15) | VARCHAR2(15) NOT NULL | Person ID |
5 | SEQNUM | Number(3,0) | SMALLINT NOT NULL | Sequence Number |
6 | FORECAST_SUBMITTED | Character(1) | VARCHAR2(1) NOT NULL |
Submit status for forecast.
N=No Y=Yes |
7 | SALES_USER_NAME | Character(50) | VARCHAR2(50) NOT NULL | Sales User Name field |
8 | PERSON_ID_ADJUSTBY | Character(15) | VARCHAR2(15) NOT NULL | Person id of person who adjusted a forecast. |
9 | ADJUSTBY_NAME | Character(50) | VARCHAR2(50) NOT NULL | User who made forecast ajustment |
10 | FORECAST_DT | Date(10) | DATE | Date when forecast. The date the entire forecast was begun does not change, but the date per user does change with updates. |
11 | FORECAST_TYPE | Character(10) | VARCHAR2(10) NOT NULL |
Type of forecast, eg 'Open' or 'closed'
Prompt Table: RSF_FCAST_TF_VW |
12 | FORECASTTYPEDESCR | Character(30) | VARCHAR2(30) NOT NULL | Forecast Type Description |
13 | FROM_REVENUE | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | From Revenue For Forecast Comparison Ace Report |
14 | FROM_CUR | Character(3) | VARCHAR2(3) NOT NULL |
From Currency Code
Prompt Table: CURRENCY_CD_TBL |
15 | EST_CLOSE_DT | Date(10) | DATE | Estimated Close Date of an Opportunity |
16 | CONFIDENCE_PCT | Number(3,0) | SMALLINT NOT NULL | Confidence Percentage |
17 | OPPORTUNITY_ID | Character(15) | VARCHAR2(15) NOT NULL | Opportunity ID |
18 | OPPORTUNITY_NAME | Character(50) | VARCHAR2(50) NOT NULL | Opportunity Name - User Enters this field in Mixed Case. |
19 | OPPORTUNITY_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
Opportunity Status. The values are XLat Values
0=Open 1=Closed - Lost 2=Closed - Won 3=Inactive |
20 | OPPSTATUSDESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
21 | SALES_MODEL | Character(18) | VARCHAR2(18) NOT NULL | Sales Model Id |
22 | SALESMODELDESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
23 | SALES_STAGE | Character(24) | VARCHAR2(24) NOT NULL | Sales Stage Identifier |
24 | SALESSTAGEDESCR | Character(50) | VARCHAR2(50) NOT NULL | Description |
25 | STAGE_PCT_CLOSE | Number(3,0) | SMALLINT NOT NULL | To indicate a % of how much a stage is completed |
26 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL |
Business Unit
Prompt Table: SP_BU_RSF_NONVW |
27 | BUSINESSUNITDESCR | Character(30) | VARCHAR2(30) NOT NULL | Business Unit Description |
28 | CUST_SETID | Character(5) | VARCHAR2(5) NOT NULL | Customer Setid |
29 | ROLE_TYPE_ID_CUST | Number(12,0) | DECIMAL(12) NOT NULL | Stores ROLE_TYPE_ID for the customer |
30 | ROLE_TYPE_NAME | Character(30) | VARCHAR2(30) NOT NULL | Role Type Name |
31 | BO_ID_CUST | Number(31,0) | DECIMAL(31) NOT NULL |
This field stores the Business Object ID for the customer.
Prompt Table: RSF_FCAST_CU_VW |
32 | NAME1 | Character(50) | VARCHAR2(50) NOT NULL | Generic 50 character name field for storing names. |
33 | PROD_SETID | Character(5) | VARCHAR2(5) NOT NULL | Product SET ID |
34 | PRODUCT_GROUP | Character(10) | VARCHAR2(10) NOT NULL |
PRoduct Group
Prompt Table: RSF_FCAST_PG_VW |
35 | PRODGROUPDESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
36 | PRODUCT_ID | Character(18) | VARCHAR2(18) NOT NULL |
Product ID
Prompt Table: RSF_FCAST_PI_VW |
37 | PRODUCTDESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
38 | REVENUE_TYPE | Character(15) | VARCHAR2(15) NOT NULL | This field is used to store revenue type related to a product sales and used within forecasting. |
39 | REVENUETYPEDESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
40 | REVENUE_DIMENSION1 | Character(15) | VARCHAR2(15) NOT NULL | Descriptor of revenue category for forecast. |
41 | REVENUE_DIMENSION2 | Character(15) | VARCHAR2(15) NOT NULL | Descriptor of revenue category for forecast. |
42 | REGION_ID | Character(15) | VARCHAR2(15) NOT NULL |
This field stores the region id value.
Prompt Table: RSF_FCAST_RG_VW |
43 | REGIONDESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
44 | TREE_NAME | Character(18) | VARCHAR2(18) NOT NULL |
Tree Name
Default Value: RSF_OPR_DEF_VW.TREE_NAME Prompt Table: RSF_OPR_TREE_VW |
45 | TERRITORY_ID | Character(20) | VARCHAR2(20) NOT NULL |
Territory ID
Prompt Table: RSF_FCAST_TR_VW |
46 | TERRITORYDESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
47 | INDUSTRY_ID | Character(30) | VARCHAR2(30) NOT NULL |
Industry ID.
Prompt Table: RSF_FCAST_IN_VW |
48 | INDUSTRYDESCR | Character(50) | VARCHAR2(50) NOT NULL | Description |
49 | RECUR_FLAG | Character(1) | VARCHAR2(1) NOT NULL |
Identifies if a revenue flow is one of a set of recurring.
N=Non-Recuring Revenue Y=Recurring Revenue |
50 | RECUR_PERIOD_NO | Character(5) | VARCHAR2(5) NOT NULL | The specific recurring period of this revenue flow. |
51 | RECUR_PERIODS | Number(5,0) | INTEGER NOT NULL | Number of periods of recurring price. That is, if a monthly payment plan, how many months of payment. |
52 | COMMENTS_254 | Character(254) | VARCHAR2(254) NOT NULL | Comments |
53 | 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. |
54 | SYNCDTTM | DateTime(26) | TIMESTAMP | Synchronization Last Update Date Time |