MOP_PROMO_COUPONS
Stores the coupons associated with the promotion.Coupons will be used by Promotion runtime to trigger the Apply Promotion process and Marketing will use it to associate with campaigns.
Details
-
Schema: FUSION
-
Object owner: MOP
-
Object type: TABLE
-
Tablespace: FUSION_TS_SEED
Primary Key
Name | Columns |
---|---|
MOP_PROMO_COUPONS_PK |
PROMO_COUPON_ID |
Columns
Name | Datatype | Length | Precision | Not-null | Comments | Status |
---|---|---|---|---|---|---|
PROMO_COUPON_ID | NUMBER | 18 | Yes | Promotion Coupon Identifier. | Active | |
PROMOTION_ID | NUMBER | 18 | Yes | Promotion Identifier. | Active | |
PROMO_COUPON_CODE | VARCHAR2 | 100 | Yes | Promotion Coupon Code. It will be unique across promotions. | Active | |
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. | Active | |
CREATED_BY | VARCHAR2 | 64 | Yes | Who column: indicates the user who created the row. | Active | |
CREATION_DATE | TIMESTAMP | Yes | Who column: indicates the date and time of the creation of the row. | Active | ||
LAST_UPDATED_BY | VARCHAR2 | 64 | Yes | Who column: indicates the user who last updated the row. | Active | |
LAST_UPDATE_DATE | TIMESTAMP | Yes | Who column: indicates the date and time of the last update of the row. | Active | ||
LAST_UPDATE_LOGIN | VARCHAR2 | 32 | Who column: indicates the session login associated to the user who last updated the row. | Active | ||
USER_LAST_UPDATE_DATE | TIMESTAMP | Disconnected Mobile: indicates the date and time of the last update of the row. This value is different from LAST_UPDATE_DATE if the update originally happened in a different database (i.e. a different mobile database or the server). | Active |
Foreign Keys
Table | Foreign Table | Foreign Key Column |
---|---|---|
MOP_PROMO_COUPONS | mop_promotions_b | PROMOTION_ID |
Indexes
Index | Uniqueness | Tablespace | Columns | Status |
---|---|---|---|---|
MOP_PROMO_COUPONS_F1 | Non Unique | FUSION_TS_SEED | PROMOTION_ID | Active |
MOP_PROMO_COUPONS_PK | Unique | FUSION_TS_SEED | PROMO_COUPON_ID | Active |
MOP_PROMO_COUPONS_U1 | Unique | FUSION_TS_SEED | PROMO_COUPON_CODE | Active |