Constraints, indexes, Oracle Fusion, Oracle Fusion Finance, sales Order, Table Structure

Oracle Fusion Sales Order Table – DOO_HEADERS_ALL

Hello,
DOO_HEADERS_ALL is the base table of Oracle Fusion to store the sales order data and this blog is dedicated to share the structure and indexes of the table. Sales Order is one of the most critical piece in O2C Cycle. This blog is divided into 2 subsections:
1. Table Structure
2. Indexes

But before that let’s have a look at few important points:
1. This table is equivalent of OE_ORDER_HEADERS_ALL table in R12.
2. DOO_HEADERS_ALL table is parent table of DOO_LINES_ALL table which is used to hold the line level data of an SO.
3. In case you are looking for the query to fetch the SO Details, please click here.
4. Since it is one of the important tables in Order management, you might want to check this post to see the linkage of DOO_HEADERS_ALL table with other tables.

Hopefully this post helps you. If no, pls leave a comment at the bottom of the page. If it did, pls rate the page.

By the way, Here ( India) or Here ( Other Geographies) are few UNCONVENTIONAL tricks which I have learnt to improve the performance of BI reports or SQL queries. Try them only when nothing else works.. kind of SOS...
https://www.amazon.in/gp/product/B093CC1CLD?ie=UTF8&tag=oraclebytes-21&camp=3638&linkCode=xm2&creativeASIN=B093CC1CLD

DOO_HEADERS_ALL Table Structure

COLUMN NAMEDATA TYPEDATA LENGTHNULLABLE
 HEADER_IDNUMBER22
 PRE_CREDIT_CHECKED_FLAGVARCHAR24
 ORDER_NUMBERVARCHAR2200
 OBJECT_VERSION_NUMBERNUMBER22
 OWNER_IDNUMBER22
 CREATION_DATETIMESTAMP(6)11
 CREATED_BYVARCHAR2256
 LAST_UPDATE_DATETIMESTAMP(6)11
 LAST_UPDATED_BYVARCHAR2256
 LAST_UPDATE_LOGINVARCHAR2128
 SOURCE_ORDER_SYSTEMVARCHAR2200
 SOURCE_ORDER_NUMBERVARCHAR2200
 SOURCE_ORDER_IDVARCHAR2200
 SOURCE_DOCUMENT_TYPE_CODEVARCHAR2200
 SOURCE_REVISION_NUMBERNUMBER22
 ORIG_SYS_DOCUMENT_REFVARCHAR2200
 SOURCE_ORG_IDNUMBER22
 ORG_IDNUMBER22
 LEGAL_ENTITY_IDNUMBER22
 SOLD_TO_CUSTOMER_IDNUMBER22
 SOLD_TO_CONTACT_IDNUMBER22
 ORDERED_DATEDATE7
 CUSTOMER_PO_NUMBERVARCHAR2200
 ORDER_TYPE_CODEVARCHAR2120
 TRANSACTIONAL_CURRENCY_CODEVARCHAR260
 CONVERSION_RATENUMBER22
 CONVERSION_TYPE_CODEVARCHAR2120
 CONVERSION_DATEDATE7
 STATUS_CODEVARCHAR2120
 PARTIAL_SHIP_ALLOWED_FLAGVARCHAR24
 OPEN_FLAGVARCHAR24
 ON_HOLDVARCHAR24
 CANCELED_FLAGVARCHAR24
 CHANGE_VERSION_NUMBERNUMBER22
 IS_EDITABLEVARCHAR24
 CANCEL_REASON_CODEVARCHAR2120
 SOLD_TO_PARTY_IDNUMBER22
 SOLD_TO_PARTY_CONTACT_IDNUMBER22
 REQUEST_CANCEL_DATETIMESTAMP(6)11
 COMMENTSVARCHAR24000
 ALLOW_CURRENCY_OVERRIDE_FLAGVARCHAR24
 APPLIED_CURRENCY_CODEVARCHAR260
 PRICED_ONTIMESTAMP(6)11
 PRICING_SEGMENT_CODEVARCHAR2120
 PRICING_SEGMENT_EXPLANATIONVARCHAR24000
 PRICING_STRATEGY_EXPLANATIONVARCHAR24000
 SEGMENT_EXPLANATION_MSG_NAMEVARCHAR2120
 STRATEGY_EXPLANATION_MSG_NAMEVARCHAR2120
 PRICING_STRATEGY_IDNUMBER22
 FREEZE_TAX_FLAGVARCHAR24
 SHIPSET_FLAGVARCHAR24
 FULFILL_ORG_IDNUMBER22
 SUPPLIER_IDNUMBER22
 SUPPLIER_SITE_IDNUMBER22
 DEMAND_CLASS_CODEVARCHAR2120
 SUBSTITUTE_ALLOWED_FLAGVARCHAR24
 FREIGHT_TERMS_CODEVARCHAR2120
 FOB_POINT_CODEVARCHAR2120
 PACKING_INSTRUCTIONSVARCHAR24000
 SHIPPING_INSTRUCTIONSVARCHAR24000
 SHIPMENT_PRIORITY_CODEVARCHAR2120
 REQUEST_SHIP_DATEDATE7
 LATEST_ACCEPTABLE_SHIP_DATEDATE7
 EARLIEST_ACCEPTABLE_SHIP_DATEDATE7
 CARRIER_IDNUMBER22
 SHIP_MODE_OF_TRANSPORTVARCHAR2120
 SHIP_CLASS_OF_SERVICEVARCHAR2120
 REQUEST_ARRIVAL_DATEDATE7
 LATEST_ACCEPT_ARRIVAL_DATEDATE7
 EARLIEST_ACCEPT_ARRIVAL_DATEDATE7
 SUBMITTED_FLAGVARCHAR24
 REFERENCE_HEADER_IDNUMBER22
 FREEZE_PRICE_FLAGVARCHAR24
 FREEZE_SHIPPING_CHARGE_FLAGVARCHAR24
 PAYMENT_TERM_IDNUMBER22
 SOLD_TO_PARTY_CONTACT_POINT_IDNUMBER22
 MODIFIED_FLAGVARCHAR24
 REVISION_SOURCE_ORDER_SYSTEMVARCHAR2120
 APPROVAL_SEQUENCE_NUMBERNUMBER22
 TRADE_COMPLIANCE_RESULT_CODEVARCHAR2120
 CREATED_IN_RELEASEVARCHAR260
 SUBMITTED_DATETIMESTAMP(6)11
 SUBMITTED_BYVARCHAR2256
 SALES_CHANNEL_CODEVARCHAR2120
 SALESPERSON_IDNUMBER22
 AGREEMENT_HEADER_IDNUMBER22
 AGREEMENT_VERSION_NUMBERNUMBER22
 BATCH_IDNUMBER22
 CREATION_MODEVARCHAR2120
 MDO_FLAGVARCHAR24

