Constraints, indexes, Table Structure

PO_HEADERS_ALL: PO Table Columns & Indexes

PO_HEADERS_ALL is the base table used by Oracle Fusion to store the Purchase Order Header data. in this blog we will discuss the table structure, indexes and constraints of the table. But in case you are interested in getting the query to fetch the purchase order details, please click here.

Also PO_HEADERS_ALL table is the parent table of PO_LINES_ALL table which is used to store the line level details of a purchase order.

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_HEADERS_ALL Table Structure

COLUMN_NAMEDATA_TYPENULLABLE
 PO_HEADER_IDNUMBER
 SCHEDULE_GROUPVARCHAR2(120)
 SIGNATURE_REQUIRED_FLAGVARCHAR2(4)
 MODE_OF_TRANSPORTVARCHAR2(120)
 SERVICE_LEVELVARCHAR2(120)
 BUYER_MANAGED_TRANSPORT_FLAGVARCHAR2(4)
 BILLTO_BU_IDNUMBER
 SOLDTO_LE_IDNUMBER
 DEFAULT_PO_TRADE_ORG_IDNUMBER
 ORCHESTRATION_ORDER_FLAGVARCHAR2(4)
 AGING_PERIOD_DAYSNUMBER
 AGING_ONSET_POINTVARCHAR2(120)
 CONSUMPTION_ADVICE_FREQUENCYVARCHAR2(120)
 CONSUMPTION_ADVICE_SUMMARYVARCHAR2(120)
 BILLING_CYCLE_CLOSING_DATEDATE
 LAST_BILLED_DATEDATE
 DEFAULT_CONSIGNMENT_LINE_FLAGVARCHAR2(4)
 PAY_ON_USE_FLAGVARCHAR2(4)
 ACTIVE_VERSION_FLAGVARCHAR2(4)
 ACCEPTANCE_WITHIN_DAYSNUMBER
 AMOUNT_RELEASEDNUMBER
 LAST_RELEASE_DATEDATE
 CURRENT_VERSION_IDNUMBER
 GENERATE_ORDERS_AUTOMATICVARCHAR2(4)
 SUBMIT_APPROVAL_AUTOMATICVARCHAR2(4)
 GROUP_REQUISITIONSVARCHAR2(4)
 GROUP_REQUISITION_LINESVARCHAR2(4)
 USE_NEED_BY_DATEVARCHAR2(4)
 USE_SHIP_TOVARCHAR2(4)
 DOCUMENT_STATUSVARCHAR2(100)
 PRC_BU_IDNUMBER
 REQ_BU_IDNUMBER
 DEFAULT_TAXATION_COUNTRYVARCHAR2(8)
 TAX_DOCUMENT_SUBTYPEVARCHAR2(960)
 AGENT_IDNUMBER
 TYPE_LOOKUP_CODEVARCHAR2(100)
 LAST_UPDATE_DATETIMESTAMP(6)
 LAST_UPDATED_BYVARCHAR2(256)
 SEGMENT1VARCHAR2(120)
 SUMMARY_FLAGVARCHAR2(4)
 CARRIER_IDNUMBER
 ENABLED_FLAGVARCHAR2(4)
 SEGMENT2VARCHAR2(80)
 SEGMENT3VARCHAR2(80)
 SEGMENT4VARCHAR2(80)
 SEGMENT5VARCHAR2(80)
 LAST_UPDATE_LOGINVARCHAR2(128)
 CREATION_DATETIMESTAMP(6)
 CREATED_BYVARCHAR2(256)
 VENDOR_IDNUMBER
 VENDOR_SITE_IDNUMBER
 VENDOR_CONTACT_IDNUMBER
 SHIP_TO_LOCATION_IDNUMBER
 BILL_TO_LOCATION_IDNUMBER
 TERMS_IDNUMBER
 FOB_LOOKUP_CODEVARCHAR2(120)
 FREIGHT_TERMS_LOOKUP_CODEVARCHAR2(120)
 CURRENCY_CODEVARCHAR2(60)
 RATE_TYPEVARCHAR2(120)
 RATE_DATEDATE
 RATENUMBER
 FROM_HEADER_IDNUMBER
 FROM_TYPE_LOOKUP_CODEVARCHAR2(100)
 START_DATEDATE
 END_DATEDATE
 BLANKET_TOTAL_AMOUNTNUMBER
 REVISION_NUMNUMBER
 REVISED_DATEDATE
 APPROVED_FLAGVARCHAR2(4)
 APPROVED_DATEDATE
 AMOUNT_LIMITNUMBER
 MIN_RELEASE_AMOUNTNUMBER
 NOTE_TO_AUTHORIZERVARCHAR2(4000)
 NOTE_TO_VENDORVARCHAR2(4000)
 NOTE_TO_RECEIVERVARCHAR2(4000)
 VENDOR_ORDER_NUMVARCHAR2(100)
 CONFIRMING_ORDER_FLAGVARCHAR2(4)
 COMMENTSVARCHAR2(960)
 ACCEPTANCE_REQUIRED_FLAGVARCHAR2(4)
 ACCEPTANCE_DUE_DATEDATE
 CLOSED_DATEDATE
 CANCEL_FLAGVARCHAR2(4)
 FIRM_STATUS_LOOKUP_CODEVARCHAR2(120)
 FIRM_DATEDATE
 FROZEN_FLAGVARCHAR2(4)
 EDI_PROCESSED_FLAGVARCHAR2(4)
 EDI_PROCESSED_STATUSVARCHAR2(40)
 ATTRIBUTE_CATEGORYVARCHAR2(120)
 ATTRIBUTE1- ATTRIBUTE20VARCHAR2(600)
 ATTRIBUTE_NUMBER1- ATTRIBUTE_NUMBER10NUMBER
 ATTRIBUTE_DATE1- ATTRIBUTE_DATE10DATE
 ATTRIBUTE_TIMESTAMP1- ATTRIBUTE_TIMESTAMP10TIMESTAMP(6)
 GOVERNMENT_CONTEXTVARCHAR2(120)
 REQUEST_IDNUMBER
 JOB_DEFINITION_NAMEVARCHAR2(400)
 JOB_DEFINITION_PACKAGEVARCHAR2(3600)
 PROGRAM_NAMEVARCHAR2(120)
 PROGRAM_APP_NAMEVARCHAR2(200)
 SOLDTO_BU_IDNUMBER
 GLOBAL_ATTRIBUTE_CATEGORYVARCHAR2(600)
 GLOBAL_ATTRIBUTE1- GLOBAL_ATTRIBUTE20VARCHAR2(600)
 GLOBAL_ATTRIBUTE_DATE1 – GLOBAL_ATTRIBUTE_DATE5DATE
 GLOBAL_ATTRIBUTE_NUMBER1 –  GLOBAL_ATTRIBUTE_NUMBER5NUMBER
 INTERFACE_SOURCE_CODEVARCHAR2(100)
 REFERENCE_NUMVARCHAR2(480)
 PCARD_IDNUMBER
 PRICE_UPDATE_TOLERANCENUMBER
 PAY_ON_CODEVARCHAR2(100)
 XML_FLAGVARCHAR2(12)
 XML_SEND_DATEDATE
 XML_CHANGE_SEND_DATEDATE
 CONSIGNED_CONSUMPTION_FLAGVARCHAR2(4)
 CBC_ACCOUNTING_DATEDATE
 CONSUME_REQ_DEMAND_FLAGVARCHAR2(4)
 CHANGE_REQUESTED_BYVARCHAR2(80)
 SHIPPING_CONTROLVARCHAR2(120)
 CONTERMS_EXIST_FLAGVARCHAR2(4)
 CONTERMS_ARTICLES_UPD_DATEDATE
 CONTERMS_DELIV_UPD_DATEDATE
 PENDING_SIGNATURE_FLAGVARCHAR2(4)
 CHANGE_SUMMARYVARCHAR2(4000)
 ENCUMBRANCE_REQUIRED_FLAGVARCHAR2(4)
 DOCUMENT_CREATION_METHODVARCHAR2(120)
 SUBMIT_DATEDATE
 SUPPLIER_NOTIF_METHODVARCHAR2(100)
 FAXVARCHAR2(240)
 EMAIL_ADDRESSVARCHAR2(4000)
 RETRO_PRICE_COMM_UPDATES_FLAGVARCHAR2(4)
 RETRO_PRICE_APPLY_UPDATES_FLAGVARCHAR2(4)
 UPDATE_SOURCING_RULES_FLAGVARCHAR2(4)
 AUTO_SOURCING_FLAGVARCHAR2(4)
 CREATED_LANGUAGEVARCHAR2(16)
 CPA_REFERENCENUMBER
 STYLE_IDNUMBER
 TAX_ATTRIBUTE_UPDATE_CODEVARCHAR2(60)
 LAST_UPDATED_PROGRAMVARCHAR2(1020)
 CAT_ADMIN_AUTH_ENABLED_FLAGVARCHAR2(4)
 RELEASE_METHODVARCHAR2(100)
 REVIEW_AUTOGENERATED_RELEASESVARCHAR2(100)
 OBJECT_VERSION_NUMBERNUMBER
 MERGE_REQUEST_IDNUMBER
 USE_SALES_ORDER_NUMBER_FLAGVARCHAR2(4)
 FUNDS_STATUSVARCHAR2(100)
 FIRST_PTY_REG_IDNUMBER
 THIRD_PTY_REG_IDNUMBER
 DISABLE_AUTOSOURCING_FLAGVARCHAR2(4)
 PUNCHOUT_SOURCING_ONLY_FLAGVARCHAR2(4)
 BUDGET_CONTROL_ENABLED_FLAGVARCHAR2(4)
 RETRO_PRICE_OPEN_ORDER_FLAGVARCHAR2(4)
 RETRO_PRICE_INIT_APPROVAL_FLAGVARCHAR2(4)
 REBUILD_INDEXVARCHAR2(4)
 REFRESH_INDEXVARCHAR2(4)
 ALLOW_MULTIPLE_SITES_FLAGVARCHAR2(4)
 USE_SHIP_TO_FOR_GROUP_REQSVARCHAR2(4)
 MASTER_CONTRACT_IDNUMBER
