Base tables for Purchase Order (PO) in Oracle Apps

  1. PO_HEADERS_ALL(SEGMENT1 column in this table represents the Document number)

This table stores header information of a Purchasing Document. You need one row for each document you create.

The following are the documents that use PO_HEADERS_ALL

RFQ’s, Quotations, Standard Purchase Order, Planned Purchase Order, Blanket Purchase Order and Contracts

Important columns of this table:

PO_HEADER_ID, SEGMENT1, TYPE_LOOKUP_CODE, VENDOR_ID, VENDOR_SITE_ID, CLOSED_CODE

PO_HEADER_ID is a unique system generated primary key and is invisible to the users.

SEGMENT1 is the document number

You can uniquely identify a row in PO_HEADERS_ALL using ORG_ID, SEGMENT1, and TYPE_LOOKUP_CODE, or using PO_HEADER_ID.

  1. PO_LINES_ALL

This table stores the line information of a Purchasing Document.

Important columns of this table:

PO_LINE_ID:                       Unique identifier of the Document Line

PO_HEADER_ID:               Unique identifier of the Document Header (with reference to PO_HEADERS_ALL, PO_LINE_ID)

LINE_TYPE_ID:                 Unique identifier of Line_Type (with reference to PO_HEADERS_ALL, PO_LINE_ID and PO_HEADER_ID)

LINE_NUMBER:                 Line Number

ITEM_ID:                             Unique Item Identifier

ORG_ID:                              Unique Identifier of the Operating Unit

CLOSED_CODE:                 Status of the Document

  1. PO_LINE_LOCATIONS_ALL

This table contains the information related to purchase order shipment schedules and blanket agreement price breaks. You need one row for each schedule or price break you attach to a document line.

There following are the seven documents that use shipment schedules:

  1. RFQs
  2. Quotations
  3. Standard purchase orders
  4. Planned purchase orders
  5. Planned purchase order releases
  6. Blanket purchase orders
  7. Blanket purchase order releases

Each row includes the location, quantity, and dates for each shipment schedule. Oracle Purchasing uses this information to record delivery schedule information for purchase orders, and price break information for blanket purchase orders, quotations and RFQs.

The following are the important columns of this table:

LINE_LOCATION_ID:                  Unique Identifier of Document shipment schedule

PO_HEADER_ID:                         Unique Identifier of Document header. (with reference to PO_HEADERS_ALL.po_header_id.)

PO_LINE_ID:                                Unique Identifier of Document line (with reference to PO_LINES_ALL.po_line_id)

QUANTITY:                                    Quantity ordered for Purchase Orders, RFQs and Quotations

QUANTITY_RECEIVED:                Quantity received until today

QUANTITY_ACCEPTED:               Quantity accepted after inspection

QUANTITY_REJECTED:               Quantity rejected after inspection

QUANTITY_BILLED:                     Quantity invoiced by Oracle Payables

QUANTITY_CANCELLED:             Quantity cancelled

TAXABLE_FLAG:                           indicates whether the shipment is taxable

ORG_ID:                                        Operating unit unique identifier

SHIP_TO_ORGANIZATION_ID:     Unique identifier of Ship-to organization

  1. 4.      PO_DISTRIBUTIONS_ALL

This table contains the information related to accounting distribution of a purchase order shipment line. You need one row for each distribution line you attach to a purchase order shipment. There are four types of documents using distributions in Oracle Purchasing:

  1. Standard Purchase Orders
  2. Planned Purchase Orders
  3. Planned Purchase Order Releases
  4. Blanket Purchase Order Releases

Each row includes the destination type, requestor ID, quantity ordered and deliver-to location for the distribution.

Important columns of this table:

PO_DISTRIBUTION_ID:               This is the primary key for this table. It is a unique Document Distribution identifier.

PO_HEADER_ID, PO_LINE_ID

LINE_LOCATION_ID:                  Unique Identifier of the Document Shipment Schedule (with reference to PO_LINE_LOCATIONS_ALL, LINE_LOCATION_ID)

CODE_COMBINATION_ID:        Unique Identifier of General Ledger Charge Account (with reference to GL_CODE_COMBINATIONS.CODE_COMBINATION_ID)

REQ_DISTRIBUTION_ID:            Unique Identifier of a Requisition distribution (with Reference to PO_REQ_DISTRIBUTIONS_ALL.DISTRIBUTION_ID)

  1. VENDORS_ALL

This table stores the general information about the suppliers.

  1. PO_VENDOR_SITES_ALL

This table stores information about the supplier sites. Each row includes the site address, supplier reference, purchasing, payment, bank, and general information.

  1. PO_RELEASES_ALL

This table stores information related to planned and blanket Purchase Order releases. Each row includes the buyer, date, release status, and release number. Each release must have at least one purchase order shipment.

  1. PO_VENDOR_CONTACTS

This table stores information about contacts related to Supplier site. Each row includes contact name and site.

  1. PO_ACTION_HISTORY

This table stores information about the approval and control history of a Purchasing Document. This table stores one record for each approval or control action an employee takes on a purchase order, purchase agreement, release or requisition.

Leave a comment