Search Results c_item_id
Overview
APPS.PO_COMPARE_REVISIONS is a PL/SQL package body in Oracle E-Business Suite Purchasing that supports the "Compare Revisions" feature, which allows users to view differences between two revisions of a document (or between versions of a related purchasing entity). The package reads archived copies of purchasing tables and current purchasing tables, determines what changed between revisions, and stores the resulting difference records in the temporary table ICX_PO_REVISIONS_TEMP, from which the comparison UI renders the results. It also provides a set of utility resolution functions used to translate stored foreign keys into meaningful display values (item numbers, hazard classes, payment terms, buyers, vendor contacts, locations, and UN numbers).
The user search term "c_item_id" relates to the item identifier column used across the comparison logic; the package resolves item identifiers through GET_ITEM_NUMBER, which maps the stored item id to a displayable item number using MTL_SYSTEM_ITEMS.
Key Procedures and Functions
- PURGE — Deletes records from ICX_PO_REVISIONS_TEMP that are older than a supplied date (defaulting to roughly two hours before the current date), commits, and handles errors. Intended to be scheduled as a concurrent program.
- GET_UN_NUMBER — Resolves a UN number identifier from PO_UN_NUMBERS into its display value; returns NULL if no value is found or an error occurs.
- GET_ITEM_NUMBER — Returns the item number corresponding to an item identifier, typically sourced from MTL_SYSTEM_ITEMS.
- GET_HAZARD_CLASS — Returns the hazard class description for a given hazard class identifier from PO_HAZARD_CLASSES.
- GET_AP_TERMS — Resolves payment terms from AP_TERMS.
- GET_BUYER — Returns the buyer name associated with a buyer identifier.
- GET_VENDOR_CONTACT — Resolves a vendor contact to a displayable name.
- GET_LOCATION — Returns a location description for a location identifier.
- GET_SOURCE_QUOTATION_HEADER and GET_SOURCE_QUOTATION_LINE — Return source quotation header and line references associated with a purchasing document.
- GET_PO_LOOKUP — Returns the meaning of a purchasing lookup code.
- INSERT_CHANGES — Inserts detected differences into ICX_PO_REVISIONS_TEMP.
- VERIFY_NO_DIFFERENCES — Determines whether any differences exist for the compared entities.
- COMPARE_HEADERS, COMPARE_RELEASES, COMPARE_LINES, COMPARE_LOCATIONS, COMPARE_DISTRIBUTIONS — Perform the actual attribute-by-attribute comparison for each level of the purchasing document hierarchy.
- GET_CHARGE_ACCOUNT — Resolves a charge account for a distribution.
Tables Accessed
The package reads archived revisions from PO_HEADERS_ARCHIVE, PO_LINES_ARCHIVE, PO_LINE_LOCATIONS_ARCHIVE, PO_RELEASES_ARCHIVE, and PO_DISTRIBUTIONS_ARCHIVE, and compares them against the corresponding current tables PO_HEADERS, PO_LINES, PO_LINES_ALL, and PO_LINE_LOCATIONS_ALL. Difference output is written to ICX_PO_REVISIONS_TEMP. Resolution functions query MTL_SYSTEM_ITEMS, PO_HAZARD_CLASSES, PO_UN_NUMBERS, AP_TERMS, and FINANCIALS_SYSTEM_PARAMETERS to translate identifiers into display values.
Usage Notes
PO_COMPARE_REVISIONS is invoked primarily through the Purchasing "Compare Revisions" user interface in Oracle EBS 12.1.1 and 12.2.2, which calls the COMPARE_* routines to populate the temporary table and then reads ICX_PO_REVISIONS_TEMP for display. The PURGE procedure is normally scheduled as a concurrent program to remove stale comparison records. The package is referenced by five other packages, and the resolution functions may also be called from custom code needing the same display translations.
-
APPS.POS_COMPARE_REVISIONS SQL Statements
12.1.1
-
APPS.PO_COMPARE_REVISIONS SQL Statements
12.1.1
-
APPS.PO_COMPARE_REVISIONS SQL Statements
12.2.2
-
APPS.POS_COMPARE_REVISIONS SQL Statements
12.2.2
-
APPS.GMD_COA_DATA_NEW SQL Statements
12.2.2
-
APPS.GMD_COA_DATA_NEW SQL Statements
12.1.1
-
PACKAGE BODY: APPS.PO_COMPARE_REVISIONS
12.2.2
-
APPS.AHL_INV_RESERVATIONS_GRP SQL Statements
12.2.2
-
APPS.GMD_COA_DATA_OM SQL Statements
12.1.1
-
APPS.GMD_COA_DATA_OM SQL Statements
12.2.2
-
PACKAGE BODY: APPS.POS_COMPARE_REVISIONS
12.1.1
-
PACKAGE BODY: APPS.POS_COMPARE_REVISIONS
12.2.2
-
PACKAGE BODY: APPS.PO_COMPARE_REVISIONS
12.1.1
-
APPS.GMI_WF_LOT_RETEST SQL Statements
12.1.1
-
APPS.CSP_SUPERSESSIONS_PVT SQL Statements
12.1.1
-
APPS.JTF_FM_MD_MIGRATION_PVT SQL Statements
12.1.1
-
APPS.GMI_WF_LOT_EXPIRY SQL Statements
12.1.1
-
APPS.AHL_INV_RESERVATIONS_GRP SQL Statements
12.1.1
-
APPS.GMI_WF_LOT_EXPIRY SQL Statements
12.2.2
-
APPS.IBE_DELIVERABLE_EXPIMP_PVT SQL Statements
12.2.2
-
APPS.JTF_FM_MD_MIGRATION_PVT SQL Statements
12.2.2
-
APPS.GMI_WF_LOT_RETEST SQL Statements
12.2.2
-
APPS.CSP_SUPERSESSIONS_PVT SQL Statements
12.2.2
-
APPS.IBE_DELIVERABLE_EXPIMP_PVT SQL Statements
12.1.1
-
APPS.IBE_M_MIGRATION_PVT SQL Statements
12.1.1
-
PACKAGE BODY: APPS.GMI_WF_LOT_EXPIRY
12.2.2
-
APPS.PJM_TASK_AUTO_ASSIGN SQL Statements
12.2.2
-
PACKAGE BODY: APPS.GMI_WF_LOT_EXPIRY
12.1.1
-
PACKAGE BODY: APPS.GMI_WF_LOT_RETEST
12.2.2
-
APPS.IBE_M_MIGRATION_PVT SQL Statements
12.2.2
-
PACKAGE BODY: APPS.GMI_WF_LOT_RETEST
12.1.1
-
APPS.PJM_TASK_AUTO_ASSIGN SQL Statements
12.1.1
-
PACKAGE BODY: APPS.GMD_COA_DATA_NEW
12.1.1
-
PACKAGE BODY: APPS.GMD_COA_DATA_NEW
12.2.2
-
PACKAGE BODY: APPS.PO_POXCORIT_XMLP_PKG
12.1.1
-
APPS.WIP_SERIAL_NUMBER_CLEANUP SQL Statements
12.2.2
-
APPS.CSP_SCH_INT_PVT SQL Statements
12.1.1
-
APPS.QA_FLEX_UTIL SQL Statements
12.2.2
-
PACKAGE BODY: APPS.PO_POXCORIT_XMLP_PKG
12.2.2
-
APPS.QA_FLEX_UTIL SQL Statements
12.1.1
-
APPS.WIP_SERIAL_NUMBER_CLEANUP SQL Statements
12.1.1
-
PACKAGE BODY: APPS.PO_INV_THIRD_PARTY_STOCK_MDTR
12.2.2
-
PACKAGE: APPS.PO_POXCORIT_XMLP_PKG
12.2.2
-
PACKAGE: APPS.PO_POXCORIT_XMLP_PKG
12.1.1
-
PACKAGE BODY: APPS.CSP_SUPERSESSIONS_PVT
12.1.1
-
PACKAGE BODY: APPS.CSP_SUPERSESSIONS_PVT
12.2.2
-
PACKAGE BODY: APPS.GMD_COA_DATA_OM
12.2.2
-
PACKAGE: APPS.MRP_MRPRPROP_XMLP_PKG
12.2.2
-
PACKAGE BODY: APPS.MSC_BI2EBS_PKG
12.1.1
-
PACKAGE: APPS.MRP_MRPRPROP_XMLP_PKG
12.1.1