Indexes

INDEX NAME INDEX TYPE UNIQUENESS COLUMN NAME
 DOO_HEADERS_ALL_FK1 NORMAL NONUNIQUE SOLD_TO_CUSTOMER_ID
 DOO_HEADERS_ALL_FK2 FUNCTION-BASED NORMAL NONUNIQUE SYS_NC00086$
 DOO_HEADERS_ALL_FK3 NORMAL NONUNIQUE SOLD_TO_PARTY_ID
 DOO_HEADERS_ALL_N1 NORMAL NONUNIQUE SOURCE_ORDER_NUMBER
 DOO_HEADERS_ALL_N1 NORMAL NONUNIQUE SOURCE_ORDER_SYSTEM
 DOO_HEADERS_ALL_N2 NORMAL NONUNIQUE OPEN_FLAG
 DOO_HEADERS_ALL_N2 NORMAL NONUNIQUE ORG_ID
 DOO_HEADERS_ALL_N2 NORMAL NONUNIQUE SOURCE_ORDER_SYSTEM
 DOO_HEADERS_ALL_N2 NORMAL NONUNIQUE HEADER_ID
 DOO_HEADERS_ALL_N3 FUNCTION-BASED NORMAL NONUNIQUE SYS_NC00087$
 DOO_HEADERS_ALL_N4 FUNCTION-BASED NORMAL NONUNIQUE SYS_NC00088$
 DOO_HEADERS_ALL_N5 FUNCTION-BASED NORMAL NONUNIQUE SYS_NC00095$
 DOO_HEADERS_ALL_PK NORMAL UNIQUE HEADER_ID
 DOO_HEADERS_ALL_UK1 NORMAL UNIQUE SOURCE_ORDER_ID
 DOO_HEADERS_ALL_UK1 NORMAL UNIQUE SOURCE_ORDER_SYSTEM
 DOO_HEADERS_ALL_UK1 NORMAL UNIQUE SUBMITTED_FLAG
 DOO_HEADERS_ALL_UK1 NORMAL UNIQUE CHANGE_VERSION_NUMBER
 DOO_HEADERS_ALL_UK2 NORMAL UNIQUE ORDER_NUMBER
 DOO_HEADERS_ALL_UK2 NORMAL UNIQUE SOURCE_ORDER_SYSTEM
 DOO_HEADERS_ALL_UK2 NORMAL UNIQUE SUBMITTED_FLAG
 DOO_HEADERS_ALL_UK2 NORMAL UNIQUE CHANGE_VERSION_NUMBER

Related Posts
Sales Order Table Linkage in Oracle Fusion – DOO_HEADERS_ALL
Oracle Fusion Sales Order Table – DOO_HEADERS_ALL
Sales Order Query in Oracle Fusion

Feedback:
Hope the article helped you. If it did, please rate the post. In case it didn’t, do leave a comment to let us know what did we miss.

Reference:
support.oracle.com

How useful was this post?

Click on a star to rate it!

Average rating 4.7 / 5. Vote count: 3

No votes so far! Be the first to rate this post.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?