CMR_TRADE_EVENT_AVG_COST

This tables stores the average cost of Trade Receipt Accrual Transactions. For Interorg flows - it stores average cost at external system reference, Business unit, Inventory org and shipment transaction with date effectivity For PO flows - it stores average cost at external system reference, Business unit, Inventory org 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 that triggered the ownership change. e.g. ASN, Customer Clearance, Supplier Acceptance, Transfer to Regular transaction etc.
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 set ups.
EFFECTIVE_DATE TIMESTAMP Yes Average Cost re-calculative date based on new input cost.
ACTIVE_FLAG VARCHAR2 1 Yes Indicator Flag for Active Record or not. Y means latest active record.
PO_LINE_LOCATION_ID NUMBER 18 Purchase Order Line Location Identifier. This is document identifier for Purchase Order flows in complex flows.
INTER_ORG_SHIPMENT_INV_TXN_ID NUMBER 18 Inter Org 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 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 Source document net new hand quantity. For InterOrg flows document id - For global POs flows - PO_LINE_LOCATION_ID
PRIOR_AVERAGE_COST NUMBER Unit Cost at Source document of prior active cost record.
PRIOR_ONHAND_QTY NUMBER Onhand quantity at Source document of 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 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.

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