Constraints, indexes, Table Structure

PO_LINES_ALL: Table Structure & Indexes

PO_LINES_ALL is the table used by Oracle Fusion to store the Purchase Order Line Data. This table is the child table of PO_HEADERS_ALL and connected by PO_HEADER_ID. In case you are looking for the query to fetch the Purchase Order Details Query, here you go. Let’s see the structure of this table along with indexes and constraints.

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

PO_LINES_ALL Table Structure

COLUMN_NAMEDATA_TYPENULLABLE
 PO_LINE_IDNUMBER
 DISCOUNT_TYPEVARCHAR2(100)
 DISCOUNTNUMBER
 DISCOUNT_REASONVARCHAR2(960)
 LIST_PRICENUMBER
 FUNDS_STATUSVARCHAR2(100)
 CONFIGURED_ITEM_FLAGVARCHAR2(4)
 PARENT_ITEM_IDNUMBER
 SUPPLIER_PARENT_ITEMVARCHAR2(1200)
 TOP_MODEL_IDNUMBER
 SUPPLIER_TOP_MODELVARCHAR2(1200)
 COMPONENT_AMOUNT_RELEASEDNUMBER
 AMOUNT_RELEASEDNUMBER
 BASE_MODEL_IDNUMBER
 BASE_MODEL_PRICENUMBER
 OPTIONS_PRICENUMBER
 AGING_PERIOD_DAYSNUMBER
 CONSIGNMENT_LINE_FLAGVARCHAR2(4)
 CATALOG_NAMEVARCHAR2(1020)
 LINE_STATUSVARCHAR2(100)
 LAST_UPDATE_DATETIMESTAMP(6)
 LAST_UPDATED_BYVARCHAR2(256)
 PO_HEADER_IDNUMBER
 LINE_TYPE_IDNUMBER
 LINE_NUMNUMBER
 LAST_UPDATE_LOGINVARCHAR2(128)
 CREATION_DATETIMESTAMP(6)
 CREATED_BYVARCHAR2(256)
 ITEM_IDNUMBER
 ITEM_REVISIONVARCHAR2(72)
 CATEGORY_IDNUMBER
 ITEM_DESCRIPTIONVARCHAR2(960)
 UOM_CODEVARCHAR2(12)
 QUANTITY_COMMITTEDNUMBER
 COMMITTED_AMOUNTNUMBER
 ALLOW_PRICE_OVERRIDE_FLAGVARCHAR2(4)
 NOT_TO_EXCEED_PRICENUMBER
 LIST_PRICE_PER_UNITNUMBER
 UNIT_PRICENUMBER
 QUANTITYNUMBER
 TAX_EXCLUSIVE_PRICENUMBER
 UN_NUMBER_IDNUMBER
 HAZARD_CLASS_IDNUMBER
 NOTE_TO_VENDORVARCHAR2(4000)
 FROM_HEADER_IDNUMBER
 FROM_LINE_IDNUMBER
 QTY_RCV_TOLERANCENUMBER
 PRC_BU_IDNUMBER
 REQ_BU_IDNUMBER
 OVER_TOLERANCE_ERROR_FLAGVARCHAR2(100)
 MARKET_PRICENUMBER
 UNORDERED_FLAGVARCHAR2(4)
 CANCEL_FLAGVARCHAR2(4)
 CANCELLED_BYNUMBER
 CANCEL_DATEDATE
 CANCEL_REASONVARCHAR2(960)
 FIRM_STATUS_LOOKUP_CODEVARCHAR2(120)
 FIRM_DATEDATE
 VENDOR_PRODUCT_NUMVARCHAR2(1200)
 TAXABLE_FLAGVARCHAR2(4)
 TAX_NAMEVARCHAR2(120)
 TYPE_1099VARCHAR2(40)
 CAPITAL_EXPENSE_FLAGVARCHAR2(4)
 NEGOTIATED_BY_PREPARER_FLAGVARCHAR2(4)
 ATTRIBUTE_CATEGORYVARCHAR2(120)
 ATTRIBUTE1- ATTRIBUTE20VARCHAR2(600)
 REFERENCE_NUMVARCHAR2(100)
 ATTRIBUTE_NUMBER1 – ATTRIBUTE_NUMBER10NUMBER
 ATTRIBUTE_DATE1 –  ATTRIBUTE_DATE10DATE
 ATTRIBUTE_TIMESTAMP1 –  ATTRIBUTE_TIMESTAMP10TIMESTAMP(6)
 MIN_RELEASE_AMOUNTNUMBER
 PRICE_TYPE_LOOKUP_CODEVARCHAR2(100)
 PRICE_BREAK_LOOKUP_CODEVARCHAR2(100)
 GOVERNMENT_CONTEXTVARCHAR2(120)
 REQUEST_IDNUMBER
 JOB_DEFINITION_NAMEVARCHAR2(400)
 JOB_DEFINITION_PACKAGEVARCHAR2(3600)
 PROGRAM_NAMEVARCHAR2(120)
 PROGRAM_APP_NAMEVARCHAR2(200)
 CLOSED_DATEDATE
 CLOSED_REASONVARCHAR2(960)
 CLOSED_BYNUMBER
 SOLDTO_BU_IDNUMBER
 QC_GRADEVARCHAR2(100)
 BASE_UOMVARCHAR2(100)
 BASE_QTYNUMBER
 GLOBAL_ATTRIBUTE_CATEGORYVARCHAR2(600)
 GLOBAL_ATTRIBUTE1 –  GLOBAL_ATTRIBUTE20VARCHAR2(600)
 LINE_REFERENCE_NUMVARCHAR2(100)
 EXPIRATION_DATEDATE
 TAX_CODE_IDNUMBER
 OKE_CONTRACT_HEADER_IDNUMBER
 OKE_CONTRACT_VERSION_IDNUMBER
 SECONDARY_QUANTITYNUMBER
 SECONDARY_UOM_CODEVARCHAR2(12)
 PREFERRED_GRADEVARCHAR2(600)
 AUCTION_HEADER_IDNUMBER
 AUCTION_DISPLAY_NUMBERVARCHAR2(960)
 AUCTION_LINE_NUMBERNUMBER
 BID_NUMBERNUMBER
 BID_LINE_NUMBERNUMBER
 RETROACTIVE_DATEDATE
 SUPPLIER_REF_NUMBERVARCHAR2(600)
 CONTRACT_IDNUMBER
 START_DATEDATE
 AMOUNTNUMBER
 JOB_IDNUMBER
 CONTRACTOR_FIRST_NAMEVARCHAR2(960)
 CONTRACTOR_LAST_NAMEVARCHAR2(960)
 FROM_LINE_LOCATION_IDNUMBER
 ORDER_TYPE_LOOKUP_CODEVARCHAR2(100)
 PURCHASE_BASISVARCHAR2(120)
 MATCHING_BASISVARCHAR2(120)
 SVC_AMOUNT_NOTIF_SENTVARCHAR2(4)
 SVC_COMPLETION_NOTIF_SENTVARCHAR2(4)
 BASE_UNIT_PRICENUMBER
 MANUAL_PRICE_CHANGE_FLAGVARCHAR2(4)
 RETAINAGE_RATENUMBER
 MAX_RETAINAGE_AMOUNTNUMBER
 PROGRESS_PAYMENT_RATENUMBER
 RECOUPMENT_RATENUMBER
 SUPPLIER_PART_AUXIDVARCHAR2(1020)
 TAX_ATTRIBUTE_UPDATE_CODEVARCHAR2(60)
 LAST_UPDATED_PROGRAMVARCHAR2(1020)
 OBJECT_VERSION_NUMBERNUMBER
 ALLOW_DESCRIPTION_UPDATE_FLAGVARCHAR2(4)
 PJC_CONTEXT_CATEGORYVARCHAR2(160)
 SOURCE_DOC_REV_NUMNUMBER
 NEXT_CONSUMPTION_ADV_GEN_DATEDATE
 WORK_ORDER_PRODUCTVARCHAR2(1200)
