Results for “parts_loop_id”
50+ results
AI-generated from documented ETRM metadata — verify critical details on the linked pages.
Overview
The view APPS.CSP_AVAILABLE_PARTS_IN_LOOP_V belongs to the Spares Management module (CSP) in Oracle E-Business Suite, available in both 12.1.1 and 12.2.2. Its documented purpose is to check the availability of a part within a given parts loop and to return a list of all subinventories associated with that loop. A parts loop is a logical grouping of subinventories used by depot repair and spares operations to define where a spare part may be sourced from or replenished. This view therefore bridges the physical on-hand inventory layer with the loop configuration layer, exposing, per loop, organization, subinventory, and item revision, a computed availability figure for the item.
Its principal role is reporting and integration: it allows users and downstream processes to answer the recurring question "what quantity of this part is available in this loop?" without manually joining loop definitions to on-hand quantities. The user search term available_quantity maps directly to the column produced by this view, which is not stored but derived at query time through a server-side function call.
Underlying Base Objects
Per the ETRM 12.2.2 metadata, the view references the following documented base objects:
- CSP_PARTS_LOOPS_B (synonym) — the parts loop definition table. It supplies
PARTS_LOOP_IDandORGANIZATION_ID, anchoring the loop context. - CSP_SEC_INVENTORIES (synonym) — the loop-to-subinventory mapping table. It supplies
SECONDARY_INVENTORY_NAMEandCONDITION_TYPE, so each row represents one subinventory valid within the loop. - MTL_ONHAND_SUB_V (view) — the on-hand subinventory aggregation view. It supplies
INVENTORY_ITEM_ID,REVISION, and the subinventory code that is joined to the loop's subinventory. - CSP_VALIDATE_PUB (package) — invoked as
CSP_VALIDATE_PUB.GET_AVAIL_QTY(...)to compute the available quantity dynamically. This is the source of the available_quantity value. - HR_GENERAL and HR_SECURITY (packages) — supporting packages typically referenced for organizational and security context resolution within the CSP validation logic.
The joins are equality-based on ORGANIZATION_ID between the loop, its subinventories, and on-hand records, and on SECONDARY_INVENTORY_NAME = SUBINVENTORY_CODE between the loop mapping and on-hand aggregation.
Key Columns
- PARTS_LOOP_ID — identifier of the parts loop being evaluated.
- ORGANIZATION_ID — inventory organization in which the loop and on-hand are assessed.
- SUBINVENTORY_CODE — the subinventory resolved through the join to on-hand data.
- CONDITION_TYPE — the condition classification of the subinventory within the loop (for example, new or refurbished stock).
- AVAILABLE_QUANTITY — the computed availability of the item, returned by
CSP_VALIDATE_PUB.GET_AVAIL_QTYusing organization, subinventory, and item identifiers. Because it is function-derived, it is not indexed or stored. - INVENTORY_ITEM_ID — the inventory item for which availability is evaluated.
- REVISION — the revision of the item present in the subinventory.
Common Use Cases and Queries
Typical uses include checking spare availability across all subinventories in a loop before a repair order is released, feeding availability screens or concurrent reports, and integrating loop-level availability into custom replenishment logic.
SELECT parts_loop_id,
organization_id,
subinventory_code,
condition_type,
inventory_item_id,
revision,
available_quantity
FROM apps.csp_available_parts_in_loop_v
WHERE parts_loop_id = :p_loop_id
AND organization_id = :p_org_id
AND available_quantity > 0;
A second common pattern aggregates availability per item across a loop:
SELECT inventory_item_id,
SUM(available_quantity) available_qty
FROM apps.csp_available_parts_in_loop_v
WHERE organization_id = :p_org_id
GROUP BY inventory_item_id;
Because availability is computed per row via a PL/SQL call, performance-sensitive queries should filter aggressively on loop, organization, and item before aggregating.
-
Checks availability of part in a given loop and gives a list of all the subinventories
APPS.CSP_AVAILABLE_PARTS_IN_LOOP_V·↳ CSP_PARTS_LOOPS_B·↳ CSP_SEC_INVENTORIES·↳ CSP_VALIDATE_PUB·Explore CSP module →
-
Checks availability of part in a given loop and gives a list of all the subinventories
APPS.CSP_AVAILABLE_PARTS_IN_LOOP_V·↳ CSP_PARTS_LOOPS_B·↳ CSP_SEC_INVENTORIES·↳ CSP_VALIDATE_PUB·Explore CSP module →
-
Parts Loop definition
-
View: CSP_PARTS_LOOPS_VL 12.1.1
Shows parts loops with translated description.
APPS.CSP_PARTS_LOOPS_VL·↳ CSP_PARTS_LOOPS_B·↳ CSP_PARTS_LOOPS_TL·Explore CSP module →
-
View: CSP_USAGE_HISTORIES_V1 12.2.2
Used by spreadtable to display usage history
APPS.CSP_USAGE_HISTORIES_V1·↳ CSP_USAGE_HISTORIES·Explore CSP module →
-
View: CSP_USAGE_HISTORIES_V1 12.1.1
Used by spreadtable to display usage history
APPS.CSP_USAGE_HISTORIES_V1·↳ CSP_USAGE_HISTORIES·Explore CSP module →
-
View: CSP_PLANNING_DETAILS_V 12.1.1
APPS.CSP_PLANNING_DETAILS_V·↳ CSP_USAGE_HISTORIES·Explore CSP module →
-
Get the default Part In or Part Out Subinventories assigned to a resource in a loop
APPS.CSP_RESOURCE_DEFAULT_INV_LOC_V·↳ CSP_INV_LOC_ASSIGNMENTS·↳ CSP_SEC_INVENTORIES·Explore CSP module →
-
Get the default Part In or Part Out Subinventories assigned to a resource in a loop
APPS.CSP_RESOURCE_DEFAULT_INV_LOC_V·↳ CSP_INV_LOC_ASSIGNMENTS·↳ CSP_SEC_INVENTORIES·Explore CSP module →
-
View: CSP_PLANNING_DETAILS_V 12.2.2
APPS.CSP_PLANNING_DETAILS_V·↳ CSP_USAGE_HISTORIES·Explore CSP module →
-
Translated Parts Loop definition
-
Translated Parts Loop definition
-
View: CSP_NOTIFICATIONS_V 12.1.1
Notification Details
APPS.CSP_NOTIFICATIONS_V·↳ CSP_NOTIFICATIONS·↳ CS_STD·↳ FND_GLOBAL·Explore CSP module →
-
View: CSP_NOTIFICATIONS_V 12.2.2
Notification Details
APPS.CSP_NOTIFICATIONS_V·↳ CSP_NOTIFICATIONS·↳ CS_STD·↳ FND_GLOBAL·Explore CSP module →
-
Summarized supply and demand information.
-
Holds parts loop notifications
-
Holds parts loop notifications
-
View: CSP_PARTS_LOOPS_B_V 12.2.2
Parts Loop Details
APPS.CSP_PARTS_LOOPS_B_V·↳ CSP_FORECAST_RULES_B·↳ CSP_LOOP_CALC_RULES_B·↳ CSP_PARTS_LOOPS_B·Explore CSP module →
-
View: CSP_USAGE_HISTORIES_V 12.1.1
Usage history generated by a batchprogram
APPS.CSP_USAGE_HISTORIES_V·↳ CSP_USAGE_HISTORIES·Explore CSP module →
-
Holds extra subinventory information
-
Holds extra subinventory information
-
Summarized usage history information
-
Summarized usage history information
-
Parts Loop definition
-
View: CSP_SEC_INVENTORIES_V 12.2.2
Subinventory Details
APPS.CSP_SEC_INVENTORIES_V·↳ CSP_SEC_INVENTORIES·↳ FND_GLOBAL·↳ FND_LOOKUPS·Explore CSP module →
-
View: CSP_PARTS_LOOPS_VL 12.2.2
Shows parts loops with translated description.
APPS.CSP_PARTS_LOOPS_VL·↳ CSP_PARTS_LOOPS_B·↳ CSP_PARTS_LOOPS_TL·Explore CSP module →
-
View: CSP_PARTS_LOOPS_B_V 12.1.1
Parts Loop Details
APPS.CSP_PARTS_LOOPS_B_V·↳ CSP_FORECAST_RULES_B·↳ CSP_LOOP_CALC_RULES_B·↳ CSP_PARTS_LOOPS_B·Explore CSP module →
-
View: CSP_USAGE_HISTORIES_V 12.2.2
Usage history generated by a batchprogram
APPS.CSP_USAGE_HISTORIES_V·↳ CSP_USAGE_HISTORIES·Explore CSP module →
-
Summarized supply and demand information.
-
Supply and demand summary created by batchprogram
APPS.CSP_CURR_SUP_DEM_SUMS_V·↳ CSP_CURR_SUP_DEM_SUMS·↳ CSP_PLANNING_PARAMETERS·↳ CSP_REP_HIERARCHIES·Explore CSP module →
-
Supply and demand summary created by batchprogram
APPS.CSP_CURR_SUP_DEM_SUMS_V·↳ CSP_CURR_SUP_DEM_SUMS·↳ CSP_PLANNING_PARAMETERS·↳ CSP_REP_HIERARCHIES·Explore CSP module →
-
View: CSP_SEC_INVENTORIES_V 12.1.1
Subinventory Details
APPS.CSP_SEC_INVENTORIES_V·↳ CSP_SEC_INVENTORIES·↳ FND_GLOBAL·↳ FND_LOOKUPS·Explore CSP module →
-
VIEW: CSP.CSP_SUP_DEM_PLS# 12.2.2
-
VIEW: CSP.CSP_SUP_DEM_SUBS# 12.2.2
-
TABLE: CSP.CSP_SUP_DEM_PLS 12.2.2