Results for “postal_code”
50+ results
AI-generated from documented ETRM metadata — verify critical details on the linked pages.
Overview
RA_CUSTOMER_BILL_VIEW is a read-only database view owned by the APPS schema in Oracle E-Business Suite Releases 12.1.1 and 12.2.2. It belongs to the Oracle Receivables (AR) product family and is registered in the E-Business Suite Tables and Views Repository (ETRM) with a VALID status. The view is described in the repository as presenting "information about customer who is billed," which precisely characterizes its scope: it exposes the billing identity and bill-to address attributes of a customer account for a given site use.
Functionally, the view acts as a convenience layer over the Oracle Trading Community Architecture (TCA) model, collapsing the multi-table party, account, site, and location structure into a single denormalized result set. Rather than forcing report authors and integrators to join four TCA tables and apply the SITE_USE_CODE = 'BILL_TO' filter manually, the view encapsulates that logic. This makes it suited to ad hoc reporting, custom concurrent programs, and outbound integration extracts where only billed customer and bill-to address information is required. Because it is a view and not a table, it stores no data of its own and inherits the security and data model of the underlying TCA tables.
Underlying Base Objects
The view is defined over four TCA tables, all referenced through APPS synonyms in the documented 12.2.2 metadata:
- HZ_CUST_ACCT_SITES_ALL (aliased ACCT_SITE) — the customer account site assignment, supplying CUST_ACCOUNT_ID, CUST_ACCT_SITE_ID, and account-site STATUS.
- HZ_CUST_SITE_USES_ALL (aliased SITE_USES) — the site use assignment, supplying SITE_USE_ID, TERRITORY_ID, and the SITE_USE_CODE qualifying the record as a bill-to.
- HZ_PARTY_SITES (aliased PARTY_SITE) — the party-site association linking the account site to a physical location.
- HZ_LOCATIONS (aliased LOC) — the address location record supplying ADDRESS1, CITY, STATE, and POSTAL_CODE.
The joins are driven from HZ_CUST_ACCT_SITES_ALL to HZ_CUST_SITE_USES_ALL on CUST_ACCT_SITE_ID, from HZ_CUST_ACCT_SITES_ALL to HZ_PARTY_SITES on PARTY_SITE_ID, and from HZ_PARTY_SITES to HZ_LOCATIONS on LOCATION_ID. The predicate SITE_USES.SITE_USE_CODE = 'BILL_TO' restricts the output to bill-to site uses, which is the defining filter of the view. No other site use codes, such as SHIP_TO or STATEMENT, are returned. The documented column list in the ETRM excerpt includes CUSTOMER_ID, BILL_ID, TERRITORY_ID, ADDRESS1, CITY, STATE, POSTAL_CODE, and STATUS, with BILL_ID corresponding to the underlying SITE_USE_ID exposed in the view text.
Key Columns
- CUSTOMER_ID — the customer account identifier sourced from HZ_CUST_ACCT_SITES_ALL.CUST_ACCOUNT_ID. This is the account-level key, not the party identifier.
- BILL_ID — the bill-to site use identifier (SITE_USE_ID). This distinguishes multiple bill-to sites belonging to the same customer account.
- TERRITORY_ID — the territory associated with the bill-to site use, used in territory-based and sales organization reporting.
- ADDRESS1, CITY, STATE, POSTAL_CODE — the formatted bill-to address components drawn from HZ_LOCATIONS.
- STATUS — the status flag of the customer account site, indicating whether the site assignment is active.
Common Use Cases and Queries
Typical uses include resolving the default bill-to address for a customer during invoice or statement processing, populating address blocks in custom reports, and validating bill-to configuration during data migration or reconciliation. The following query lists active bill-to sites for a specific customer account:
SELECT customer_id, bill_id, address1, city, state, postal_code, status FROM apps.ra_customer_bill_view WHERE customer_id = :p_customer_id AND status = 'A';SELECT customer_id, bill_id, territory_id, city, state FROM apps.ra_customer_bill_view WHERE territory_id = :p_territory_id;SELECT customer_id, COUNT(*) bill_to_sites FROM apps.ra_customer_bill_view GROUP BY customer_id HAVING COUNT(*) > 1;
Because the view is restricted to BILL_TO site uses, it should not be used to retrieve ship-to or statement addresses; those require direct queries against HZ_CUST_SITE_USES_ALL with the appropriate site use code.
-
View: RA_CUSTOMER_BILL_VIEW 12.2.2
Information about customer who is billed
APPS.RA_CUSTOMER_BILL_VIEW·↳ HZ_CUST_ACCT_SITES_ALL·↳ HZ_CUST_SITE_USES_ALL·↳ HZ_LOCATIONS·Explore AR module →
-
(Release 11.5 Only)
APPS.AR_ACTIVE_REMIT_TO_ADDRESSES_V·↳ ARH_ADDR_PKG·↳ FND_TERRITORIES_VL·↳ HZ_CUST_ACCT_SITES·Explore AR module →
-
View: RA_CUSTOMER_BILL_VIEW 12.1.1
Information about customer who is billed
APPS.RA_CUSTOMER_BILL_VIEW·↳ HZ_CUST_ACCT_SITES_ALL·↳ HZ_CUST_SITE_USES_ALL·↳ HZ_LOCATIONS·Explore AR module →
-
View: RA_CUSTOMER_SHIP_VIEW 12.2.2
Information about customer who gets the shipments
APPS.RA_CUSTOMER_SHIP_VIEW·↳ HZ_CUST_ACCT_SITES_ALL·↳ HZ_CUST_SITE_USES_ALL·↳ HZ_LOCATIONS·Explore AR module →
-
View: RA_CUSTOMER_SHIP_VIEW 12.1.1
Information about customer who gets the shipments
APPS.RA_CUSTOMER_SHIP_VIEW·↳ HZ_CUST_ACCT_SITES_ALL·↳ HZ_CUST_SITE_USES_ALL·↳ HZ_LOCATIONS·Explore AR module →
-
This table stores bank information.
-
Mapping of address elements to time zones
-
Mapping of address elements to time zones
-
(Release 11.5 Only)
APPS.AR_ACTIVE_REMIT_TO_ADDRESSES_V·↳ ARH_ADDR_PKG·↳ FND_TERRITORIES_VL·↳ HZ_CUST_ACCT_SITES·Explore AR module →
-
The AR_CMGT_BANK_REF_DATA table stores information about the banks where a company under credit review has active accounts.
-
The AR_CMGT_BANK_REF_DATA table stores information about the banks where a company under credit review has active accounts.
-
APPS.AR_XML_INVOICE_REMIT_TO_V·↳ ARH_ADDR_PKG·↳ AR_XML_VIEW_FUNCTIONS·↳ FND_TERRITORIES_VL·Explore AR module →
-
View: AR_MERGE_ADDRESSES_V 12.1.1
APPS.AR_MERGE_ADDRESSES_V·↳ ARP_ADDR_PKG·↳ AR_LOOKUPS·↳ FND_TERRITORIES_VL·Explore AR module →
-
APPS.AR_XML_INVOICE_REMIT_TO_V·↳ ARH_ADDR_PKG·↳ AR_XML_VIEW_FUNCTIONS·↳ FND_TERRITORIES_VL·Explore AR module →
-
The HZ_LOCATION_PROFILES table stores information, including a history of any changes and address validations for a subset of attributes from the HZ_LOCATIONS table
-
View: ARBV_LOCATIONS 12.1.1
APPS.ARBV_LOCATIONS·↳ HZ_CUST_ACCT_SITES_ALL·↳ HZ_LOCATIONS·↳ HZ_LOC_ASSIGNMENTS·Explore AR module →
-
APPS.AR_BILL_DRAWEE_ADDRESS_V·↳ AR_LOOKUPS·↳ FND_TERRITORIES_VL·↳ HZ_CUST_ACCOUNTS·Explore AR module →
-
View: AR_CMGT_PARTY_ACCOUNTS 12.2.2
APPS.AR_CMGT_PARTY_ACCOUNTS·↳ ARP_ADDR_PKG·↳ HZ_CUST_ACCOUNTS·↳ HZ_CUST_ACCT_SITES_ALL·Explore AR module →
-
This table stores bank information.
-
View: AR_CUSTOMER_FIND_V 12.1.1
APPS.AR_CUSTOMER_FIND_V·↳ AR_LOOKUPS·↳ FND_TERRITORIES_VL·↳ HZ_CUST_ACCOUNTS·Explore AR module →
-
View: ARFV_LOCATIONS 12.1.1
APPS.ARFV_LOCATIONS·↳ FND_TERRITORIES_VL·↳ HR_ALL_ORGANIZATION_UNITS·↳ HZ_CUST_ACCOUNTS·Explore AR module →
-
View: ARBV_LOCATIONS 12.2.2
APPS.ARBV_LOCATIONS·↳ HZ_CUST_ACCT_SITES_ALL·↳ HZ_LOCATIONS·↳ HZ_LOC_ASSIGNMENTS·Explore AR module →
-
View: ARFV_LOCATIONS 12.2.2
APPS.ARFV_LOCATIONS·↳ FND_TERRITORIES_VL·↳ HR_ALL_ORGANIZATION_UNITS·↳ HZ_CUST_ACCOUNTS·Explore AR module →
-
APPS.AR_CUSTOMER_CONTACT_FIND_V·↳ AR_CUSTOMER_FIND_V·↳ HZ_CONTACT_POINTS·↳ HZ_CUST_ACCOUNT_ROLES·Explore AR module →
-
View: AR_CMGT_PARTY_ACCOUNTS 12.1.1
APPS.AR_CMGT_PARTY_ACCOUNTS·↳ ARP_ADDR_PKG·↳ HZ_CUST_ACCOUNTS·↳ HZ_CUST_ACCT_SITES_ALL·Explore AR module →
-
View: AR_PARTY_FIND_V 12.2.2
APPS.AR_PARTY_FIND_V·↳ FND_TERRITORIES_VL·↳ HZ_LOCATIONS·↳ HZ_PARTIES·Explore AR module →
-
View: HZ_CONTACT_FIND_V 12.2.2
APPS.HZ_CONTACT_FIND_V·↳ FND_TERRITORIES_TL·↳ HZ_CONTACT_POINTS·↳ HZ_CUST_ACCOUNTS·Explore AR module →
-
View: AR_PARTY_FIND_V 12.1.1
APPS.AR_PARTY_FIND_V·↳ FND_TERRITORIES_VL·↳ HZ_LOCATIONS·↳ HZ_PARTIES·Explore AR module →
-
View: AR_SHIP_ADDRESS_V 12.2.2
Active Ship to Addresses
APPS.AR_SHIP_ADDRESS_V·↳ FND_GLOBAL·↳ FND_TERRITORIES_VL·↳ HZ_CUST_ACCT_RELATE·Explore AR module →
-
View: HZ_MERGE_ADDRESSES_V 12.2.2
APPS.HZ_MERGE_ADDRESSES_V·↳ ARP_ADDR_PKG·↳ AR_LOOKUPS·↳ FND_TERRITORIES_VL·Explore AR module →
-
APPS.HZ_CUSTOMER_PARTY_FIND_V·↳ ARPT_SQL_FUNC_UTIL·↳ FND_TERRITORIES_TL·↳ HZ_CUST_ACCOUNTS·Explore AR module →
-
The AR_CMGT_TRADE_REF_DATA table stores information about the a companys credit and trade relationships of a company under credit review with other creditors.
-
View: AR_MERGE_ADDRESSES_V 12.2.2
APPS.AR_MERGE_ADDRESSES_V·↳ ARP_ADDR_PKG·↳ AR_LOOKUPS·↳ FND_TERRITORIES_VL·Explore AR module →
-
(Release 11.5 Only)
APPS.AR_REMIT_TO_ADDRESSES_V·↳ ARH_ADDR_PKG·↳ FND_TERRITORIES_VL·↳ HZ_CUST_ACCT_SITES·Explore AR module →
-
View: AR_CUSTOMER_FIND_V 12.2.2
APPS.AR_CUSTOMER_FIND_V·↳ AR_LOOKUPS·↳ FND_TERRITORIES_VL·↳ HZ_CUST_ACCOUNTS·Explore AR module →
-
The HZ_LOCATION_PROFILES table stores information, including a history of any changes and address validations for a subset of attributes from the HZ_LOCATIONS table
-
View: HZ_MERGE_ADDRESSES_V 12.1.1
APPS.HZ_MERGE_ADDRESSES_V·↳ ARP_ADDR_PKG·↳ AR_LOOKUPS·↳ FND_TERRITORIES_VL·Explore AR module →
-
The AR_CMGT_TRADE_REF_DATA table stores information about the a companys credit and trade relationships of a company under credit review with other creditors.
-
APPS.AR_CUSTOMER_CONTACT_FIND_V·↳ AR_CUSTOMER_FIND_V·↳ HZ_CONTACT_POINTS·↳ HZ_CUST_ACCOUNT_ROLES·Explore AR module →
-
APPS.AR_BILL_DRAWEE_ADDRESS_V·↳ AR_LOOKUPS·↳ FND_TERRITORIES_VL·↳ HZ_CUST_ACCOUNTS·Explore AR module →
-
APPS.HZ_CUSTOMER_PARTY_SITE_FIND_V·↳ FND_TERRITORIES_TL·↳ HZ_CUST_ACCOUNTS·↳ HZ_CUST_ACCT_SITES·Explore AR module →
-
View: AR_SHIP_ADDRESS_V 12.1.1
Active Ship to Addresses
APPS.AR_SHIP_ADDRESS_V·↳ FND_GLOBAL·↳ FND_TERRITORIES_VL·↳ HZ_CUST_ACCT_SITES·Explore AR module →
-
View: AR_XML_INVOICE_TP_V 12.2.2
APPS.AR_XML_INVOICE_TP_V·↳ ARH_ADDR_PKG·↳ AR_XML_VIEW_FUNCTIONS·↳ FND_TERRITORIES_VL·Explore AR module →
-
View: AR_XML_INVOICE_TP_V 12.1.1
APPS.AR_XML_INVOICE_TP_V·↳ ARH_ADDR_PKG·↳ AR_XML_VIEW_FUNCTIONS·↳ FND_TERRITORIES_VL·Explore AR module →
-
(Release 11.5 Only)
APPS.AR_BILL_TO_ADDRESSES_ACTIVE_V·↳ ARH_ADDR_PKG·↳ FND_TERRITORIES_VL·↳ HZ_CUST_ACCT_SITES·Explore AR module →
-
(Release 11.5 Only)
APPS.AR_SHIP_TO_ADDRESSES_ACTIVE_V·↳ ARH_ADDR_PKG·↳ FND_TERRITORIES_VL·↳ HZ_CUST_ACCT_SITES·Explore AR module →
-
(Release 11.5 Only)
APPS.AR_BILL_TO_ADDRESSES_ACTIVE_V·↳ ARH_ADDR_PKG·↳ FND_TERRITORIES_VL·↳ HZ_CUST_ACCT_SITES·Explore AR module →
-
(Release 11.5 Only)
APPS.AR_SHIP_TO_ADDRESSES_ACTIVE_V·↳ ARH_ADDR_PKG·↳ FND_TERRITORIES_VL·↳ HZ_CUST_ACCT_SITES·Explore AR module →
-
APPS.HZ_CUSTOMER_PARTY_SITE_FIND_V·↳ FND_TERRITORIES_TL·↳ HZ_CUST_ACCOUNTS·↳ HZ_CUST_ACCT_SITES·Explore AR module →
-
Customer address information