Search Results oe_invoice_to_orgs_v
Overview
The OE_INVOICE_TO_ORGS_V view is a predefined, seeded database object owned by the APPS schema within the Oracle E-Business Suite Order Management (ONT) product family. It is registered as VALID in the ETRM repository for both the 12.1.1 and 12.2.2 releases. The view presents the bill-to organization context associated with a customer site use, effectively exposing invoice-to organization, location, and address information in a denormalized form suitable for Order Management processing, reporting, and integration.
Functionally, the view shields callers from the multi-table structure of Oracle's Trading Community Architecture (TCA) customer model. Rather than joining account, site, site-use, party-site, and location entities directly, Order Management components, concurrent programs, and external integrations query this view to retrieve a single consolidated record describing the bill-to organization for a given customer destination. The organizational identifier exposed by the view is derived from the SITE_USE_ID of the underlying customer site use, meaning the view's notion of "organization" is anchored to the TCA site-use construct rather than to the HR organization model. Many standard EBS fields that are not meaningful for this object, such as business group, key flexfield identifiers, and audit columns, are deliberately projected as NULL to preserve a fixed column interface.
Underlying Base Objects
Per the documented ETRM metadata, OE_INVOICE_TO_ORGS_V is defined over the following base objects, all referenced through public synonyms in the APPS schema:
- HZ_CUST_SITE_USES_ALL — The primary driver of the query, aliased as SITE. Site-use records describe how a customer site is used, including bill-to, ship-to, and other usage purposes. Columns such as SITE_USE_ID, STATUS, PRICE_LIST_ID, PAYMENT_TERM_ID, and the shipping tolerance and freight attributes are sourced from here.
- HZ_CUST_ACCT_SITES — Aliased as ACCT_SITE, this object links a customer account to a physical site and supplies CUST_ACCT_SITE_ID, CUST_ACCOUNT_ID, and the account-site status.
- HZ_PARTY_SITES — Provides the association between the account site and the underlying party site, bridging the account and location layers of the TCA model.
- HZ_LOCATIONS — Aliased as LOC, this object contributes the address attributes, including ADDRESS1 through ADDRESS4, CITY, POSTAL_CODE, COUNTRY, COUNTY, and the merged STATE/PROVINCE value.
The view therefore sits at the intersection of the TCA account-site-use and location structures rather than directly over any Order Management transaction entity.
Key Columns
The view exposes a broad projection of columns. The most significant include:
- ORGANIZATION_ID — Populated from SITE.SITE_USE_ID, identifying the bill-to organization in the site-use sense.
- LOCATION_ID / LOCATION_CODE / NAME — The site-use identifier, location code, and location name.
- CUST_ACCOUNT_ID, CUST_ACCT_SITE_ID, SITE_USE_ID — Foreign keys into the TCA customer account and site architecture.
- ADDRESS_LINE_1 through ADDRESS_LINE_4, TOWN_OR_CITY, POSTAL_CODE, COUNTRY, COUNTY, STATE/PROVINCE — The full postal address of the bill-to location.
- PRICE_LIST_ID, PAYMENT_TERM_ID, FOB_POINT_CODE, FREIGHT_TERMS_CODE, SHIPPING_METHOD_CODE — Default commercial and shipping attributes.
- SHIP_PARTIAL_ALLOWED, OVER_SHIPMENT_TOLERANCE, UNDER_SHIPMENT_TOLERANCE, OVER_RETURN_TOLERANCE, UNDER_RETURN_TOLERANCE — Order fulfillment constraint parameters.
- PRIMARY_SALESREP_ID, CONTACT_ID, PRIMARY_FLAG, ORDER_TYPE_ID, STATUS — Assignment and state attributes for the site use.
Columns that are not applicable to this object, including BUSINESS_GROUP_ID, COST_ALLOCATION_KEYFLEX_ID, SOFT_CODING_KEYFLEX_ID, date-active fields, comments, and the ATTRIBUTE1 through ATTRIBUTE20 descriptive flexfield columns, are returned as NULL.
Common Use Cases and Queries
The view is typically used to resolve bill-to organization details for an order or to drive pick-list and validation logic. A representative query retrieving bill-to address and commercial defaults for a given site use is:
- Customer bill-to lookup: SELECT organization_id, name, address_line_1, town_or_city, country, price_list_id, payment_term_id FROM oe_invoice_to_orgs_v WHERE cust_account_id = :p_account_id AND primary_flag = 'Y';
- Integration extraction: Data-pump or interface programs select the address and contact columns to populate downstream billing, tax, or third-party systems.
- Validation and defaults: Order Entry and pricing logic reference the price list, payment term, and shipping tolerance columns to default or validate order header values.
- Reporting: Exceptions and order-status reports join this view to order tables on site-use or account identifiers to display customer-facing bill-to information.
Because the underlying objects are TCA synonyms, any query is subject to the standard customer and site-use security and status filtering expected in TCA-based reporting.
-
View: OE_INVOICE_TO_ORGS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:ONT.OE_INVOICE_TO_ORGS_V, object_name:OE_INVOICE_TO_ORGS_V, status:VALID, product: ONT - Order Management , description: Bill to organization , implementation_dba_data: APPS.OE_INVOICE_TO_ORGS_V ,
-
View: OE_INVOICE_TO_ORGS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:ONT.OE_INVOICE_TO_ORGS_V, object_name:OE_INVOICE_TO_ORGS_V, status:VALID, product: ONT - Order Management , description: Bill to organization , implementation_dba_data: APPS.OE_INVOICE_TO_ORGS_V ,
-
VIEW: APPS.OE_AK_INVOICE_TO_ORGS_V
12.1.1
-
VIEW: APPS.OE_AK_INVOICE_TO_ORGS_V
12.2.2
-
APPS.OE_EXTERNAL_CREDIT_PVT SQL Statements
12.2.2
-
APPS.OE_EXTERNAL_CREDIT_PVT SQL Statements
12.1.1
-
APPS.OE_CNCL_VALIDATE_HEADER SQL Statements
12.1.1
-
APPS.OE_CNCL_VALIDATE_HEADER SQL Statements
12.2.2
-
View: OE_AK_INVOICE_TO_ORGS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:ONT.OE_AK_INVOICE_TO_ORGS_V, object_name:OE_AK_INVOICE_TO_ORGS_V, status:VALID, product: ONT - Order Management , implementation_dba_data: APPS.OE_AK_INVOICE_TO_ORGS_V ,
-
VIEW: APPS.ASO_I_ORDER_HEADERS_V
12.1.1
-
VIEW: APPS.ASO_I_ORDER_HEADERS_V
12.2.2
-
APPS.OE_EXT_CREDIT_EXPOSURE_PVT SQL Statements
12.1.1
-
APPS.OE_EXT_CREDIT_EXPOSURE_PVT SQL Statements
12.2.2
-
View: OE_AK_INVOICE_TO_ORGS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:ONT.OE_AK_INVOICE_TO_ORGS_V, object_name:OE_AK_INVOICE_TO_ORGS_V, status:VALID, product: ONT - Order Management , implementation_dba_data: APPS.OE_AK_INVOICE_TO_ORGS_V ,
-
PACKAGE BODY: APPS.OE_CREDIT_PUB
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OE_CREDIT_PUB, status:VALID,
-
PACKAGE BODY: APPS.OE_EXTERNAL_CREDIT_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OE_EXTERNAL_CREDIT_PVT, status:VALID,
-
PACKAGE BODY: APPS.OE_EXTERNAL_CREDIT_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OE_EXTERNAL_CREDIT_PVT, status:VALID,
-
PACKAGE BODY: APPS.OE_HOLD_SOURCES_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OE_HOLD_SOURCES_PVT, status:VALID,
-
PACKAGE BODY: APPS.OE_CREDIT_PUB
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OE_CREDIT_PUB, status:VALID,
-
PACKAGE BODY: APPS.OE_CNCL_VALUE_TO_ID
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OE_CNCL_VALUE_TO_ID, status:VALID,
-
PACKAGE BODY: APPS.OE_CNCL_VALIDATE_HEADER
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OE_CNCL_VALIDATE_HEADER, status:VALID,
-
PACKAGE BODY: APPS.OE_CNCL_VALIDATE
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OE_CNCL_VALIDATE, status:VALID,
-
PACKAGE BODY: APPS.OE_HOLD_SOURCES_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OE_HOLD_SOURCES_PVT, status:VALID,
-
APPS.ECEPOI SQL Statements
12.1.1
-
PACKAGE BODY: APPS.OE_EXT_CREDIT_EXPOSURE_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OE_EXT_CREDIT_EXPOSURE_PVT, status:VALID,
-
PACKAGE BODY: APPS.OE_CNCL_VALIDATE
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OE_CNCL_VALIDATE, status:VALID,
-
APPS.ECEPOI SQL Statements
12.2.2
-
PACKAGE BODY: APPS.OE_EXT_CREDIT_EXPOSURE_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OE_EXT_CREDIT_EXPOSURE_PVT, status:VALID,
-
PACKAGE BODY: APPS.OE_CNCL_VALUE_TO_ID
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OE_CNCL_VALUE_TO_ID, status:VALID,
-
APPS.OE_CNCL_VALUE_TO_ID SQL Statements
12.1.1
-
PACKAGE BODY: APPS.OE_BULK_VALUE_TO_ID
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OE_BULK_VALUE_TO_ID, status:VALID,
-
PACKAGE BODY: APPS.MRP_CREATE_SCHEDULE_ISO
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:MRP_CREATE_SCHEDULE_ISO, status:VALID,
-
PACKAGE BODY: APPS.OE_CNCL_VALIDATE_HEADER
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OE_CNCL_VALIDATE_HEADER, status:VALID,
-
PACKAGE BODY: APPS.ECEPOI
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:ECEPOI, status:VALID,
-
PACKAGE BODY: APPS.OE_BULK_VALUE_TO_ID
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OE_BULK_VALUE_TO_ID, status:VALID,
-
PACKAGE BODY: APPS.OZF_FUNDS_PUB
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OZF_FUNDS_PUB, status:VALID,
-
PACKAGE BODY: APPS.OE_VALUE_TO_ID
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OE_VALUE_TO_ID, status:VALID,
-
PACKAGE BODY: APPS.ECEPOI
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:ECEPOI, status:VALID,
-
PACKAGE BODY: APPS.OE_ORDER_CACHE
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OE_ORDER_CACHE, status:VALID,
-
APPS.OE_CNCL_VALUE_TO_ID SQL Statements
12.2.2
-
PACKAGE BODY: APPS.OE_ORDER_CACHE
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OE_ORDER_CACHE, status:VALID,
-
PACKAGE BODY: APPS.OE_VALUE_TO_ID
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OE_VALUE_TO_ID, status:VALID,
-
APPS.OE_CNCL_VALIDATE_LINE SQL Statements
12.1.1
-
APPS.OE_CNCL_VALIDATE_LINE SQL Statements
12.2.2
-
PACKAGE BODY: APPS.OE_LINE_PAYMENT_UTIL
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OE_LINE_PAYMENT_UTIL, status:VALID,
-
PACKAGE BODY: APPS.OE_HEADER_PAYMENT_UTIL
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OE_HEADER_PAYMENT_UTIL, status:VALID,
-
PACKAGE BODY: APPS.OE_ID_TO_VALUE
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OE_ID_TO_VALUE, status:VALID,
-
PACKAGE BODY: APPS.OE_VALIDATE_HEADER
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OE_VALIDATE_HEADER, status:VALID,
-
PACKAGE BODY: APPS.OE_DEFAULT_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OE_DEFAULT_PVT, status:VALID,
-
PACKAGE BODY: APPS.OE_DEFAULT_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OE_DEFAULT_PVT, status:VALID,