Results for “update_vehicle_allocation”

30 results




AI-generated from documented ETRM metadata — verify critical details on the linked pages.

Overview

PQP_VEHICLE_ALLOCATIONS_SWI is a self-service wrapper package within the Oracle E-Business Suite HR/Payroll family (PQP module, associated with Oracle Payroll and the vehicle allocation functionality used for company car and vehicle benefit processing). Its purpose is to expose the underlying server-side API, PQP_VEHICLE_ALLOCATIONS_API, to self-service and web-based calling contexts by providing a lightweight PL/SQL entry point. The "_SWI" suffix designates a "Self-Service Web Interface" wrapper, a common Oracle EBS design pattern in which a private API is fronted by a public wrapper tuned for browser-facing or self-service invocations. The package header, delivered under the APPS schema with header version pqvalswi.pkh 120.0, is documented as internal development use only.

Key Procedures and Functions

The package exposes three documented procedures:

  • CREATE_VEHICLE_ALLOCATION — The self-service wrapper to PQP_VEHICLE_ALLOCATIONS_API.CREATE_VEHICLE_ALLOCATION. It accepts a broad set of "IN" parameters that capture the vehicle allocation definition, including effective date, assignment and business group identifiers, vehicle repository reference, usage type, capital and private contribution amounts, default vehicle indicator, fuel card details, calculation method, rates table, element type, private use flag, and insurance information, along with descriptive flexfield validation attributes. A validation flag (p_validate) defaults to hr_api.g_false_num, and a return status parameter indicates success or failure.
  • UPDATE_VEHICLE_ALLOCATION — Modifies an existing vehicle allocation record. Following the SWI convention, it delegates the actual data manipulation to the corresponding API procedure and returns a status value reflecting the outcome.
  • DELETE_VEHICLE_ALLOCATION — Removes a vehicle allocation, again wrapping the matching API routine and returning a status indicator. No parameter lists are documented for the update and delete routines beyond this wrapper role.

Tables Accessed

The ETRM metadata for this object does not enumerate specific base tables accessed via APPS synonyms. By design, the SWI wrapper performs no direct DML of its own; all table access is delegated to PQP_VEHICLE_ALLOCATIONS_API, which maintains the vehicle allocation records and their associated payroll elements. Because the documented table list is empty, specific table names should not be assumed from this package alone; refer to the underlying API for authoritative table-level lineage.

Usage Notes

As a self-service wrapper, this package is typically invoked from Oracle EBS self-service web pages, OA Framework-based flows, or other browser-facing components rather than from concurrent programs directly. The p_validate parameter supports a dry-run mode, allowing calling code to confirm a create operation without committing changes. The package is documented as Internal Development use only and is referenced by zero other packages, indicating it is a leaf-level entry point rather than a shared library. Custom integrations that call this package should treat the underlying API as the source of truth for business rules, error handling, and table impacts.