Search Results csp_part_search_pvt
Overview
CSP_PART_SEARCH_PVT is a private PL/SQL package in the APPS schema that forms the core of Oracle E-Business Suite's spare-parts search and sourcing engine within the field service / depot repair (CSP) product family. The package exposes the search and evaluation logic used to identify which inventory organizations, sub-inventories, and dedicated locations can satisfy a requirement for a given part within a specified time window. In ETRM terms the package is classified as a Private API ("PVT"), meaning it is not a public, documented integration interface; it is intended for internal consumption by other EBS components rather than by customer-written code. It is a VALID object and is available in both 12.1.1 and 12.2.2. Its responsibilities include computing available quantities per source location, projecting arrival times based on shipping transit and time-zone differences, and evaluating cutoff dates relative to sourcing rules. The dependency listing confirms that the unit is heavily reused: it is referenced by CSM_EMAIL_QUERY_PKG, CSM_MULTI_MOBQRY_PKG, CSP_DC_PARTS_V, CSP_SCH_INT_PVT, CSP_SHIPPING_DETAILS_V, CS_CHARGE_DETAILS_PVT, and CSP_PART_SEARCH_PVT_W, and it itself depends only on the SYS STANDARD package — indicating a utility-grade unit with minimal external coupling.
Key Procedures and Functions
The ETRM metadata documents six callable program units:
- SEARCH — the principal entry point. It performs the parts search across candidate sourcing locations, applying requirement and planning parameters to return matching, available supply options.
- GET_AVAIL_QTY — returns the quantity of a part that is available at a given source, used to filter sources that cannot fully or partially meet demand.
- GET_ARRIVAL_TIME — calculates the projected arrival date/time of a shipment from a source location to the destination ship-to, factoring transit time.
- GET_SHIP_TO_TZ — resolves the time zone associated with the ship-to location, supporting accurate arrival-time computation across regions.
- GET_SRC_DISTANCE — determines the distance between the source and destination, used as an input for transit-time and source-ranking calculations.
- GET_CUTOFF_TIME — derives the cutoff date/time by which a source can still satisfy the requirement, based on scheduling and shipping windows.
These units cooperate to answer the central business question: which source, and by when, can deliver a required part. No public parameter lists are documented; callers should treat the signatures as internal and subject to change.
Tables Accessed
The package reads from a broad set of CSP configuration and transactional tables (via APPS synonyms), including CSP_REQUIREMENT_HEADERS, CSP_REQUIREMENT_LINES, and CSP_REQ_LINE_DETAILS for demand data; CSP_SEC_INVENTORIES, CSP_INV_LOC_ASSIGNMENTS, CSP_DEDICATED_SITES, and CSP_AVAILABLE_PARTS_TEMP for available supply; CSP_REQUIRED_PARTS_TEMP for work-set storage of results; CSP_EXCESS_LISTS and CSP_PLANNING_PARAMETERS for sourcing policy; and CAC_SR_OBJECT_CAPACITY for capacity constraints. Geographic elements rely on FND_TERRITORIES_TL, HZ_LOCATIONS, HZ_CUST_ACCT_SITES_ALL, and HZ_CUST_SITE_USES_ALL to resolve ship-to addresses, territories, and time zones. The heavy use of temporary tables (CSP_AVAILABLE_PARTS_TEMP, CSP_REQUIRED_PARTS_TEMP) indicates a multi-step, set-based search that stages intermediate results before final selection.
Usage Notes
CSP_PART_SEARCH_PVT is typically invoked indirectly. Its published callers span email/mobile query packages, shipping and charge-detail views, and scheduling integration, so it fires during field service parts searches, depot repair sourcing, and shipping/charge determination rather than from standalone forms or concurrent programs. Because it is a PVT API, direct invocation from custom code is discouraged; Oracle does not guarantee the stability of its signatures across patches or releases. Customizations should consume the public views (for example CSP_DC_PARTS_V or CSP_SHIPPING_DETAILS_V) that wrap this package, thereby insulating integrations from internal changes. Organizations relying on parts-search behavior in 12.1.1 and 12.2.2 should validate any functional dependency against Oracle Support guidance, since the utility depends on STANDARD only but is referenced by numerous higher-level components.
-
PACKAGE: APPS.CSP_PART_SEARCH_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:CSP_PART_SEARCH_PVT, status:VALID,
-
PACKAGE: APPS.CSP_PART_SEARCH_PVT_W
12.2.2
owner:APPS, object_type:PACKAGE, object_name:CSP_PART_SEARCH_PVT_W, status:VALID,
-
PACKAGE BODY: APPS.CSP_PART_SEARCH_PVT_W
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:CSP_PART_SEARCH_PVT_W, status:VALID,
-
PACKAGE BODY: APPS.CSP_PART_SEARCH_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:CSP_PART_SEARCH_PVT, status:VALID,
-
SYNONYM: APPS.JTF_CAL_EXCEPTIONS_B
12.2.2
owner:APPS, object_type:SYNONYM, object_name:JTF_CAL_EXCEPTIONS_B, status:VALID,
-
SYNONYM: APPS.CSP_REQUIRED_PARTS_TEMP
12.2.2
owner:APPS, object_type:SYNONYM, object_name:CSP_REQUIRED_PARTS_TEMP, status:VALID,
-
PACKAGE: APPS.HZ_ELOCATION_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:HZ_ELOCATION_PKG, status:VALID,
-
SYNONYM: APPS.JTF_CAL_EXCEPTION_ASSIGN
12.2.2
owner:APPS, object_type:SYNONYM, object_name:JTF_CAL_EXCEPTION_ASSIGN, status:VALID,
-
VIEW: APPS.CSP_SHIPPING_DETAILS_V
12.2.2
owner:APPS, object_type:VIEW, object_name:CSP_SHIPPING_DETAILS_V, status:VALID,
-
SYNONYM: APPS.CSP_EXCESS_LISTS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:CSP_EXCESS_LISTS, status:VALID,
-
SYNONYM: APPS.CSP_AVAILABLE_PARTS_TEMP
12.2.2
owner:APPS, object_type:SYNONYM, object_name:CSP_AVAILABLE_PARTS_TEMP, status:VALID,
-
SYNONYM: APPS.CSP_DEDICATED_SITES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:CSP_DEDICATED_SITES, status:VALID,
-
SYNONYM: PUBLIC.SDO_GEOM
12.2.2
owner:PUBLIC, object_type:SYNONYM, object_name:SDO_GEOM, status:VALID,
-
SYNONYM: APPS.JTF_CAL_SHIFTS_B
12.2.2
owner:APPS, object_type:SYNONYM, object_name:JTF_CAL_SHIFTS_B, status:VALID,
-
PACKAGE: APPS.CSF_RESOURCE_ADDRESS_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:CSF_RESOURCE_ADDRESS_PVT, status:VALID,
-
SYNONYM: PUBLIC.SDO_GEOMETRY
12.2.2
owner:PUBLIC, object_type:SYNONYM, object_name:SDO_GEOMETRY, status:VALID,
-
PACKAGE: APPS.CSP_PART_SEARCH_PVT
12.2.2
-
SYNONYM: APPS.JTF_CAL_SHIFT_ASSIGN
12.2.2
owner:APPS, object_type:SYNONYM, object_name:JTF_CAL_SHIFT_ASSIGN, status:VALID,
-
PACKAGE: APPS.CSF_GPS_PUB
12.2.2
owner:APPS, object_type:PACKAGE, object_name:CSF_GPS_PUB, status:VALID,
-
SYNONYM: APPS.JTF_CAL_SHIFT_CONSTRUCTS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:JTF_CAL_SHIFT_CONSTRUCTS, status:VALID,
-
PACKAGE: APPS.CSP_SUPERSESSIONS_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:CSP_SUPERSESSIONS_PVT, status:VALID,
-
SYNONYM: APPS.CAC_SR_OBJECT_CAPACITY
12.2.2
owner:APPS, object_type:SYNONYM, object_name:CAC_SR_OBJECT_CAPACITY, status:VALID,
-
PACKAGE: APPS.CSF_LF_PUB
12.2.2
owner:APPS, object_type:PACKAGE, object_name:CSF_LF_PUB, status:VALID,
-
PACKAGE: APPS.HZ_GEOCODE_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:HZ_GEOCODE_PKG, status:VALID,
-
PACKAGE: APPS.CSP_PARTS_REQUIREMENT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:CSP_PARTS_REQUIREMENT, status:VALID,
-
SYNONYM: APPS.JTF_CALENDARS_B
12.2.2
owner:APPS, object_type:SYNONYM, object_name:JTF_CALENDARS_B, status:VALID,
-
VIEW: APPS.CSP_OPEN_CLOSED_V
12.2.2
owner:APPS, object_type:VIEW, object_name:CSP_OPEN_CLOSED_V, status:VALID,
-
PACKAGE: APPS.CSP_SCH_INT_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:CSP_SCH_INT_PVT, status:VALID,
-
SYNONYM: APPS.CSP_REQ_LINE_DETAILS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:CSP_REQ_LINE_DETAILS, status:VALID,
-
PACKAGE: MDSYS.SDO_GEOM
12.2.2
owner:MDSYS, object_type:PACKAGE, object_name:SDO_GEOM, status:VALID,
-
SYNONYM: APPS.CSP_REQUIREMENT_LINES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:CSP_REQUIREMENT_LINES, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
SYNONYM: APPS.CSP_INV_LOC_ASSIGNMENTS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:CSP_INV_LOC_ASSIGNMENTS, status:VALID,
-
SYNONYM: APPS.CSP_PLANNING_PARAMETERS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:CSP_PLANNING_PARAMETERS, status:VALID,
-
SYNONYM: APPS.CSP_REQUIREMENT_HEADERS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:CSP_REQUIREMENT_HEADERS, status:VALID,
-
VIEW: APPS.MTL_RELATED_ITEMS_VIEW
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:INV.MTL_RELATED_ITEMS_VIEW, object_name:MTL_RELATED_ITEMS_VIEW, status:VALID,
-
PACKAGE BODY: APPS.CSM_EMAIL_QUERY_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:CSM_EMAIL_QUERY_PKG, status:VALID,
-
SYNONYM: APPS.MTL_RELATED_ITEMS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:MTL_RELATED_ITEMS, status:VALID,
-
SYNONYM: APPS.CSP_SEC_INVENTORIES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:CSP_SEC_INVENTORIES, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
TYPE: MDSYS.SDO_POINT_TYPE
12.2.2
owner:MDSYS, object_type:TYPE, object_name:SDO_POINT_TYPE, status:VALID,
-
SYNONYM: APPS.PO_LOCATION_ASSOCIATIONS_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PO_LOCATION_ASSOCIATIONS_ALL, status:VALID,
-
PACKAGE BODY: APPS.CSM_MULTI_MOBQRY_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:CSM_MULTI_MOBQRY_PKG, status:VALID,
-
PACKAGE BODY: APPS.CSP_SCH_INT_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:CSP_SCH_INT_PVT, status:VALID,
-
PACKAGE BODY: APPS.CS_CHARGE_DETAILS_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:CS_CHARGE_DETAILS_PVT, status:VALID,
-
VIEW: APPS.CSP_DC_PARTS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:CSP.CSP_DC_PARTS_V, object_name:CSP_DC_PARTS_V, status:VALID,
-
PACKAGE: APPS.HZ_TIMEZONE_PUB
12.2.2
owner:APPS, object_type:PACKAGE, object_name:HZ_TIMEZONE_PUB, status:VALID,
-
SYNONYM: APPS.MTL_INTERORG_PARAMETERS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:MTL_INTERORG_PARAMETERS, status:VALID,
-
PACKAGE: APPS.HZ_LOCATION_V2PUB
12.2.2
owner:APPS, object_type:PACKAGE, object_name:HZ_LOCATION_V2PUB, status:VALID,
-
PACKAGE: APPS.INV_QUANTITY_TREE_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:INV_QUANTITY_TREE_PVT, status:VALID,