DOO_ORDER_PROMOTION_CODES

This table stores promotion codes and their application status on the order. This entity is a child of the header as an order can have multiple promotion codes. Promotion Codes are mandatory qualifiers that user must enter or send while creating order for applying specific promotion to the order.

Details

  • Schema: FUSION

  • Object owner: DOO

  • Object type: TABLE

  • Tablespace: Default

Primary Key

Name Columns

DOO_ORDER_PROMOTION_CODES_PK

PROMOCODE_ID

Columns

Name Datatype Length Precision Not-null Comments
PROMOCODE_ID NUMBER 18 Yes Primary Key for the table. Uniquely identifies each row in the table.
PROMOTION_CODE VARCHAR2 100 Yes Identifies the promotion code for a promotion. This is a user entered value and is a mandatory qualifier for applying specific promotion to the order.
HEADER_ID NUMBER 18 Yes Reference to the unique identifier for the orchestration order.
STATUS_CODE VARCHAR2 30 Indicates the application status of the promotion code on the order. This can have values like Applied, Not qualified, Expired, Not started etc.
REFERENCE_PROMOCODE_ID NUMBER 18 Used by change mgmt to associate the change order's promocode id with the original order's promocode id.
CREATION_DATE TIMESTAMP Yes Who column: indicates the date and time of the creation of the row.
CREATED_BY VARCHAR2 64 Yes Who column: indicates the user who created 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.
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.

Indexes

Index Uniqueness Tablespace Columns
DOO_ORDER_PROMOTION_CODES_U1 Unique Default PROMOCODE_ID
DOO_ORDER_PROMOTION_CODES_U2 Unique Default HEADER_ID, PROMOTION_CODE