WebSphere Commerce database table: TORCPMAP

This table stores information about the coupons that are applicable on the current shopping cart while the decision support system is running.


Column Description(s):
Column NameColumn TypeDescription
ORDERS_ID BIGINT NOT NULL Foreign key to ORDERS table. This is a primary key.
CPWALLET_ID BIGINT NOT NULL Foreign key to CPWALLET table. This is the coupon ID. This is a primary key.
OPTCOUNTER SMALLINT Reserved for IBM internal use.
Index(es):
Index NameIndexed Column NamesIndex Type
SQL050212031322630 ORDERS_ID+CPWALLET_ID Primary Key
I0000286 CPWALLET_ID Non-Unique Index
Constraint(s):
Constraint NameColumn Name(s)Foreign Table NameForeign Column Name(s)Constraint Type
F_862 CPWALLET_ID CPWALLET CPWALLET_ID Cascade
F_863 ORDERS_ID ORDERS ORDERS_ID Cascade

Feedback