CMR_TRADE_EVENT_AVG_COST
This tables stores the average cost of Trade Receipt Accrual transactions. For inter-organization flows - it stores average cost at external system reference, business unit, inventory organization and shipment transaction with date effectivity. For PO flows - it stores average cost at external system reference, business unit, inventory organization and PO line location ID with date effectivity.
Details
-
Schema: FUSION
-
Object owner: CMR
-
Object type: TABLE
-
Tablespace: FUSION_TS_TX_DATA
Primary Key
Name | Columns |
---|---|
CMR_TRADE_EVENT_AVG_COST_PK |
TRADE_EVENT_AVG_COST_ID |
Columns
Name | Datatype | Length | Precision | Not-null | Comments |
---|---|---|---|---|---|
TRADE_EVENT_AVG_COST_ID | NUMBER | 18 | Yes | Trade Event Average Cost Identifier. | |
OWNERSHIP_CHANGE_TXN_ID | VARCHAR2 | 100 | The transaction identifier that triggered the ownership change. | ||
OWNERSHIP_CHANGE_EVENT_TYPE | VARCHAR2 | 100 | The type of event associated to the ownership change transaction. | ||
TRANSFER_PRICING_UOM_CODE | VARCHAR2 | 3 | Unit of measure code of the transfer price unit cost. | ||
TRANSFER_PRICING_UNIT_COST | NUMBER | Unit cost in transfer price unit of measure code for trade events. | |||
EXTERNAL_SYSTEM_REFERENCE | VARCHAR2 | 60 | Yes | Indicator column of source system. Example: FUSION. | |
BUSINESS_UNIT_ID | NUMBER | 18 | Profit center business unit identifier for non-supplier nodes in advanced flows. | ||
TRADE_INVENTORY_ORG_ID | NUMBER | 18 | Trade inventory organization where financial obligation is created with advanced flow setups. | ||
EFFECTIVE_DATE | TIMESTAMP | Yes | Average cost re-calculation date based on new input cost. | ||
ACTIVE_FLAG | VARCHAR2 | 1 | Yes | Indicator flag for active record. Y means latest active record. | |
PO_LINE_LOCATION_ID | NUMBER | 18 | Purchase order shipment schedule identifier. | ||
INTER_ORG_SHIPMENT_INV_TXN_ID | NUMBER | 18 | Inter-organization transfer shipping transaction identifier. Document identifier to store the average cost for inter-organization flows and transfer order flows. | ||
DOO_FULLFILL_LINE_ID | NUMBER | 18 | Sales Order fulfillment line identifier. Used in drop shipment case. | ||
NEW_AVERAGE_COST | NUMBER | Latest average cost in functional currency at source document identifier level. | |||
TRANSACTION_COST | NUMBER | Trade event transaction cost in entered currency code. | |||
TXN_CURRENCY_CODE | VARCHAR2 | 15 | Trade event source transaction currency code. | ||
CURRENCY_CONVERSION_RATE | NUMBER | Trade event currency conversion rate to get ledger amount. | |||
NEW_ONHAND_QTY | NUMBER | Net new onhand quantity in source document unit of measure. | |||
PRIOR_AVERAGE_COST | NUMBER | Unit cost of prior active cost record in source document currency. | |||
PRIOR_ONHAND_QTY | NUMBER | Onhand quantity in source document unit of measure for prior active cost record. | |||
PRIOR_TRADE_EVENT_AVG_COST_ID | NUMBER | It stores prior trade average cost identifier. Populated in cases where prior average cost is having a value. | |||
EXTENDED_AMOUNT | NUMBER | This column is used to hold the transfer value (transfer price * quantity in transactional UOM of the item) interfaced by Supply Chain Financial Orchestration. | |||
PRIMARY_UOM_CODE | VARCHAR2 | 3 | Primary unit of measure code of item from trade events. | ||
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. | ||
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. | |
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. | ||
LOT_NUMBER | VARCHAR2 | 80 | This stores lot number information for inventory item. | ||
SERIAL_NUMBER | VARCHAR2 | 80 | This stores serial number information for inventory item. |
Indexes
Index | Uniqueness | Tablespace | Columns | Status |
---|---|---|---|---|
CMR_TRADE_EVENT_AVG_COST_N1 | Non Unique | Default | EXTERNAL_SYSTEM_REFERENCE, BUSINESS_UNIT_ID, TRADE_INVENTORY_ORG_ID, INTER_ORG_SHIPMENT_INV_TXN_ID, EFFECTIVE_DATE, ACTIVE_FLAG | Obsolete |
CMR_TRADE_EVENT_AVG_COST_N2 | Non Unique | Default | EXTERNAL_SYSTEM_REFERENCE, BUSINESS_UNIT_ID, TRADE_INVENTORY_ORG_ID, PO_LINE_LOCATION_ID, EFFECTIVE_DATE, ACTIVE_FLAG | Obsolete |
CMR_TRADE_EVENT_AVG_COST_N3 | Non Unique | Default | INTER_ORG_SHIPMENT_INV_TXN_ID, TRADE_INVENTORY_ORG_ID | |
CMR_TRADE_EVENT_AVG_COST_N4 | Non Unique | Default | PO_LINE_LOCATION_ID, TRADE_INVENTORY_ORG_ID | |
CMR_TRADE_EVENT_AVG_COST_U1 | Unique | Default | TRADE_EVENT_AVG_COST_ID |