PO_HEADERS_ALL Table Columns

PO_HEADERS_ALL Indexes

INDEX_NAMEINDEX_TYPEUNIQUENESSCOLUMN_NAME
 PO_HEADERS_F2FUNCTION-BASED NORMALNONUNIQUESYS_NC00229$
 PO_HEADERS_F2FUNCTION-BASED NORMALNONUNIQUEBILLTO_BU_ID
 PO_HEADERS_F3FUNCTION-BASED NORMALNONUNIQUESYS_NC00216$
 PO_HEADERS_N1NORMALNONUNIQUEVENDOR_ID
 PO_HEADERS_N1NORMALNONUNIQUEVENDOR_SITE_ID
 PO_HEADERS_N1NORMALNONUNIQUETYPE_LOOKUP_CODE
 PO_HEADERS_N10NORMALNONUNIQUESTYLE_ID
 PO_HEADERS_N11NORMALNONUNIQUEDOCUMENT_STATUS
 PO_HEADERS_N11NORMALNONUNIQUETYPE_LOOKUP_CODE
 PO_HEADERS_N11NORMALNONUNIQUEPRC_BU_ID
 PO_HEADERS_N11NORMALNONUNIQUESOLDTO_LE_ID
 PO_HEADERS_N12NORMALNONUNIQUECAT_ADMIN_AUTH_ENABLED_FLAG
 PO_HEADERS_N13NORMALNONUNIQUEACTIVE_VERSION_FLAG
 PO_HEADERS_N13NORMALNONUNIQUEAGENT_ID
 PO_HEADERS_N14NORMALNONUNIQUEAGENT_ID
 PO_HEADERS_N14NORMALNONUNIQUETYPE_LOOKUP_CODE
 PO_HEADERS_N14NORMALNONUNIQUEEND_DATE
 PO_HEADERS_N15NORMALNONUNIQUECARRIER_ID
 PO_HEADERS_N16NORMALNONUNIQUEPRC_BU_ID
 PO_HEADERS_N16NORMALNONUNIQUEREQ_BU_ID
 PO_HEADERS_N16NORMALNONUNIQUETYPE_LOOKUP_CODE
 PO_HEADERS_N16NORMALNONUNIQUEDOCUMENT_STATUS
 PO_HEADERS_N2NORMALNONUNIQUECREATION_DATE
 PO_HEADERS_N3NORMALNONUNIQUEAGENT_ID
 PO_HEADERS_N3NORMALNONUNIQUEDOCUMENT_STATUS
 PO_HEADERS_N4NORMALNONUNIQUEFROM_HEADER_ID
 PO_HEADERS_N6NORMALNONUNIQUECLOSED_DATE
 PO_HEADERS_N8NORMALNONUNIQUEVENDOR_ORDER_NUM
 PO_HEADERS_N9NORMALNONUNIQUELAST_UPDATE_DATE
 PO_HEADERS_U1NORMALUNIQUEPO_HEADER_ID
 PO_HEADERS_U2FUNCTION-BASED NORMALUNIQUESEGMENT1
 PO_HEADERS_U2FUNCTION-BASED NORMALUNIQUETYPE_LOOKUP_CODE
 PO_HEADERS_U2FUNCTION-BASED NORMALUNIQUESYS_NC00231$
 PO_SEARCH_INDEXDOMAINNONUNIQUEREBUILD_INDEX

Related Posts:

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

po_headers_all, Purchase Order


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?

2 thoughts on “PO_HEADERS_ALL: PO Table Columns & Indexes”

Comments are closed.