This table holds the details of the order appeasement items.
Column Descriptions:
| Name |
Type |
Description |
| APPEASEMENTITEM_ID |
BIGINT NOT NULL |
The unique identifier of the appeasement item. |
| APPEASEMENT_ID |
BIGINT NOT NULL |
The unique identifier of the appeasement. |
| ORDERITEMS_ID |
BIGINT NOT NULL |
The unique identifier of the order item which the appeasement item is
filed against. |
| AMOUNT |
DECIMAL(20,5) |
The amount discounted for order item. |
| TAXAMOUNT |
DECIMAL(20,5) |
The tax of the amount discounted for the order item. |
| CSR_ID |
BIGINT |
The unique identifier of the CSR User who submitted the appeasement
item. |
| DESCRIPTION |
VARCHAR(254) |
The short description of the appeasement item. |
| TIMECREATED |
TIMESTAMP NOT NULL |
Creation date and time. |
| LASTUPDATED |
TIMESTAMP NOT NULL |
Last updated date and time. |
| STATUS |
VARCHAR(3) NOT NULL |
The status of the appeasement item.
- PND – Pending
- APR – Approved
- MAN – Manual Approved
- CLO – Closed
- CAN - Cancelled
|
| FIELD1 |
INTEGER |
An integer field for customization. |
| FIELD2 |
DECIMAL(20,5) |
A decimal field for customization. |
| FIELD3 |
VARCHAR(254) |
A text field for customization. |
| COMMENTS |
VARCHAR(254) |
The comments of the appeasement. |
| OPTCOUNTER |
SMALLINT |
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 |
| P_APPEASEMENTITEM |
APPEASEMENTITEM_ID |
Primary Key |
| I_APPEASEMENTITEM_1 |
APPEASEMENT_ID |
Non-Unique Index |
| I_APPEASEMENTITEM_2 |
ORDERITEMS_ID |
Non-Unique Index |
| I_APPEASEMENTITEM_3 |
CSR_ID |
Non-Unique Index |
Constrained By Parent Tables:
| Constraint |
Columns |
Parent Table |
Parent Columns |
Type |
| F_APPEASEMENTITEM_ORDERITEMS_ID |
ORDERITEMS_ID |
ORDERITEMS |
ORDERITEMS_ID |
Cascade |
| F_APPEASEMENTITEM_APPEASEMENT_ID |
APPEASEMENT_ID |
APPEASEMENT |
APPEASEMENT_ID |
Cascade |
| F_APPEASEMENTITEM_CSR_ID |
CSR_ID |
USERS |
USERS_ID |
SET NULL |