This table stores all of the items from the shopping cart that are applicable to the current coupon for the Coupon Decision Support system.
Column Description(s):
Column Name | Column Type | Description |
CPWALLET_ID |
BIGINT NOT NULL |
Foreign key to CPWALLET table. This is a primary key. |
ORDERITEMS_ID |
BIGINT NOT NULL |
Foreign key to ORDERITEMS table. This is a primary key. |
DISCAMT |
DECIMAL (20,5) NOT NULL |
The discount amount for this item when this coupon is used. |
OPTCOUNTER |
SMALLINT |
Reserved for IBM internal use. |
Index(es):
Index Name | Indexed Column Names | Index Type |
SQL050212031318720 |
CPWALLET_ID+ORDERITEMS_ID |
Primary Key |
I0000281 |
ORDERITEMS_ID |
Non-Unique Index |
Constraint(s):
Constraint Name | Column Name(s) | Foreign Table Name | Foreign Column Name(s) | Constraint Type |
F_828 |
CPWALLET_ID |
CPWALLET |
CPWALLET_ID |
Cascade |
F_827 |
ORDERITEMS_ID |
ORDERITEMS |
ORDERITEMS_ID |
Cascade |
Related reference
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.