Results for “orig_sys_document_ref”
50+ results
AI-generated from documented ETRM metadata — verify critical details on the linked pages.
Overview
GML_OM_MIG_VALIDATE_PKG is an Oracle EBS PL/SQL package owned by APPS within the Process Manufacturing (GML) module set. Its name — GML Order Management Migration Validate — describes its role precisely: it validates and derives reference values needed to migrate legacy order data into Oracle Order Management (OM). In Oracle EBS 12.1.1 and 12.2.2, legacy conversion routines cannot insert directly into OM base tables without first resolving foreign keys and validating lookup codes. This package supplies that resolution layer, converting the loosely typed values found in staging tables (order numbers, terms codes, customer identifiers, warehouse codes) into the internal identifiers OM requires, and returning a boolean or an OUT parameter as appropriate.
The package is declared AUTHID CURRENT_USER, so it executes under the privileges of the calling session rather than the definer — an important consideration when it is called from SQL*Loader control scripts, custom PL/SQL migration programs, or concurrent request code. The source header records a development revision from 2007 and references Bug 5840624, indicating the package has been stable across the 11i-to-R12 lifecycle.
Key Procedures and Functions
The documented interface comprises 21 programs, separable into validators (which return a boolean or a resolved value) and derivation procedures (which populate OUT parameters for OM header columns).
- VALIDATE_ORDER_NO — confirms that an incoming order number is acceptable for the migration load, avoiding duplicate or malformed order keys.
- VALIDATE_PAYMENT_TERM — checks a payment terms code and returns the corresponding term identifier.
- VALIDATE_CURR_CODE — verifies that a currency code is defined and active.
- ORDER_TYPE_ID — resolves the order type identifier and a related price list from order type and operating unit context.
- ORIG_SYS_DOCUMENT_REF — constructs or validates the original system document reference used to trace migrated orders back to their source system.
- PRICE_LIST_ID — derives the price list applicable to the billing currency.
- SHIP_TO_CONTACT_ID, SHIP_FROM_ORG_ID, SHIP_TO_ORG_ID, INVOICE_TO_ORG_ID, DELIVER_TO_ORG_ID — resolve the party, contact, and inventory organization identifiers required for OM header and line shipping, billing, and delivery fields.
- FOB_POINT_CODE — validates and normalizes the FOB point code for shipping terms.
- VALIDATE_CUSTOMER, VALIDATE_SALESREP, VALIDATE_SHIPPER — validate the customer account, sales representative, and shipper reference data used on migrated orders.
- FETCH_FREIGHT_TERMS_CODE — retrieves the freight terms code associated with the shipment context.
- HOLD_REASON_CODE — validates the hold reason applied to orders placed on hold during migration.
- MIGRATE_SHIP_METHODS — migrates or converts ship method reference data as part of the load.
- GET_RATE_TYPE_CODE — returns the rate type code used for currency conversion on the order.
- ERROR_LOG — records validation failures for operator review and reprocessing, with a package global
g_order_idandg_line_idproviding row context across calls.
Tables Accessed
The ETRM metadata for this package does not enumerate the tables it references; it lists no APPS synonyms or base tables explicitly. Functionally, however, validation and derivation of order type, price list, customer, terms, currency, organizations, and sales representatives necessarily reads the corresponding OM and reference setup entities — order types, price lists, customers, payment terms, currencies, inventory organizations, and sales rep definitions — through APPS synonyms. The package is documented as referenced by zero other packages, confirming it is a leaf-level utility consumed directly by migration code rather than an internal dependency of other PL/SQL APIs.
Usage Notes
GML_OM_MIG_VALIDATE_PKG is not invoked by standard EBS forms or seeded concurrent programs. It is a migration-support package called from custom conversion scripts, SQL*Loader post-load validation routines, and bespoke PL/SQL programs that stage legacy orders into OM interface tables or base tables. Because it is AUTHID CURRENT_USER, the calling schema must hold the necessary privileges on the underlying APPS objects. The user search term "order_id" reflects the package's pervasive use of an order identifier as a context parameter on nearly every program, alongside the package globals g_order_id and g_line_id, which allow the ERROR_LOG utility to attribute failures to the specific order or line being processed. Callers should expect boolean-return validators to be checked before the DERIVE-style procedures are called, so that only validated orders proceed to insertion.
-
PACKAGE: APPS.OE_VALIDATE 12.2.2
-
PACKAGE: APPS.OE_VALIDATE 12.1.1
-
View: OE_EM_PURGE_LOV_V 12.1.1
APPS.OE_EM_PURGE_LOV_V·↳ OE_EM_INFORMATION·↳ OE_HEADERS_IFACE_ALL·↳ OE_HEADER_ACKS·Explore ONT module →
-
View: OE_EM_PURGE_LOV_V 12.2.2
APPS.OE_EM_PURGE_LOV_V·↳ OE_EM_INFORMATION·↳ OE_HEADERS_IFACE_ALL·↳ OE_HEADER_ACKS·Explore ONT module →
-
View: M4R_3A6_OE_LINE_ACKS 12.2.2
View same as OE_LINE_ACKS, with one additional column MODEL_REFERENCE_TEXT
APPS.M4R_3A6_OE_LINE_ACKS·↳ OE_LINE_ACKS·↳ OE_ORDER_LINES_ALL·Explore CLN module →
-
This table maintains tracking information for Order Import and Electronic Messaging (EDI & XML)
-
This table maintains tracking information for Order Import and Electronic Messaging (EDI & XML)
-
View: OE_LOTSERIAL_ACKS_V 12.2.2
View based on the oe_lotserial_acks table, striped on organization.
APPS.OE_LOTSERIAL_ACKS_V·↳ OE_LOTSERIAL_ACKS·Explore ONT module →
-
View: OE_LOTSERIAL_ACKS_V 12.1.1
View based on the oe_lotserial_acks table, striped on organization.
APPS.OE_LOTSERIAL_ACKS_V·↳ OE_LOTSERIAL_ACKS·Explore ONT module →
-
Table: OE_CONFIG_DETAILS_TMP 12.1.1
-
Table: OE_CONFIG_DETAILS_TMP 12.2.2
-
This is a multi-org table for inventory reservations open interface.
-
View: OE_CRM_ORDER_HEADERS_V 12.2.2
Compatible view provoded for CRM usage only. The view is based on oe_order_headers_all table.
APPS.OE_CRM_ORDER_HEADERS_V·↳ OE_ORDER_HEADERS·Explore ONT module →
-
View: OE_CRM_ORDER_HEADERS_V 12.1.1
Compatible view provoded for CRM usage only. The view is based on oe_order_headers_all table.
APPS.OE_CRM_ORDER_HEADERS_V·↳ OE_ORDER_HEADERS·Explore ONT module →
-
View: CLN_XML_ITEMS_V 12.1.1
View for SHIPITEM items section in OAG SHOW_SHIPMENT_005 XML payload
APPS.CLN_XML_ITEMS_V·↳ MTL_CUSTOMER_ITEMS·↳ MTL_ITEM_FLEXFIELDS·↳ OE_ORDER_HEADERS_ALL·Explore CLN module →
-
View: M4R_3A6_OE_LINE_ACKS 12.1.1
View same as OE_LINE_ACKS, with one additional column MODEL_REFERENCE_TEXT
APPS.M4R_3A6_OE_LINE_ACKS·↳ OE_LINE_ACKS·↳ OE_ORDER_LINES_ALL·Explore CLN module →
-
This view includes all columns from the Oracle Order Management tables and is currently used by Oracle Sales Compensation only.
APPS.ASO_I_OE_ORDER_HEADERS_V·↳ OE_ORDER_HEADERS·Explore ASO module →
-
This view includes all columns from the Oracle Order Management tables and is currently used by Oracle Sales Compensation only.
APPS.ASO_I_OE_ORDER_HEADERS_V·↳ OE_ORDER_HEADERS·Explore ASO module →
-
View: CLN_XML_ITEMS2_V 12.1.1
View for SHIPITEM items section in OAG SHOW_SHIPMENT_005 XML payload
APPS.CLN_XML_ITEMS2_V·↳ MTL_CUSTOMER_ITEMS·↳ MTL_ITEM_FLEXFIELDS·↳ OE_ORDER_HEADERS_ALL·Explore CLN module →
-
This is a multi-org table for sales order/line credits open interface.
-
This is a multi-org table for return line lot serials open interface.
-
This table stores information about the acknowledgements for lot and serial numbers for return lines.
-
This table stores information about the acknowledgements for lot and serial numbers for return lines.
-
This table will store the Price Protection Transaction Header level details
-
View: OE_PRN_ORDER_HEADERS_V 12.2.2
APPS.OE_PRN_ORDER_HEADERS_V·↳ FND_CURRENCIES_TL·↳ FND_CURRENCY·↳ OE_AGREEMENTS_TL·Explore ONT module →
-
View: ASO_I_ORDER_HEADERS_V 12.1.1
view provides order related information
APPS.ASO_I_ORDER_HEADERS_V·↳ HZ_CUST_ACCOUNTS·↳ HZ_CUST_ACCOUNT_ROLES·↳ HZ_PARTIES·Explore ASO module →
-
This table is used to store Payments data to be imported into OE_PAYMENTS table. This table will be used by Order Import Program.
-
View: OE_PRN_ORDER_HEADERS_V 12.1.1
APPS.OE_PRN_ORDER_HEADERS_V·↳ FND_CURRENCIES_TL·↳ FND_CURRENCY·↳ OE_AGREEMENTS_TL·Explore ONT module →
-
This is a multi-org table for inventory reservations open interface.
-
This is a multi-org open interface table for sales order/line price adjustments.