ZSF_FCST_ITEM_ADJUSTMENT
This table stores all the item level adjustments and supports scenarios such as ADJUST / PULL / PULLNADJUST / DROP
Details
-
Schema: FUSION
-
Object owner: ZSF
-
Object type: TABLE
-
Tablespace: Default
Primary Key
| Name | Columns |
|---|---|
|
ZSF_FCST_ITEM_ADJUSTMENT_PK |
FCST_ITEM_ADJUSTMENT_ID |
Columns
| Name | Datatype | Length | Precision | Not-null | Comments |
|---|---|---|---|---|---|
| FCST_ITEM_ADJUSTMENT_ID | NUMBER | 18 | Yes | Primary key for the table ZSF_FCST_ITEM_ADJUSTMENT which has the item level adjustments | |
| FCST_ITEM_ID | NUMBER | 18 | Foreign key to the zsf_fcst_item_detail table having the fcst items | ||
| FCST_PARTICIPANT_ID | NUMBER | 18 | Foreign key to the zsf_fcst_participant table having the participant information | ||
| ADJUSTED_BY_TERRITORY_ID | NUMBER | 18 | ADJUSTED_BY_TERRITORY_ID | ||
| CUST_PARTY_ID | NUMBER | 18 | Party ID of the owner of the revenue item. This is a foreign key to hz_parties. | ||
| ADJUSTMENT_COMMENT | VARCHAR2 | 2000 | Comments given by the user performing item level adjustment | ||
| ADJUSTMENT_REASON | VARCHAR2 | 360 | Adjustment reason selected by the user performing adjustment. This is a lookup | ||
| LAST_ADJUSTED_RESOURCE_ID | NUMBER | 18 | Resource ID of the user making the last adjustment for the selected item. | ||
| LAST_ADJUSTED_DATE | TIMESTAMP | Date when the item was last adjusted is stored in this column. | |||
| ADJUSTMENT_TYPE | VARCHAR2 | 30 | Type of adjustment, namely ADJUST / PULL / PULLNADJUST / DROP | ||
| CORP_ADJUSTMENT_AMT | NUMBER | Yes | Adjustment amount represented in corporate currency | ||
| CORP_SUB_ADJ_AMT | NUMBER | Yes | Sum of adjustments (delta) done by all the subordinates for this particular item . Used for calculation purpose. | ||
| CORP_BEST_CASE_ADJ_AMT | NUMBER | Yes | Best case adjustment amount amount entered by the user in corporate currency. | ||
| CORP_WORST_CASE_ADJ_AMT | NUMBER | Yes | Worst case adjustment amount entered by the user in corporate currency. | ||
| CORP_SUB_BEST_CASE_ADJ_AMT | NUMBER | Yes | Sum of best case adjustments(delta) done by all subordinates for a particular item. Used for calculation purpose. | ||
| CORP_SUB_WORST_CASE_ADJ_AMT | NUMBER | Yes | Sum of worst case adjustments(delta) done by all subordinates for a particular item. Used for calculation purpose. | ||
| ADJUSTMENT_FILLER_FLAG | VARCHAR2 | 1 | Flag to indicate that this is a filler and not an actual adjustment record. | ||
| WRITE_BACK_ADJ_TO_REVN_FLAG | VARCHAR2 | 1 | Flag to indicate if the item adjustment has to be written back to revenue. | ||
| FCST_ITEM_TERRITORY_ID | NUMBER | Yes | Primary territory id of the item is denormalized here for query efficiency. | ||
| ADJUST_PERIOD_ID | NUMBER | Adjustment period if of the item is denormalized here for query efficiency. | |||
| CORP_EXPECT_ADJ_AMT | NUMBER | Yes | This has the expected adjustment amount in corporate currency | ||
| CORP_SUB_EXPECT_ADJ_AMT | NUMBER | Yes | This has the subordinate expected adj amount in corp currency | ||
| CORP_PRED_AMT_ADJ | NUMBER | Yes | Has the adjustment for predicted amount in corporate currency | ||
| CORP_SUB_PRED_AMT_ADJ | NUMBER | Yes | Has the subordinate's predicted adjustment amount in corporate currency | ||
| CURR_EXCHANGE_RATE | NUMBER | This has the currency exchange rate for this item adjustment. | |||
| ADJUSTED_PARTICIPANT_ID | NUMBER | 18 | Participant ID for which the adjustment is being made. | ||
| FCST_PRODUCT_ID | NUMBER | 18 | FK to the snapshot of product hierarchy stored in ZSF_FCST_PRODUCT | ||
| CHANNEL_TYPE_CODE | VARCHAR2 | 360 | Stores the channel type code. This will be used in product adjustment for metrics calculation | ||
| FCST_ITEM_CATEGORY | VARCHAR2 | 30 | Adjusted forecast item category. | ||
| CORP_EXTN_ITADJ_MET_1 | NUMBER | Runtime Extensibility: Column reserved for metrics related extension attributes. | |||
| CORP_EXTN_ITADJ_MET_2 | NUMBER | Runtime Extensibility: Column reserved for metrics related extension attributes. | |||
| CORP_EXTN_ITADJ_MET_3 | NUMBER | Runtime Extensibility: Column reserved for metrics related extension attributes. | |||
| CORP_EXTN_ITADJ_MET_4 | NUMBER | Runtime Extensibility: Column reserved for metrics related extension attributes. | |||
| CORP_EXTN_ITADJ_MET_5 | NUMBER | Runtime Extensibility: Column reserved for metrics related extension attributes. | |||
| CORP_EXTN_ITADJ_SUB_1 | NUMBER | Runtime Extensibility: Column reserved for metrics related extension attributes. | |||
| CORP_EXTN_ITADJ_SUB_2 | NUMBER | Runtime Extensibility: Column reserved for metrics related extension attributes. | |||
| CORP_EXTN_ITADJ_SUB_3 | NUMBER | Runtime Extensibility: Column reserved for metrics related extension attributes. | |||
| CORP_EXTN_ITADJ_SUB_4 | NUMBER | Runtime Extensibility: Column reserved for metrics related extension attributes. | |||
| CORP_EXTN_ITADJ_SUB_5 | NUMBER | Runtime Extensibility: Column reserved for metrics related extension attributes. | |||
| CREATED_BY | VARCHAR2 | 64 | Yes | Who column: indicates the user who created the row. | |
| CREATION_DATE | TIMESTAMP | Yes | Who column: indicates the date and time of the creation of the row. | ||
| LAST_UPDATE_DATE | TIMESTAMP | Yes | Who column: indicates the date and time of the last update of the row. | ||
| LAST_UPDATED_BY | VARCHAR2 | 64 | Yes | Who column: indicates the user who last updated the row. | |
| LAST_UPDATE_LOGIN | VARCHAR2 | 32 | Who column: indicates the session login associated to the user who last updated the row. | ||
| CONFLICT_ID | NUMBER | 18 | Yes | Disconnected Mobile: this value is used to guarantee the uniqueness of the row when duplicates are created in different databases (i.e. mobile databases or the server). | |
| OBJECT_VERSION_NUMBER | NUMBER | 9 | Yes | Used to implement optimistic locking. This number is incremented every time that the row is updated. The number is compared at the start and end of a transaction to detect whether another session has updated the row since it was queried. | |
| USER_LAST_UPDATE_DATE | TIMESTAMP | Disconnected Mobile: indicates the date and time of the last update of the row. This value is different from LAST_UPDATE_DATE if the update originally happened in a different database (i.e. a different mobile database or the server). | |||
| ITADJ_QUANTITY | NUMBER | Quantity entered by the user as an adjustment | |||
| ITADJ_SUB_QUANTITY | NUMBER | Quantity entered by the subordinate users | |||
| FORECAST_ADJUSTED_FLAG | VARCHAR2 | 1 | Flag to indicate if the Forecast metric has been item adjusted | ||
| BESTCASE_ADJUSTED_FLAG | VARCHAR2 | 1 | Flag to indicate if the Best Case metric has been item adjusted | ||
| WORSTCASE_ADJUSTED_FLAG | VARCHAR2 | 1 | Flag to indicate if the Worst Case metric has been item adjusted | ||
| QUANTITY_ADJUSTED_FLAG | VARCHAR2 | 1 | Flag to indicate if the Quantity metric has been item adjusted |
Foreign Keys
| Table | Foreign Table | Foreign Key Column |
|---|---|---|
| ZSF_FCST_ITEM_ADJUSTMENT | zsf_fcst_item_detail | FCST_ITEM_ID |
| ZSF_FCST_ITEM_ADJUSTMENT | zsf_fcst_participant | FCST_PARTICIPANT_ID |
Indexes
| Index | Uniqueness | Tablespace | Columns |
|---|---|---|---|
| ZSF_FCST_ITEM_ADJUSTMENT_N1 | Non Unique | Default | FCST_ITEM_TERRITORY_ID |
| ZSF_FCST_ITEM_ADJUSTMENT_N2 | Non Unique | Default | "LAST_UPDATE_DATE" |
| ZSF_FCST_ITEM_ADJUSTMENT_N3 | Non Unique | Default | FCST_PARTICIPANT_ID |
| ZSF_FCST_ITEM_ADJUSTMENT_N4 | Non Unique | Default | ADJUSTED_PARTICIPANT_ID, FCST_PARTICIPANT_ID |
| ZSF_FCST_ITEM_ADJUSTMENT_N5 | Non Unique | Default | FCST_ITEM_ID, ADJUSTED_BY_TERRITORY_ID |
| ZSF_FCST_ITEM_ADJUSTMENT_U1 | Unique | Default | FCST_ITEM_ADJUSTMENT_ID |
| ZSF_FCST_ITEM_ADJUSTMENT_U2 | Unique | Default | FCST_ITEM_ID, FCST_PARTICIPANT_ID |
| ZSF_FCST_ITEM_ADJUSTMENT_U3 | Unique | Default | LAST_UPDATE_DATE, FCST_ITEM_ADJUSTMENT_ID |