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.
PO_HEADERS_ALL Table Structure
COLUMN_NAME | DATA_TYPE | NULLABLE |
PO_HEADER_ID | NUMBER | N |
SCHEDULE_GROUP | VARCHAR2(120) | Y |
SIGNATURE_REQUIRED_FLAG | VARCHAR2(4) | N |
MODE_OF_TRANSPORT | VARCHAR2(120) | Y |
SERVICE_LEVEL | VARCHAR2(120) | Y |
BUYER_MANAGED_TRANSPORT_FLAG | VARCHAR2(4) | N |
BILLTO_BU_ID | NUMBER | Y |
SOLDTO_LE_ID | NUMBER | Y |
DEFAULT_PO_TRADE_ORG_ID | NUMBER | Y |
ORCHESTRATION_ORDER_FLAG | VARCHAR2(4) | Y |
AGING_PERIOD_DAYS | NUMBER | Y |
AGING_ONSET_POINT | VARCHAR2(120) | Y |
CONSUMPTION_ADVICE_FREQUENCY | VARCHAR2(120) | Y |
CONSUMPTION_ADVICE_SUMMARY | VARCHAR2(120) | Y |
BILLING_CYCLE_CLOSING_DATE | DATE | Y |
LAST_BILLED_DATE | DATE | Y |
DEFAULT_CONSIGNMENT_LINE_FLAG | VARCHAR2(4) | N |
PAY_ON_USE_FLAG | VARCHAR2(4) | N |
ACTIVE_VERSION_FLAG | VARCHAR2(4) | Y |
ACCEPTANCE_WITHIN_DAYS | NUMBER | Y |
AMOUNT_RELEASED | NUMBER | Y |
LAST_RELEASE_DATE | DATE | Y |
CURRENT_VERSION_ID | NUMBER | Y |
GENERATE_ORDERS_AUTOMATIC | VARCHAR2(4) | Y |
SUBMIT_APPROVAL_AUTOMATIC | VARCHAR2(4) | Y |
GROUP_REQUISITIONS | VARCHAR2(4) | Y |
GROUP_REQUISITION_LINES | VARCHAR2(4) | Y |
USE_NEED_BY_DATE | VARCHAR2(4) | Y |
USE_SHIP_TO | VARCHAR2(4) | Y |
DOCUMENT_STATUS | VARCHAR2(100) | N |
PRC_BU_ID | NUMBER | N |
REQ_BU_ID | NUMBER | Y |
DEFAULT_TAXATION_COUNTRY | VARCHAR2(8) | Y |
TAX_DOCUMENT_SUBTYPE | VARCHAR2(960) | Y |
AGENT_ID | NUMBER | N |
TYPE_LOOKUP_CODE | VARCHAR2(100) | N |
LAST_UPDATE_DATE | TIMESTAMP(6) | N |
LAST_UPDATED_BY | VARCHAR2(256) | N |
SEGMENT1 | VARCHAR2(120) | N |
SUMMARY_FLAG | VARCHAR2(4) | N |
CARRIER_ID | NUMBER | Y |
ENABLED_FLAG | VARCHAR2(4) | N |
SEGMENT2 | VARCHAR2(80) | Y |
SEGMENT3 | VARCHAR2(80) | Y |
SEGMENT4 | VARCHAR2(80) | Y |
SEGMENT5 | VARCHAR2(80) | Y |
LAST_UPDATE_LOGIN | VARCHAR2(128) | Y |
CREATION_DATE | TIMESTAMP(6) | N |
CREATED_BY | VARCHAR2(256) | N |
VENDOR_ID | NUMBER | Y |
VENDOR_SITE_ID | NUMBER | Y |
VENDOR_CONTACT_ID | NUMBER | Y |
SHIP_TO_LOCATION_ID | NUMBER | Y |
BILL_TO_LOCATION_ID | NUMBER | Y |
TERMS_ID | NUMBER | Y |
FOB_LOOKUP_CODE | VARCHAR2(120) | Y |
FREIGHT_TERMS_LOOKUP_CODE | VARCHAR2(120) | Y |
CURRENCY_CODE | VARCHAR2(60) | Y |
RATE_TYPE | VARCHAR2(120) | Y |
RATE_DATE | DATE | Y |
RATE | NUMBER | Y |
FROM_HEADER_ID | NUMBER | Y |
FROM_TYPE_LOOKUP_CODE | VARCHAR2(100) | Y |
START_DATE | DATE | Y |
END_DATE | DATE | Y |
BLANKET_TOTAL_AMOUNT | NUMBER | Y |
REVISION_NUM | NUMBER | Y |
REVISED_DATE | DATE | Y |
APPROVED_FLAG | VARCHAR2(4) | Y |
APPROVED_DATE | DATE | Y |
AMOUNT_LIMIT | NUMBER | Y |
MIN_RELEASE_AMOUNT | NUMBER | Y |
NOTE_TO_AUTHORIZER | VARCHAR2(4000) | Y |
NOTE_TO_VENDOR | VARCHAR2(4000) | Y |
NOTE_TO_RECEIVER | VARCHAR2(4000) | Y |
VENDOR_ORDER_NUM | VARCHAR2(100) | Y |
CONFIRMING_ORDER_FLAG | VARCHAR2(4) | Y |
COMMENTS | VARCHAR2(960) | Y |
ACCEPTANCE_REQUIRED_FLAG | VARCHAR2(4) | Y |
ACCEPTANCE_DUE_DATE | DATE | Y |
CLOSED_DATE | DATE | Y |
CANCEL_FLAG | VARCHAR2(4) | Y |
FIRM_STATUS_LOOKUP_CODE | VARCHAR2(120) | Y |
FIRM_DATE | DATE | Y |
FROZEN_FLAG | VARCHAR2(4) | Y |
EDI_PROCESSED_FLAG | VARCHAR2(4) | Y |
EDI_PROCESSED_STATUS | VARCHAR2(40) | Y |
ATTRIBUTE_CATEGORY | VARCHAR2(120) | Y |
ATTRIBUTE1- ATTRIBUTE20 | VARCHAR2(600) | Y |
ATTRIBUTE_NUMBER1- ATTRIBUTE_NUMBER10 | NUMBER | Y |
ATTRIBUTE_DATE1- ATTRIBUTE_DATE10 | DATE | Y |
ATTRIBUTE_TIMESTAMP1- ATTRIBUTE_TIMESTAMP10 | TIMESTAMP(6) | Y |
GOVERNMENT_CONTEXT | VARCHAR2(120) | Y |
REQUEST_ID | NUMBER | Y |
JOB_DEFINITION_NAME | VARCHAR2(400) | Y |
JOB_DEFINITION_PACKAGE | VARCHAR2(3600) | Y |
PROGRAM_NAME | VARCHAR2(120) | Y |
PROGRAM_APP_NAME | VARCHAR2(200) | Y |
SOLDTO_BU_ID | NUMBER | Y |
GLOBAL_ATTRIBUTE_CATEGORY | VARCHAR2(600) | Y |
GLOBAL_ATTRIBUTE1- GLOBAL_ATTRIBUTE20 | VARCHAR2(600) | Y |
GLOBAL_ATTRIBUTE_DATE1 – GLOBAL_ATTRIBUTE_DATE5 | DATE | Y |
GLOBAL_ATTRIBUTE_NUMBER1 – GLOBAL_ATTRIBUTE_NUMBER5 | NUMBER | Y |
INTERFACE_SOURCE_CODE | VARCHAR2(100) | Y |
REFERENCE_NUM | VARCHAR2(480) | Y |
PCARD_ID | NUMBER | Y |
PRICE_UPDATE_TOLERANCE | NUMBER | Y |
PAY_ON_CODE | VARCHAR2(100) | Y |
XML_FLAG | VARCHAR2(12) | Y |
XML_SEND_DATE | DATE | Y |
XML_CHANGE_SEND_DATE | DATE | Y |
CONSIGNED_CONSUMPTION_FLAG | VARCHAR2(4) | Y |
CBC_ACCOUNTING_DATE | DATE | Y |
CONSUME_REQ_DEMAND_FLAG | VARCHAR2(4) | Y |
CHANGE_REQUESTED_BY | VARCHAR2(80) | Y |
SHIPPING_CONTROL | VARCHAR2(120) | Y |
CONTERMS_EXIST_FLAG | VARCHAR2(4) | Y |
CONTERMS_ARTICLES_UPD_DATE | DATE | Y |
CONTERMS_DELIV_UPD_DATE | DATE | Y |
PENDING_SIGNATURE_FLAG | VARCHAR2(4) | Y |
CHANGE_SUMMARY | VARCHAR2(4000) | Y |
ENCUMBRANCE_REQUIRED_FLAG | VARCHAR2(4) | Y |
DOCUMENT_CREATION_METHOD | VARCHAR2(120) | Y |
SUBMIT_DATE | DATE | Y |
SUPPLIER_NOTIF_METHOD | VARCHAR2(100) | Y |
FAX | VARCHAR2(240) | Y |
EMAIL_ADDRESS | VARCHAR2(4000) | Y |
RETRO_PRICE_COMM_UPDATES_FLAG | VARCHAR2(4) | Y |
RETRO_PRICE_APPLY_UPDATES_FLAG | VARCHAR2(4) | Y |
UPDATE_SOURCING_RULES_FLAG | VARCHAR2(4) | Y |
AUTO_SOURCING_FLAG | VARCHAR2(4) | Y |
CREATED_LANGUAGE | VARCHAR2(16) | Y |
CPA_REFERENCE | NUMBER | Y |
STYLE_ID | NUMBER | N |
TAX_ATTRIBUTE_UPDATE_CODE | VARCHAR2(60) | Y |
LAST_UPDATED_PROGRAM | VARCHAR2(1020) | Y |
CAT_ADMIN_AUTH_ENABLED_FLAG | VARCHAR2(4) | Y |
RELEASE_METHOD | VARCHAR2(100) | Y |
REVIEW_AUTOGENERATED_RELEASES | VARCHAR2(100) | Y |
OBJECT_VERSION_NUMBER | NUMBER | N |
MERGE_REQUEST_ID | NUMBER | Y |
USE_SALES_ORDER_NUMBER_FLAG | VARCHAR2(4) | Y |
FUNDS_STATUS | VARCHAR2(100) | Y |
FIRST_PTY_REG_ID | NUMBER | Y |
THIRD_PTY_REG_ID | NUMBER | Y |
DISABLE_AUTOSOURCING_FLAG | VARCHAR2(4) | Y |
PUNCHOUT_SOURCING_ONLY_FLAG | VARCHAR2(4) | Y |
BUDGET_CONTROL_ENABLED_FLAG | VARCHAR2(4) | N |
RETRO_PRICE_OPEN_ORDER_FLAG | VARCHAR2(4) | Y |
RETRO_PRICE_INIT_APPROVAL_FLAG | VARCHAR2(4) | Y |
REBUILD_INDEX | VARCHAR2(4) | Y |
REFRESH_INDEX | VARCHAR2(4) | Y |
ALLOW_MULTIPLE_SITES_FLAG | VARCHAR2(4) | N |
USE_SHIP_TO_FOR_GROUP_REQS | VARCHAR2(4) | N |
MASTER_CONTRACT_ID | NUMBER | Y |
PO_HEADERS_ALL Indexes
INDEX_NAME | INDEX_TYPE | UNIQUENESS | COLUMN_NAME |
PO_HEADERS_F2 | FUNCTION-BASED NORMAL | NONUNIQUE | SYS_NC00229$ |
PO_HEADERS_F2 | FUNCTION-BASED NORMAL | NONUNIQUE | BILLTO_BU_ID |
PO_HEADERS_F3 | FUNCTION-BASED NORMAL | NONUNIQUE | SYS_NC00216$ |
PO_HEADERS_N1 | NORMAL | NONUNIQUE | VENDOR_ID |
PO_HEADERS_N1 | NORMAL | NONUNIQUE | VENDOR_SITE_ID |
PO_HEADERS_N1 | NORMAL | NONUNIQUE | TYPE_LOOKUP_CODE |
PO_HEADERS_N10 | NORMAL | NONUNIQUE | STYLE_ID |
PO_HEADERS_N11 | NORMAL | NONUNIQUE | DOCUMENT_STATUS |
PO_HEADERS_N11 | NORMAL | NONUNIQUE | TYPE_LOOKUP_CODE |
PO_HEADERS_N11 | NORMAL | NONUNIQUE | PRC_BU_ID |
PO_HEADERS_N11 | NORMAL | NONUNIQUE | SOLDTO_LE_ID |
PO_HEADERS_N12 | NORMAL | NONUNIQUE | CAT_ADMIN_AUTH_ENABLED_FLAG |
PO_HEADERS_N13 | NORMAL | NONUNIQUE | ACTIVE_VERSION_FLAG |
PO_HEADERS_N13 | NORMAL | NONUNIQUE | AGENT_ID |
PO_HEADERS_N14 | NORMAL | NONUNIQUE | AGENT_ID |
PO_HEADERS_N14 | NORMAL | NONUNIQUE | TYPE_LOOKUP_CODE |
PO_HEADERS_N14 | NORMAL | NONUNIQUE | END_DATE |
PO_HEADERS_N15 | NORMAL | NONUNIQUE | CARRIER_ID |
PO_HEADERS_N16 | NORMAL | NONUNIQUE | PRC_BU_ID |
PO_HEADERS_N16 | NORMAL | NONUNIQUE | REQ_BU_ID |
PO_HEADERS_N16 | NORMAL | NONUNIQUE | TYPE_LOOKUP_CODE |
PO_HEADERS_N16 | NORMAL | NONUNIQUE | DOCUMENT_STATUS |
PO_HEADERS_N2 | NORMAL | NONUNIQUE | CREATION_DATE |
PO_HEADERS_N3 | NORMAL | NONUNIQUE | AGENT_ID |
PO_HEADERS_N3 | NORMAL | NONUNIQUE | DOCUMENT_STATUS |
PO_HEADERS_N4 | NORMAL | NONUNIQUE | FROM_HEADER_ID |
PO_HEADERS_N6 | NORMAL | NONUNIQUE | CLOSED_DATE |
PO_HEADERS_N8 | NORMAL | NONUNIQUE | VENDOR_ORDER_NUM |
PO_HEADERS_N9 | NORMAL | NONUNIQUE | LAST_UPDATE_DATE |
PO_HEADERS_U1 | NORMAL | UNIQUE | PO_HEADER_ID |
PO_HEADERS_U2 | FUNCTION-BASED NORMAL | UNIQUE | SEGMENT1 |
PO_HEADERS_U2 | FUNCTION-BASED NORMAL | UNIQUE | TYPE_LOOKUP_CODE |
PO_HEADERS_U2 | FUNCTION-BASED NORMAL | UNIQUE | SYS_NC00231$ |
PO_SEARCH_INDEX | DOMAIN | NONUNIQUE | REBUILD_INDEX |
Related Posts:
- Purchase Order Detail Query in Fusion
- PO_LINES_ALL: Table Structure & Indexes
- PO_LINE_LOCATIONS_ALL: Table Structure and Indexes
- PO_DISTRIBUTIONS_ALL: Table Structure & Indexes
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..
2 thoughts on “PO_HEADERS_ALL: PO Table Columns & Indexes”
Comments are closed.