Professional Documents
Culture Documents
Oracle Apps
Base tables for Purchase Order are as follows:
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
RFQs, 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.
Sample queries:
SELECT PO_HEADER_ID, TYPE_LOOKUP_CODE FROM PO_HEADERS_ALL
WHERE SEGMENT1= 311;
SQL Query
2. PO_LINES_ALL
SQL Query
3. 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.
4.
5.
6.
7.
SQL Query
SQL Query
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.
2.
3.
4.
SQL Query
SQL Query
5.
VENDORS_ALL
This table stores the general information about the suppliers.
6.
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.
7.
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.
8.
PO_VENDOR_CONTACTS
This table stores information about contacts related to Supplier site. Each row
includes contact name and site.
9.
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.