DOO_ORDER_TOTALS

Stores the total amounts calculated by pricing and give a place to attach the charges summarized in the total and any negotiated discounts to be associated to the totals

Details

  • Schema: FUSION

  • Object owner: DOO

  • Object type: TABLE

  • Tablespace: FUSION_TS_TX_DATA

Primary Key

Name Columns

DOO_ORDER_TOTALS_PK

ORDER_TOTAL_ID

Columns

Name Datatype Length Precision Not-null Comments
ORDER_TOTAL_ID NUMBER 18 Yes The unique internal identifier of the Order line.
HEADER_ID NUMBER 18 Yes If of the parent sales order record.
TOTAL_GROUP VARCHAR2 240 This indicates group of related totals. For example one time charge total and adjustments on one time total
CURRENCY_CODE VARCHAR2 15 The currency which the total represents
ESTIMATED_FLAG VARCHAR2 1 Yes Pricing owns whether the amount of a total is estimated or not. Examples of estimated totals would include all those for usage price type and those including spot priced charges
PRIMARY_FLAG VARCHAR2 1 Yes Every order will have one and only one primary total calculated
TOTAL_AMOUNT NUMBER Yes This is the aggregated amount calculated for the total
TOTAL_CODE VARCHAR2 30 Yes The code for the total definition that defines the properties of this total
DISPLAY_NAME VARCHAR2 255 This is the dynamic name generated to label this total. It is generated in the primary language of the Order
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_TOTALS doo_headers_all HEADER_ID
doo_order_total_components doo_order_totals ORDER_TOTAL_ID

Indexes

Index Uniqueness Tablespace Columns
DOO_ORDER_TOTALS_N1 Non Unique Default HEADER_ID
DOO_ORDER_TOTALS_PK Unique Default ORDER_TOTAL_ID