indexes, sales Order, Table Structure

DOO_LINES_ALL: Sales Order Lines Table

Doo_lines_all is the table Oracle Fusion uses to store the sales order line level data. DOO_HEADERS_ALL is the parent table which holds the sales order header details and is one of the most important table of O2C Cycle. Primary key of this table is LINE_ID. while you can use header_id to connect it to doo_headers_all table. We’ll see the table structure, indexes and constraints of this table in this post.

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

Table Structure

COLUMN_NAMEDATA_TYPENULLABLE
 HEADER_IDNUMBER
 LINE_IDNUMBER
 LINE_NUMBERNUMBER
 STATUS_CODEVARCHAR2(120)
 OWNER_IDNUMBER
 CREATION_DATETIMESTAMP(6)
 CREATED_BYVARCHAR2(256)
 LAST_UPDATE_DATETIMESTAMP(6)
 LAST_UPDATED_BYVARCHAR2(256)
 LAST_UPDATE_LOGINVARCHAR2(128)
 SOURCE_LINE_IDVARCHAR2(200)
 SOURCE_LINE_NUMBERVARCHAR2(400)
 SOURCE_ORDER_IDVARCHAR2(200)
 SOURCE_ORDER_NUMBERVARCHAR2(200)
 SOURCE_ORDER_SYSTEMVARCHAR2(120)
 SOURCE_SCHEDULE_IDVARCHAR2(200)
 SOURCE_SCHEDULE_NUMBERVARCHAR2(200)
 SOURCE_REVISION_NUMBERNUMBER
 ITEM_TYPE_CODEVARCHAR2(120)
 ORDERED_QTYNUMBER
 CANCELED_QTYNUMBER
 ORDERED_UOMVARCHAR2(12)
 SOURCE_ORG_IDNUMBER
 ORG_IDNUMBER
 ACTUAL_SHIP_DATEDATE
 SCHEDULE_SHIP_DATEDATE
 RMA_DELIVERED_QTYNUMBER
 EXTENDED_AMOUNTNUMBER
 FULFILLED_QTYNUMBER
 FULFILLMENT_DATEDATE
 LINE_TYPE_CODEVARCHAR2(120)
 OBJECT_VERSION_NUMBERNUMBER
 OPEN_FLAGVARCHAR2(4)
 CANCELED_FLAGVARCHAR2(4)
 INVENTORY_ITEM_IDNUMBER
 COMP_SEQ_PATHVARCHAR2(4000)
 PARENT_LINE_IDNUMBER
 ORIG_SYS_DOCUMENT_REFVARCHAR2(200)
 ORIG_SYS_DOCUMENT_LINE_REFVARCHAR2(200)
 ROOT_PARENT_LINE_IDNUMBER
 SHIPPED_QTYNUMBER
 UNIT_LIST_PRICENUMBER
 UNIT_SELLING_PRICENUMBER
 DELTA_TYPENUMBER
 REFERENCE_LINE_IDNUMBER
 ON_HOLDVARCHAR2(4)
 INVENTORY_ORGANIZATION_IDNUMBER
 CATEGORY_CODEVARCHAR2(120)
 TRANSFORM_FROM_LINE_IDNUMBER
 ITEM_SUB_TYPE_CODEVARCHAR2(120)
 QUANTITY_PER_MODELNUMBER
 MODIFIED_FLAGVARCHAR2(4)
 DISPLAY_LINE_NUMBERVARCHAR2(400)
 CREATED_IN_RELEASEVARCHAR2(60)
Table Structure: DOO_LINES_ALL

Index

INDEX NAMEINDEX TYPEUNIQUENESSCOLUMN NAME
 DOO_LINES_ALL_FK1NORMALNONUNIQUEHEADER_ID
 DOO_LINES_ALL_FK2NORMALNONUNIQUEINVENTORY_ITEM_ID
 DOO_LINES_ALL_FK2NORMALNONUNIQUEOPEN_FLAG
 DOO_LINES_ALL_FK3NORMALNONUNIQUEPARENT_LINE_ID
 DOO_LINES_ALL_FK4NORMALNONUNIQUEROOT_PARENT_LINE_ID
 DOO_LINES_ALL_FK5NORMALNONUNIQUEREFERENCE_LINE_ID
 DOO_LINES_ALL_N1NORMALNONUNIQUESOURCE_SCHEDULE_ID
 DOO_LINES_ALL_N1NORMALNONUNIQUESOURCE_LINE_ID
 DOO_LINES_ALL_N1NORMALNONUNIQUESOURCE_ORDER_ID
 DOO_LINES_ALL_N1NORMALNONUNIQUESOURCE_ORDER_SYSTEM
 DOO_LINES_ALL_PKNORMALUNIQUELINE_ID
Index Details: DOO_LINES_ALL

Constraints

CONSTRAINT NAMECONSTRAINT TYPESEARCH_CONDITION_VC
 SYS_C00103065C“LAST_UPDATED_BY” IS NOT NULL 
 SYS_C00103079C“OPEN_FLAG” IS NOT NULL 
 SYS_C00103072C“SOURCE_SCHEDULE_NUMBER” IS NOT NULL 
 SYS_C00103081C“INVENTORY_ORGANIZATION_ID” IS NOT NULL 
 DOO_LINES_ALL_PKP 
 SYS_C00103062C“CREATION_DATE” IS NOT NULL 
 SYS_C00103059C“LINE_ID” IS NOT NULL 
 SYS_C00103064C“LAST_UPDATE_DATE” IS NOT NULL 
 SYS_C00103066C“SOURCE_LINE_ID” IS NOT NULL 
 SYS_C00103082C“CATEGORY_CODE” IS NOT NULL 
 SYS_C00103060C“LINE_NUMBER” IS NOT NULL 
 SYS_C00103068C“SOURCE_ORDER_ID” IS NOT NULL 
 SYS_C00103080C“INVENTORY_ITEM_ID” IS NOT NULL 
 SYS_C00103058C“HEADER_ID” IS NOT NULL 
 SYS_C00103075C“ORDERED_QTY” IS NOT NULL 
 SYS_C00103070C“SOURCE_ORDER_SYSTEM” IS NOT NULL 
 SYS_C00103076C“ORDERED_UOM” IS NOT NULL 
 SYS_C00103067C“SOURCE_LINE_NUMBER” IS NOT NULL 
 SYS_C00103069C“SOURCE_ORDER_NUMBER” IS NOT NULL 
 SYS_C00103073C“SOURCE_REVISION_NUMBER” IS NOT NULL 
 SYS_C00103074C“ITEM_TYPE_CODE” IS NOT NULL 
 SYS_C00103061C“STATUS_CODE” IS NOT NULL 
 SYS_C00103063C“CREATED_BY” IS NOT NULL 
 SYS_C00103077C“ORG_ID” IS NOT NULL 
 SYS_C00103071C“SOURCE_SCHEDULE_ID” IS NOT NULL 
 SYS_C00103078C“OBJECT_VERSION_NUMBER” IS NOT NULL 

Related Posts:

Oracle Fusion Sales Order Table – DOO_HEADERS_ALL
DOO_FULFILL_LINES_ALL: Table Structure, Indexes, Constraints & Salient Points
Sales Order Table Linkage in Oracle Fusion – DOO_HEADERS_ALL

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 5 / 5. Vote count: 1

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?