MKT_TM_TRMT_ITEM_ASSOC

This table stores references to the products associated with a marketing treatment. The product itself maybe an inventory item or a product group.

Details

  • Schema: FUSION

  • Object owner: MKT

  • Object type: TABLE

  • Tablespace: Default

Primary Key

Name Columns

MKT_TM_TRMT_ITEM_ASSOC_PK

PROD_ASSOC_ID

Columns

Name Datatype Length Precision Not-null Comments
PROD_ASSOC_ID NUMBER 18 Yes Product association id. Primary key.
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.
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.
LAST_UPDATE_LOGIN VARCHAR2 32 Who column: indicates the session login associated to the user who last updated the row.
TREATMENT_ID NUMBER 18 Yes Treatment id
INVENTORY_ITEM_ID NUMBER 18 Item id.
INV_ORG_ID NUMBER 18 Inventory organization id.
PROD_GROUP_ID NUMBER 18 Product group id.
PRIMARY_FLAG VARCHAR2 1 Primary flag.
QUANTITY NUMBER Product Quantity
UOM_CODE VARCHAR2 3 Unit of measure code for product.
ESTIMATED_UNIT_PRICE NUMBER Estimated Unit Price for the product
CURRENCY_CODE VARCHAR2 15 Currency code for the product

Foreign Keys

Table Foreign Table Foreign Key Column
MKT_TM_TRMT_ITEM_ASSOC egp_item_org_associations INVENTORY_ITEM_ID, INV_ORG_ID
MKT_TM_TRMT_ITEM_ASSOC mkt_tm_treatments TREATMENT_ID

Indexes

Index Uniqueness Tablespace Columns
MKT_TM_TRMT_ITEM_ASSOC_F1 Non Unique Default TREATMENT_ID
MKT_TM_TRMT_ITEM_ASSOC_F2 Non Unique Default INV_ORG_ID, INVENTORY_ITEM_ID
MKT_TM_TRMT_ITEM_ASSOC_F3 Non Unique Default PROD_GROUP_ID
MKT_TM_TRMT_ITEM_ASSOC_N1 Non Unique Default LAST_UPDATE_DATE
MKT_TM_TRMT_ITEM_ASSOC_PK Unique Default PROD_ASSOC_ID