DOO_ORDER_TOTAL_COMPONENTS
Stores the components of an Order Total. This helps to determine how an Order Total was arrived at
Details
-
Schema: FUSION
-
Object owner: DOO
-
Object type: TABLE
-
Tablespace: FUSION_TS_TX_DATA
Primary Key
Name | Columns |
---|---|
DOO_ORDER_TOTAL_COMPONENT_PK |
ORDER_TOTAL_COMPONENT_ID |
Columns
Name | Datatype | Length | Precision | Not-null | Comments |
---|---|---|---|---|---|
ORDER_TOTAL_COMPONENT_ID | NUMBER | 18 | Yes | This is the Primary Key for the Record. | |
ORDER_TOTAL_ID | NUMBER | 18 | Yes | Reference to the Order Total for which this component is summed up | |
ORDER_CHARGE_COMPONENT_ID | NUMBER | 18 | Yes | Id of an Order Charge Components that is used for total.There can be multiple charge components (price elements) that can be summed up for a total. For example, various discounts are summed up to display total discount | |
CREATION_DATE | TIMESTAMP | Yes | Who column: indicates the date and time of the creation of the row. | ||
CREATED_BY | VARCHAR2 | 64 | Yes | Who column: indicates the user who created the row. | |
LAST_UPDATE_DATE | TIMESTAMP | Yes | Who column: indicates the date and time of the last update of the row. | ||
LAST_UPDATED_BY | VARCHAR2 | 64 | Yes | Who column: indicates the user who last updated the row. | |
LAST_UPDATE_LOGIN | VARCHAR2 | 32 | Who column: indicates the session login associated to the user who last updated the row. | ||
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. |
Foreign Keys
Table | Foreign Table | Foreign Key Column |
---|---|---|
DOO_ORDER_TOTAL_COMPONENTS | doo_order_totals | ORDER_TOTAL_ID |
DOO_ORDER_TOTAL_COMPONENTS | doo_order_charge_components | ORDER_CHARGE_COMPONENT_ID |
Indexes
Index | Uniqueness | Tablespace | Columns |
---|---|---|---|
DOO_ORDER_TOTAL_COMPONENT_PK | Unique | Default | ORDER_TOTAL_COMPONENT_ID |
DOO_ORDER_TOTAL_COMP_FK2 | Non Unique | Default | ORDER_CHARGE_COMPONENT_ID |
DOO_ORDER_TOTAL_COMP_N1 | Non Unique | Default | ORDER_TOTAL_ID |