CST_REVENUE_DETAILS

This table contains the revenue details that are used for gross margin calculations.

Details

  • Schema: FUSION

  • Object owner: CST

  • Object type: TABLE

  • Tablespace: Default

Primary Key

Name Columns

CST_REVENUE_DETAILS_PK

REVENUE_DETAIL_ID

Columns

Name Datatype Length Precision Not-null Comments
REVENUE_DETAIL_ID NUMBER 18 Yes Surrogate key that identifies a row in this table.
EXTERNAL_SYSTEM_REFERENCE VARCHAR2 60 Identifies the external source system.
DISTRIBUTION_LINE_ID NUMBER 18 Surrogate ID identifying the Costing distribution line.
DISTRIBUTION_ID NUMBER 18 Surrogate ID identifying the Costing distribution.
EVENT_ID NUMBER 18 Identifies the sub-ledger event linked to the Costing distribution.
REVENUE_LINE_ID NUMBER 18 Identifies the revenue line.
LEDGER_ID NUMBER 18 Identifies the ledger associated to the Cost Organization.
LEGAL_ENTITY_ID NUMBER 18 Identifies the Legal Entity associated to the Cost Organization.
PROFIT_CENTER_BU_ID NUMBER 18 Identifies the Profit Center Business Unit associated to the Cost Organization.
COST_ORG_ID NUMBER 18 Identifies the Cost Organization associated with the Inventory Organization.
COST_BOOK_ID NUMBER 18 Identifies the Cost Book assigned to the Cost Organization.
INVENTORY_ORG_ID NUMBER 18 Identifies the Inventory Organization associated to the details.
ITEM_ORGANIZATION_ID NUMBER 18 Identifies the Inventory Organization associated to the Item.
DOO_ORDER_NUMBER VARCHAR2 240 Order number associated to the details.
DOO_ORDER_TYPE VARCHAR2 50 Type of the Order. Possible values are SO/OO: Sales Order, RMA: RMA Order , TO: Transfer Order, IOT: Interorganization Transfer Order, etc.
DOO_FULLFILL_LINE_ID NUMBER 18 Fulfillment line identifier of the details.
CT_DOO_FULLFILL_LINE_ID NUMBER 18 Fulfillment line identifier on the transaction. This can be different from the one used for margin calculation in case of complex flow involving CTO or ATO items.
FLOW_INSTANCE_ID NUMBER 18 Identifies the trade events for the financial orchestration flow.
SALES_ORDER_SHIPMENT_NUMBER VARCHAR2 240 Shipment number associated to the details.
SALES_ORDER_SHIPMENT_TYPE VARCHAR2 50 Type of the Shipment associated to the details.
INVOICE_SOURCE VARCHAR2 30 Source of the Invoice. Possible values are DOO: Distributed Order Orchestration, FOS/SFO: Supply Chain Financial Orchestration, CST: Costing.
INVOICE_NUMBER VARCHAR2 20 Invoice number associated to the details.
INVOICE_ID NUMBER 18 Identifies the Invoice associated to the details.
INVOICE_LINE_ID NUMBER 18 Identifies the Invoice line associated to the details.
LINE_NO VARCHAR2 20 Invoice line number.
CUSTOMER_ID NUMBER 18 Identifies the bill to Customer associated to the details.
SHIP_TO_CUSTOMER_ID NUMBER 18 Identifies the ship to Customer associated to the details.
SUCCESSOR_BU_ID NUMBER 18 Identifies the successor Business Unit for financial orchestration flow.
INVOICE_DATE TIMESTAMP Invoice date of the revenue details.
GL_DATE DATE General Ledger date of the revenue details.
REVENUE_TYPE VARCHAR2 20 Identifies the type of revenue.
INVENTORY_ITEM_ID NUMBER 18 Identifies the Item associated to the details.
CONFIG_INVENTORY_ITEM_ID NUMBER 18 Identifies the Configured Item that is associated to the details.
ROOT_INVENTORY_ITEM_ID NUMBER 18 In case of assembled or picked to order, identifies the root Item.
TXN_INVENTORY_ITEM_ID NUMBER 18 Identifies the Item on the transaction. Note that this can be different from the Item used in the gross margin calculations for complex flows.
TOTAL_REV NUMBER Total revenue amount.
RECOGNIZED_REV NUMBER Recognized revenue amount.
INVOICE_CURRENCY VARCHAR2 30 Invoice currency of the revenue amounts.
ACCTD_RECOGNIZED_REV NUMBER Accounted recognized revenue amount.
LEDGER_CURRENCY VARCHAR2 30 Ledger currency of the revenue amounts.
MARGIN_CALC_FLAG VARCHAR2 1 Indicates if the gross margin has been calculated for this row. Valid values are 1. N: Not calculated 2. NULL: Calculated
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_UPDATED_BY VARCHAR2 64 Yes Who column: indicates the user who last updated the row.
LAST_UPDATE_DATE TIMESTAMP Yes Who column: indicates the date and time of the last update of the row.
LAST_UPDATE_LOGIN VARCHAR2 32 Who column: indicates the session login associated to the user who last updated the row.
REQUEST_ID NUMBER 18 Enterprise Service Scheduler: indicates the request ID of the job that created or last updated the row.
JOB_DEFINITION_NAME VARCHAR2 100 Enterprise Service Scheduler: indicates the name of the job that created or last updated the row.
JOB_DEFINITION_PACKAGE VARCHAR2 900 Enterprise Service Scheduler: indicates the package name of the job that created or last updated the row.

Indexes

Index Uniqueness Tablespace Columns Status
CST_REVENUE_DETAILS_N1 Non Unique Default MARGIN_CALC_FLAG
CST_REVENUE_DETAILS_N2 Non Unique Default LAST_UPDATED_BY Obsolete
CST_REVENUE_DETAILS_N3 Non Unique Default DISTRIBUTION_ID
CST_REVENUE_DETAILS_U1 Unique Default REVENUE_DETAIL_ID