PO_LINES_ALL Table Columns

PO_LINES_ALL Indexes

INDEX_NAMEINDEX_TYPEUNIQUENESSCOLUMN_NAME
 PO_LINES_F1FUNCTION-BASED NORMALNONUNIQUESYS_NC00192$
 PO_LINES_F2FUNCTION-BASED NORMALNONUNIQUESYS_NC00197$
 PO_LINES_N1NORMALNONUNIQUEITEM_ID
 PO_LINES_N10NORMALNONUNIQUELAST_UPDATE_DATE
 PO_LINES_N11NORMALNONUNIQUECONTRACT_ID
 PO_LINES_N13NORMALNONUNIQUEFROM_HEADER_ID
 PO_LINES_N14NORMALNONUNIQUELINE_STATUS
 PO_LINES_N15NORMALNONUNIQUEPRC_BU_ID
 PO_LINES_N16NORMALNONUNIQUEPO_HEADER_ID
 PO_LINES_N16NORMALNONUNIQUELINE_NUM
 PO_LINES_N2NORMALNONUNIQUECREATION_DATE
 PO_LINES_N3NORMALNONUNIQUECATEGORY_ID
 PO_LINES_N4NORMALNONUNIQUEFROM_LINE_ID
 PO_LINES_N5NORMALNONUNIQUEITEM_DESCRIPTION
 PO_LINES_N6NORMALNONUNIQUEVENDOR_PRODUCT_NUM
 PO_LINES_N8NORMALNONUNIQUECLOSED_BY
 PO_LINES_N9NORMALNONUNIQUECANCELLED_BY
 PO_LINES_U1NORMALUNIQUEPO_LINE_ID
PO_LINES_ALL Indexes

Related Posts:

PO_HEADERS_ALL
Purchase Order Query

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

Check out the Amazon Deals of the day based on your interests..

How useful was this post?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

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?

1 thought on “PO_LINES_ALL: Table Structure & Indexes”

Comments are closed.