This table contains promotion codes captured for an
order.
Column Descriptions:
| Name | Type | Description |
| ID | BIGINT NOT NULL | The primary key of this table. |
| ORDERS_ID | BIGINT NOT NULL | Foreign key that references the ORDERS_ID column
in the ORDERS table. |
| CODE | VARCHAR (128) NOT NULL | The promotion code that is associated with this
order. |
| OPTCOUNTER | SMALLINT NOT NULL DEFAULT 0 | The optimistic concurrency control counter for
the table. Every time there is an update to the table, the counter
is incremented. |
Indexes:
| Name | Column Names | Type |
| <SYSTEM-GENERATED> | ID | Primary Key |
| I0000418 | ORDERS_ID | Non-Unique Index |
Constrained By Parent Tables:
| Constraint | Columns | Parent Table | Parent Columns | Type |
| F_1076 | ORDERS_ID | ORDERS | ORDERS_ID | Cascade |