Search Results customer_prospect_code
Overview
The APPS.MTL_CUSTOMER_ITEMS_ALL_V view presents Oracle Inventory customer item definitions in a flattened, reporting-ready form. It is catalogued under the INV – Inventory product family and carries the restrictive description "10SC ONLY," indicating that it was implemented specifically for a 10SC (discrete/process industry) deployment rather than as a broadly supported Applications view. In Oracle E-Business Suite 12.1.1 and 12.2.2, the object remains a VALID APPS-owned view, meaning it is queryable through the standard APPS schema and inherits the privileges of that schema for direct SQL access, custom reports, and integration extracts.
The view is significant because it joins customer item master data to the Oracle Trading Community Architecture (TCA) parties, customer accounts, addresses, lookups, commodity codes, and territories. Beyond simple joins, it derives several presentation attributes, including a concatenated address produced through ARP_ADDR_PKG.FORMAT_ADDRESS and a hard-coded CUSTOMER_PROSPECT_CODE value of 'CUSTOMER'. This makes the view useful where an interface or report expects a uniform customer/prospect discriminator without having to inspect the underlying HZ tables.
Underlying Base Objects
The documented base objects for this view are MTL_CUSTOMER_ITEMS, MTL_COMMODITY_CODES, MFG_LOOKUPS, AR_LOOKUPS, FND_TERRITORIES_VL, HZ_CUST_ACCOUNTS, HZ_CUST_ACCT_SITES_ALL, HZ_LOCATIONS, HZ_PARTIES, HZ_PARTY_SITES, and the ARP_ADDR_PKG package. The primary driving table is MTL_CUSTOMER_ITEMS, aliased MCI in the view text; it supplies the customer item identifier, customer identifier, customer item number, item definition level, model and container relationships, demand tolerances, and the fifteen attribute columns. Customer name and status are resolved from HZ_PARTIES and HZ_CUST_ACCOUNTS (HZP and HZC aliases). Address data flows through HZ_CUST_ACCT_SITES_ALL, HZ_PARTY_SITES, and HZ_LOCATIONS, exposed as the RAD alias, with country and address style from FND_TERRITORIES_VL. Customer category meaning is decoded through AR_LOOKUPS, item level through MFG_LOOKUPS, and commodity code description through MTL_COMMODITY_CODES. The dependent package ARP_ADDR_PKG supplies the formatted, concatenated address string.
Key Columns
- CUSTOMER_ITEM_ID / CUSTOMER_ID / MODEL_CUSTOMER_ITEM_ID: Primary keys linking a customer item to its owning customer and to any model item it references.
- CUSTOMER_PROSPECT_CODE: A literal value of 'CUSTOMER' generated by the view, not stored in MTL_CUSTOMER_ITEMS; it is the column most often cited by users searching this object.
- CUSTOMER_NAME, CUSTOMER_NUMBER, CUSTOMER_STATUS: Party name, account number, and TCA account status from HZ_PARTIES and HZ_CUST_ACCOUNTS.
- ADDRESS1–POSTAL_CODE and CONCATENATED_ADDRESS: Address components plus an ARP_ADDR_PKG-formatted address for display or printing.
- CUSTOMER_ITEM_NUMBER, ITEM_DEFINITION_LEVEL, ITEM_LEVEL, CUSTOMER_ITEM_DESC: Customer-facing item identification and its decoded definition level.
- COMMODITY_CODE_ID, COMMODITY_CODE, DESCRIPTION: Commodity classification from MTL_COMMODITY_CODES.
- INACTIVE_FLAG, DEMAND_TOLERANCE_POSITIVE/NEGATIVE, MIN_FILL_PERCENTAGE: Operational attributes governing item availability and planning tolerances.
- ATTRIBUTE1–ATTRIBUTE15: Descriptive flexfield segments passed through from the customer item record.
- ROW_ID, CREATED_BY, CREATION_DATE, LAST_UPDATED_BY, LAST_UPDATE_DATE, REQUEST_ID, PROGRAM_APPLICATION_ID, PROGRAM_ID, PROGRAM_UPDATE_DATE: Standard WHO/audit columns surfaced for traceability.
Common Use Cases and Queries
Typical uses include customer item catalog extracts, cross-reference validation between Oracle Inventory and customer-supplied part numbers, and reports that must display a customer/prospect flag. Because the view already supplies CUSTOMER_PROSPECT_CODE and a formatted address, it reduces the need for application-side string construction and TCA joins.
Example query listing active customer items with their owning customer:
SELECT customer_item_number, customer_name, customer_number, customer_prospect_code, item_level, inactive_flag FROM apps.mtl_customer_items_all_v WHERE inactive_flag = 'N' ORDER BY customer_name, customer_item_number;
Example query isolating the prospect-code column referenced in the search:
SELECT customer_id, customer_name, customer_number, customer_prospect_code FROM apps.mtl_customer_items_all_v WHERE customer_prospect_code = 'CUSTOMER';
Example query joining the view to inventory for reconciliation:
SELECT v.customer_item_number, v.customer_name, v.commodity_code, v.demand_tolerance_positive FROM apps.mtl_customer_items_all_v v WHERE v.customer_id = :customer_id AND NVL(v.inactive_flag,'N') = 'N';
Because the view is documented as "10SC ONLY," implementations should confirm its presence in each target instance and treat it as a customer-specific object rather than a guaranteed standard interface when upgrading between 12.1.1 and 12.2.2.
-
View: MTL_CUSTOMER_ITEMS_ALL_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:INV.MTL_CUSTOMER_ITEMS_ALL_V, object_name:MTL_CUSTOMER_ITEMS_ALL_V, status:VALID, product: INV - Inventory , description: 10SC ONLY , implementation_dba_data: APPS.MTL_CUSTOMER_ITEMS_ALL_V ,
-
View: MTL_CUSTOMER_ITEMS_ALL_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:INV.MTL_CUSTOMER_ITEMS_ALL_V, object_name:MTL_CUSTOMER_ITEMS_ALL_V, status:VALID, product: INV - Inventory , description: 10SC ONLY , implementation_dba_data: APPS.MTL_CUSTOMER_ITEMS_ALL_V ,
-
View: MTL_CUSTOMER_ITEM_XREFS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:INV.MTL_CUSTOMER_ITEM_XREFS_V, object_name:MTL_CUSTOMER_ITEM_XREFS_V, status:VALID, product: INV - Inventory , description: 10SC ONLY , implementation_dba_data: APPS.MTL_CUSTOMER_ITEM_XREFS_V ,
-
View: MTL_CUSTOMER_ITEMS_ACTIVE_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:INV.MTL_CUSTOMER_ITEMS_ACTIVE_V, object_name:MTL_CUSTOMER_ITEMS_ACTIVE_V, status:VALID, product: INV - Inventory , description: 10SC ONLY , implementation_dba_data: APPS.MTL_CUSTOMER_ITEMS_ACTIVE_V ,
-
View: MTL_CUSTOMER_ITEM_XREFS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:INV.MTL_CUSTOMER_ITEM_XREFS_V, object_name:MTL_CUSTOMER_ITEM_XREFS_V, status:VALID, product: INV - Inventory , description: 10SC ONLY , implementation_dba_data: APPS.MTL_CUSTOMER_ITEM_XREFS_V ,
-
View: MTL_CUSTOMER_ITEMS_ACTIVE_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:INV.MTL_CUSTOMER_ITEMS_ACTIVE_V, object_name:MTL_CUSTOMER_ITEMS_ACTIVE_V, status:VALID, product: INV - Inventory , description: 10SC ONLY , implementation_dba_data: APPS.MTL_CUSTOMER_ITEMS_ACTIVE_V ,