Results for “from_type_lookup_code”
50+ results
AI-generated from documented ETRM metadata — verify critical details on the linked pages.
Overview
JAI_PO_COPYDOC_T is a transient staging table owned by the JA schema and delivered as part of the Oracle E-Business Suite Asia/Pacific Localizations (JA) product family. Its documented purpose is to hold Purchase Order data temporarily while the Purchase Order Copy functionality executes. When a user invokes a copy action against a source purchase order, the localization logic assembles the header, line, and shipment rows required for the target document into this table before committing them to the core purchasing tables. Because the object serves purely as an intermediate buffer, its contents are meaningful only for the duration of the copy operation and are expected to be transient.
From a dimensional modeling perspective, the metadata's FK structure suggests classifying JAI_PO_COPYDOC_T as a link table. It carries foreign keys pointing to three separate purchasing entities — PO_HEADERS_ALL, PO_LINES_ALL, and PO_LINE_LOCATIONS_ALL — plus a second reference to PO_HEADERS_ALL for the source document. This pattern of multiple entity references joined by a shared context (the copy run) is characteristic of a link construct rather than a hub or satellite.
Key Information Stored
The table exposes fifteen documented columns. The most significant grouping is the set of foreign-key identifiers that tie each staged row back to the purchasing schema. PO_HEADER_ID references PO_HEADERS_ALL and identifies the target header context; PO_LINE_ID references PO_LINES_ALL; and LINE_LOCATION_ID references PO_LINE_LOCATIONS_ALL, anchoring the shipment-level detail.
The source document is captured separately through FROM_HEADER_ID, which also references PO_HEADERS_ALL, and FROM_TYPE_LOOKUP_CODE, which records the origin document type being copied. Together these allow the copy logic to distinguish what was read from what is being written.
Business-key attributes carried on the staged rows include LINE_NUM, SHIPMENT_NUM, ITEM_ID, and TYPE. These mirror the human-readable identifiers of the purchase order line and shipment being reproduced. No unique index is documented in the supplied metadata, and the column list contains no dedicated single-column surrogate key; the identity of a staged row is therefore best treated as the combination of PO_HEADER_ID, PO_LINE_ID, and LINE_LOCATION_ID within the scope of an active copy operation.
Standard EBS audit columns are present: CREATION_DATE, CREATED_BY, LAST_UPDATE_DATE, LAST_UPDATED_BY, LAST_UPDATE_LOGIN, and OBJECT_VERSION_NUMBER. The OBJECT_VERSION_NUMBER column supports optimistic locking on any programmatic update path.
Common Use Cases and Queries
The primary use case is diagnostic: confirming that a copy operation populated the staging table correctly. A typical query joins the staged shipment rows to the source header to verify the mapping between origin and target.
SELECT t.po_header_id, t.from_header_id, t.line_num, t.shipment_num, t.item_id FROM jai_po_copydoc_t t WHERE t.from_header_id = :p_source_header_id;- Detecting orphaned staging rows, in which a staged line references a PO_HEADER_ID that never materialized in PO_HEADERS_ALL:
SELECT t.* FROM jai_po_copydoc_t t WHERE NOT EXISTS (SELECT 1 FROM po_headers_all h WHERE h.po_header_id = t.po_header_id); - Auditing which source documents have been copied, by aggregating FROM_HEADER_ID and FROM_TYPE_LOOKUP_CODE.
- Reconciling line counts between the source and the target documents during functional testing of the localization.
Because the table is temporary by design, persistent reporting against it is not recommended. Any query should be issued while a copy run is in progress or immediately afterward, before the process clears its rows.
Related Objects
The documented foreign keys define the core relationship set. The following objects are the most significant dependencies:
- PO_HEADERS_ALL — referenced twice, via JAI_PO_COPYDOC_T.PO_HEADER_ID (target header) and JAI_PO_COPYDOC_T.FROM_HEADER_ID (source header).
- PO_LINES_ALL — referenced via JAI_PO_COPYDOC_T.PO_LINE_ID, supplying the line-level target context.
- PO_LINE_LOCATIONS_ALL — referenced via JAI_PO_COPYDOC_T.LINE_LOCATION_ID, supplying the shipment-level target context.
- PO_DISTRIBUTIONS_ALL — the natural downstream recipient of distribution data generated from copied lines and shipments, joined on LINE_LOCATION_ID.
- PO_ACTION_HISTORY — records the copy action against the resulting purchase order for audit purposes.
- FND_LOOKUP_VALUES — resolves FROM_TYPE_LOOKUP_CODE into its descriptive document-type meaning.
Direct runtime readers and writers of this table are the JA localization copy programs rather than public APIs; the Purchasing open interface and the standard PO Copy concurrent program do not depend on it. Consequently, integration effort should target PO_HEADERS_ALL, PO_LINES_ALL, and PO_LINE_LOCATIONS_ALL, treating JAI_PO_COPYDOC_T strictly as an internal staging artifact.
-
Temporary table used to store data of Purchase orders during Copy functionality.
-
Temporary table used to store data of Purchase orders during Copy functionality.
-
View: PO_ITEM_SOURCES 12.1.1
Sources for an item
APPS.PO_ITEM_SOURCES·↳ PO_HEADERS_ALL·↳ PO_LINES_ALL·↳ PO_LINE_LOCATIONS·Explore PO module →
-
View: POS_PO_RFQ_HEADERS_V 12.1.1
APPS.POS_PO_RFQ_HEADERS_V·↳ AP_TERMS·↳ FND_GLOBAL·↳ GL_DAILY_CONVERSION_TYPES·Explore PO module →
-
Table: PO_HEADERS_GT 12.1.1
For Internal Use Only: This table is global temporary table based on po_headers_all table. It is used for internal processing of data for PO Approval Submission Checks.
-
View: POS_PO_RFQ_HEADERS_V 12.2.2
Displays RFQ Headers
APPS.POS_PO_RFQ_HEADERS_V·↳ AP_TERMS·↳ FND_GLOBAL·↳ GL_DAILY_CONVERSION_TYPES·Explore POS module →
-
View: PO_HEADERS_V 12.2.2
10SC ONLY
APPS.PO_HEADERS_V·↳ AP_TERMS·↳ FND_GLOBAL·↳ GL_DAILY_CONVERSION_TYPES·Explore PO module →
-
View: PO_PURCHASE_HISTORY_V 12.1.1
- Retrofitted
APPS.PO_PURCHASE_HISTORY_V·↳ AP_TERMS·↳ FINANCIALS_SYSTEM_PARAMS_ALL·↳ FND_GLOBAL·Explore PO module →
-
- Retrofitted
APPS.PO_QUOTATIONS_TO_APPROVE·↳ AP_TERMS·↳ FND_GLOBAL·↳ HR_LOCATIONS_ALL_TL·Explore PO module →
-
View: PO_HEADERS_TRX_V 12.2.2
View on po_headers table.
-
View: PO_HEADERS_ARCHIVE_XML 12.2.2
APPS.PO_HEADERS_ARCHIVE_XML·↳ AP_TERMS·↳ FND_CURRENCIES_TL·↳ FND_GLOBAL·Explore PO module →
-
View: ICX_PO_RFQ_HEADERS_V 12.1.1
Request for Quotations Header View
APPS.ICX_PO_RFQ_HEADERS_V·↳ AP_TERMS·↳ FND_GLOBAL·↳ GL_DAILY_CONVERSION_TYPES·Explore ICX module →
-
View: ICX_PO_RFQ_HEADERS_V 12.2.2
Request for Quotations Header View
APPS.ICX_PO_RFQ_HEADERS_V·↳ AP_TERMS·↳ FND_GLOBAL·↳ GL_DAILY_CONVERSION_TYPES·Explore ICX module →
-
Archived purchase orders
-
APPS.POS_PO_INVOICE_SUP_ORDERS_V·↳ AP_INVOICE_DISTRIBUTIONS_ALL·↳ FND_CURRENCY·↳ FND_GLOBAL·Explore PO module →
-
Document headers for purchase orders, purchase agreements, quotations, and RFQs to be archived
-
View: PO_HEADERS_RFQQT_V 12.2.2
- Retrofitted
APPS.PO_HEADERS_RFQQT_V·↳ AP_TERMS·↳ FND_GLOBAL·↳ GL_DAILY_CONVERSION_TYPES·Explore PO module →
-
View: PO_PURCHASE_HISTORY_V 12.2.2
- Retrofitted
APPS.PO_PURCHASE_HISTORY_V·↳ AP_TERMS·↳ FINANCIALS_SYSTEM_PARAMS_ALL·↳ FND_GLOBAL·Explore PO module →
-
View: PO_HEADERS_MERGE_V 12.1.1
APPS.PO_HEADERS_MERGE_V·↳ PO_DRAFTS·↳ PO_GLOBAL·↳ PO_HEADERS_ALL·Explore PO module →
-
View: PO_HEADERS_INQ_REL_V 12.1.1
- Retrofitted
APPS.PO_HEADERS_INQ_REL_V·↳ AP_TERMS·↳ HR_LOCATIONS_ALL_TL·↳ PO_DOCUMENT_TYPES_ALL_B·Explore PO module →
-
View: PO_HEADERS_INQ_REL_V 12.2.2
- Retrofitted
APPS.PO_HEADERS_INQ_REL_V·↳ AP_SUPPLIER_CONTACTS·↳ AP_TERMS·↳ FND_GLOBAL·Explore PO module →
-
View: PO_HEADERS_MERGE_V 12.2.2
APPS.PO_HEADERS_MERGE_V·↳ PO_DRAFTS·↳ PO_HEADERS_ALL·↳ PO_HEADERS_DRAFT_ALL·Explore PO module →
-
View: PO_ITEM_SOURCES 12.2.2
Sources for an item
APPS.PO_ITEM_SOURCES·↳ PO_HEADERS_ALL·↳ PO_LINES_ALL·↳ PO_LINE_LOCATIONS·Explore PO module →
-
- Retrofitted
APPS.PO_QUOTATIONS_TO_APPROVE·↳ AP_TERMS·↳ FND_GLOBAL·↳ HR_LOCATIONS_ALL_TL·Explore PO module →
-
View: PO_HEADERS_INQ_PO_V 12.2.2
- Retrofitted
APPS.PO_HEADERS_INQ_PO_V·↳ AP_TERMS·↳ FND_GLOBAL·↳ HR_LOCATIONS_ALL_TL·Explore PO module →
-
Fetches the invoices associated with a Purchase Order and the details of the PO and the invoice.
APPS.POS_PO_INVOICE_SUP_ORDERS_V·↳ AP_INVOICE_DISTRIBUTIONS_ALL·↳ FND_CURRENCY·↳ FND_GLOBAL·Explore POS module →
-
View: PO_HEADERS_V 12.1.1
10SC ONLY
APPS.PO_HEADERS_V·↳ AP_TERMS·↳ FND_GLOBAL·↳ GL_DAILY_CONVERSION_TYPES·Explore PO module →
-
View: PO_HEADERS_INQ_V 12.1.1
- Retrofitted
APPS.PO_HEADERS_INQ_V·↳ AP_TERMS·↳ HR_LOCATIONS_ALL_TL·↳ PO_DOCUMENT_TYPES_ALL_B·Explore PO module →
-
View: POS_PO_RFQ_HEADERS_V 12.2.2
APPS.POS_PO_RFQ_HEADERS_V·↳ AP_TERMS·↳ FND_GLOBAL·↳ GL_DAILY_CONVERSION_TYPES·Explore PO module →
-
View: PO_HEADERS_RFQQT_V 12.1.1
- Retrofitted
APPS.PO_HEADERS_RFQQT_V·↳ AP_TERMS·↳ FND_GLOBAL·↳ GL_DAILY_CONVERSION_TYPES·Explore PO module →
-
View: PO_HEADERS_XML 12.2.2
APPS.PO_HEADERS_XML·↳ AP_SUPPLIERS·↳ AP_SUPPLIER_SITES_ALL·↳ AP_TERMS·Explore PO module →
-
View: PO_HEADERS_ARCHIVE_XML 12.1.1
APPS.PO_HEADERS_ARCHIVE_XML·↳ AP_TERMS·↳ FND_CURRENCIES_TL·↳ FND_GLOBAL·Explore PO module →
-
Interface table for purchase order headers
-
For Internal Use Only: This table is global temporary table based on po_headers_all table. It is used for internal processing of data for PO Approval Submission Checks.
-
View: PO_HEADERS_INQ_PO_V 12.1.1
- Retrofitted
APPS.PO_HEADERS_INQ_PO_V·↳ AP_TERMS·↳ HR_LOCATIONS_ALL_TL·↳ PO_DOCUMENT_TYPES_ALL_B·Explore PO module →
-
Interface table for purchase order headers
-
APPS.POS_PO_INVOICE_SUP_ORDERS_V·↳ AP_INVOICE_DISTRIBUTIONS_ALL·↳ FND_CURRENCY·↳ POS_GET·Explore PO module →
-
Archived purchase orders
-
View: PO_HEADERS_INQ_V 12.2.2
- Retrofitted
APPS.PO_HEADERS_INQ_V·↳ AP_TERMS·↳ FND_GLOBAL·↳ HR_LOCATIONS_ALL_TL·Explore PO module →
-
Document headers (for purchase orders, purchase agreements, quotations, RFQs)
-
Document headers for purchase orders, purchase agreements, quotations, and RFQs to be archived
-
View: PO_HEADERS_XML 12.1.1
APPS.PO_HEADERS_XML·↳ AP_TERMS·↳ FND_CURRENCIES_TL·↳ FND_GLOBAL·Explore PO module →
-
Document headers (for purchase orders, purchase agreements, quotations, RFQs)
-
Draft Document headers (for purchase orders, purchase agreements, quotations, RFQs)
-
VIEW: JA.JAI_PO_COPYDOC_T# 12.2.2
-
VIEW: JA.JAI_PO_COPYDOC_T# 12.2.2
-
TABLE: JA.JAI_PO_COPYDOC_T 12.2.2
-
TABLE: JA.JAI_PO_COPYDOC_T 12.1.1