Results for “sales_order”
50+ results
AI-generated from documented ETRM metadata — verify critical details on the linked pages.
Overview
MRP_GET_ORDER is a utility package owned by APPS within the Oracle E-Business Suite planning modules. Its business function is to resolve a human-readable order identifier (such as a purchase order number, work order name, or sales order number) from the internal numeric or surrogate identifiers used by Oracle's Material Requirements Planning (MRP) and supply chain planning tables. This resolution is necessary because MRP/MPS planning engines persist supply and demand records keyed on internal primary keys — demand identifiers, disposition identifiers, item identifiers, and organization identifiers — rather than on the document numbers that planners and end users recognize. When a planner views a planning detail, an exception message, or a pegging report, the application must map those internal keys back to the originating document reference. MRP_GET_ORDER centralizes that translation so that multiple planner workbench and Planning Manager components can render consistent, document-oriented labels. The package is declared with AUTHID CURRENT_USER, meaning that its unqualified object references resolve in the schema of the calling user, which is typical for APPS-owned utility packages that operate against APPS synonyms of the underlying MRP and MTL tables. The source header dates the file to 1999, indicating that this is long-standing core planning infrastructure carried forward through successive EBS releases, including 12.1.1 and 12.2.2.
Key Procedures and Functions
Two documented functions make up the package's public interface:
- SUPPLY_ORDER — Returns a VARCHAR2 order reference for a supply-side record. Its inputs identify the supply order type, the disposition identifier, the compile designator, the organization, the item, and an optional by-product assembly identifier. It is the function that corresponds directly to the "supply_order" search term, and it is called whenever the application needs to display the document number or reference behind a supply row generated by the planning engine.
- SALES_ORDER — Returns a VARCHAR2 order reference for a demand-side sales order, given a demand identifier. It resolves the internal demand key into the externally recognizable sales order reference.
Both functions carry PRAGMA RESTRICT_REFERENCES declarations with WNDS and WNPS, asserting that they write neither database state nor package state. This confirms the package is strictly a read-only lookup utility, safe for use within SQL statements and views.
Tables Accessed
The documented table references reflect the two resolution paths:
- MRP_ITEM_PURCHASE_ORDERS — the planning table of supply records derived from purchasing, used to resolve purchase-order-based supply references.
- MRP_ITEM_WIP_ENTITIES — the planning table of discrete work-in-process supply records, used to resolve work order and job-based supply references, including by-product assemblies.
- MRP_SCHEDULE_DATES — provides planning schedule date information that supports date-sensitive order context for supply records.
- MTL_SALES_ORDERS — the sales order demand interface table, used by SALES_ORDER to translate demand identifiers into sales order references.
Usage Notes
MRP_GET_ORDER is an internal helper rather than a user-facing API and is typically not invoked directly by end users. It is called by the Oracle Planning Manager and planner workbench forms, by planning exception and pegging logic, and by concurrent programs that produce formatted planning output requiring document references. Because the metadata records that it is referenced by six other packages, it functions as a shared service within the planning code stack. Customizations that need to reproduce planning display behavior in extensions, reports, or custom concurrent programs may call SUPPLY_ORDER or SALES_ORDER through PL/SQL or SQL, but developers should treat the signature as Oracle-controlled internal infrastructure and validate behavior against the specific EBS release, as no formal public API contract is documented.
-
PACKAGE: APPS.MRP_GET_ORDER 12.2.2
-
PACKAGE: APPS.MRP_GET_ORDER 12.1.1
-
Table: FV_SF1080_DETAIL_TEMP 12.2.2
Line information for generation of the SF 1080 Report
-
Table: FV_SF1080_DETAIL_TEMP 12.1.1
Line information for generation of the SF 1080 Report
-
View: AR_XML_SO_INFO_V 12.2.2
APPS.AR_XML_SO_INFO_V·↳ AR_XML_VIEW_FUNCTIONS·↳ RA_CUSTOMER_TRX_LINES·Explore AR module →
-
View: AR_IDEP_ACTIONS_TAKEN 12.2.2
APPS.AR_IDEP_ACTIONS_TAKEN·↳ AR_IDEP_UTILS·↳ RA_CUSTOMER_TRX_ALL·↳ RA_CUSTOMER_TRX_LINES_ALL·Explore AR module →
-
Table: AR_COGS_REV_ITF 12.2.2
The AR_COGS_REV_ITF table holds temporary data for the COGS RXi reports.
-
View: MSC_CUST_BUCKET_V 12.1.1
APPS.MSC_CUST_BUCKET_V·↳ FND_GLOBAL·↳ MSC_SUP_DEM_ENTRIES_UI_V·↳ MSC_X_UTIL·Explore MSC module →
-
APPS.AR_IDEP_ACTIONS_NOT_TAKEN·↳ AR_IDEP_UTILS·↳ MTL_SYSTEM_ITEMS·↳ OE_ORDER_HEADERS_ALL·Explore AR module →
-
This maintains revenue related status changes for invoices.
-
Table: MSC_COLL_PARAMETERS 12.1.1
Table to Store Collection Session Parameter Information
-
APPS.ARBPA_CUSTOMER_TRX_HEADER·↳ AP_AMOUNT_UTILITIES_PKG·↳ AR_BPA_UTILS_PKG·↳ AR_INVOICE_COUNT_TERMS_V·Explore FND module →
-
Table: AR_COGS_REV_ITF 12.1.1
The AR_COGS_REV_ITF table holds temporary data for the COGS RXi reports.
-
View: MSC_CUST_BUCKET_V 12.2.2
APPS.MSC_CUST_BUCKET_V·↳ FND_GLOBAL·↳ MSC_SUP_DEM_ENTRIES_UI_V·↳ MSC_X_UTIL·Explore MSC module →
-
View: AR_XML_SO_INFO_V 12.1.1
APPS.AR_XML_SO_INFO_V·↳ AR_XML_VIEW_FUNCTIONS·↳ RA_CUSTOMER_TRX_LINES·Explore AR module →
-
this view picks up all the valid exception details
APPS.MSC_EXCEPTION_DETAILS_V·↳ MSC_DEMANDS·↳ MSC_EXCEPTION_DETAILS·↳ MSC_FULL_PEGGING·Explore MSC module →
-
this view picks up all the valid exception details
APPS.MSC_EXCEPTION_DETAILS_V·↳ MSC_DEMANDS·↳ MSC_EXCEPTION_DETAILS·↳ MSC_FULL_PEGGING·Explore MSC module →
-
APPS.RA_CUST_TRX_LN_ALL_MRC_V·↳ RA_CUSTOMER_TRX_LINES_ALL·↳ RA_MC_CUSTOMER_TRX_LINES·Explore AR module →
-
APPS.AR_IDEP_ACTIONS_NOT_TAKEN·↳ AR_IDEP_UTILS·↳ MTL_SYSTEM_ITEMS·↳ OE_ORDER_HEADERS_ALL·Explore AR module →
-
Contains CN transactions picked up in the AR data collection process.
-
View: IBE_INVOICE_DETAIL_V 12.2.2
APPS.IBE_INVOICE_DETAIL_V·↳ AR_LOOKUPS·↳ RA_CUSTOMER_TRX_LINES_ALL·Explore IBE module →
-
View: IBE_INVOICE_DETAIL_V 12.1.1
APPS.IBE_INVOICE_DETAIL_V·↳ AR_LOOKUPS·↳ RA_CUSTOMER_TRX_LINES_ALL·Explore IBE module →
-
APPS.ARBPA_CUSTOMER_TRX_LINE·↳ AR_BPA_UTILS_PKG·↳ AR_INVOICE_SQL_FUNC_PUB·↳ FND_CURRENCY·Explore FND module →
-
View: AR_INVOICE_LINES_V 12.2.2
Collects invoice line item information
APPS.AR_INVOICE_LINES_V·↳ AR_INVOICE_SQL_FUNC_PUB·↳ AR_MEMO_LINES·↳ AR_VAT_TAX_VL·Explore AR module →
-
APPS.ARBPA_CUSTOMER_TRX_LINE·↳ AR_BPA_UTILS_PKG·↳ AR_INVOICE_SQL_FUNC_PUB·↳ FND_CURRENCY·Explore FND module →
-
View: AR_IDEP_ACTIONS_TAKEN 12.1.1
APPS.AR_IDEP_ACTIONS_TAKEN·↳ AR_IDEP_UTILS·↳ RA_CUSTOMER_TRX_ALL·↳ RA_CUSTOMER_TRX_LINES_ALL·Explore AR module →
-
APPS.AR_LINE_REVENUE_DETAILS_V·↳ ARPT_SQL_FUNC_UTIL·↳ ARP_BAL_UTIL·↳ AR_RAMC_AUDIT_TRAIL·Explore AR module →
-
Table: MSC_COLL_PARAMETERS 12.2.2
Table to Store Collection Session Parameter Information
-
View: QA_RESULTS_V 12.1.1
Shows all quality results
APPS.QA_RESULTS_V·↳ AP_SUPPLIERS·↳ BOM_DEPARTMENTS·↳ BOM_RESOURCES·Explore QA module →
-
View: QA_RESULTS_FULL_V 12.2.2
Shows all quality results
APPS.QA_RESULTS_FULL_V·↳ AP_SUPPLIERS·↳ BOM_DEPARTMENTS·↳ BOM_RESOURCES·Explore QA module →
-
Skip Lot results for Receiving
APPS.QA_SKIPLOT_RCV_RESULTS_V·↳ AP_SUPPLIERS·↳ AP_SUPPLIER_SITES_ALL·↳ HZ_PARTIES·Explore QA module →
-
Skip Lot results for Receiving
APPS.QA_SKIPLOT_RCV_RESULTS_V·↳ AP_SUPPLIERS·↳ AP_SUPPLIER_SITES_ALL·↳ HZ_PARTIES·Explore QA module →
-
Customer Transactions Details View
APPS.ICX_RA_CUSTOMER_TRX_LINES_V·↳ AR_LOOKUPS·↳ FND_CURRENCY·↳ MTL_UNITS_OF_MEASURE·Explore ICX module →
-
Table: AR_SALES_TAX_REP_ITF 12.1.1
Report Exchange interface table for the US Sales Tax report
-
(Release 115)
APPS.RA_CUSTOMER_TRX_LINES_V·↳ ARH_ADDR_PKG·↳ ARPT_SQL_FUNC_UTIL·↳ ARP_BAL_UTIL·Explore AR module →
-
Quality Results Interface table for collection import
-
Information for each invoice line imported using AutoInvoice
-
APPS.AR_LINE_REVENUE_DETAILS_V·↳ ARPT_SQL_FUNC_UTIL·↳ ARP_BAL_UTIL·↳ AR_RAMC_AUDIT_TRAIL·Explore AR module →
-
This maintains revenue related status changes for invoices.
-
Invoice, debit memo, chargeback, credit memo and commitment lines