Results for “pqp_vehicle_allocations_api”
38 results
AI-generated from documented ETRM metadata — verify critical details on the linked pages.
Overview
The APPS.PQP_VEHICLE_ALLOCATIONS_API package is a public Oracle E-Business Suite PL/SQL API belonging to the PER (Human Resources) product. It provides a programmatic interface for creating, updating, and deleting vehicle allocations that link a vehicle from the vehicle repository to an employee assignment. The package is licensed for use with Oracle Human Resources and is classified as an API within the ETRM repository. Its header identifies it as a public-scope API with the display name "Vehicle Allocation."
The business function it serves is the management of company-issued and private vehicles assigned to employees. Certain allocatable attributes depend on whether the vehicle is classified as a company vehicle or a private vehicle. The API also supports the storage of details related to mileage reimbursements. Note that the object name contains no reference to ASN; the "ASN" searched by the user is a separate concept in Oracle inventory and shipping (Advance Shipment Notice) and is unrelated to this HR vehicle allocation package.
Key Procedures and Functions
Three documented procedures are exposed by this package:
- CREATE_VEHICLE_ALLOCATION — Allocates a vehicle from the vehicle repository to an assignment. It creates a new vehicle allocation record for the assignment. The vehicle must already exist in the vehicle repository. If the flag governing allocation across assignments is passed as 'Y', the vehicle is allocated to all assignments for that employee. On success the allocation record is inserted into the database; on failure no record is created and an error is raised. The procedure supports validation-only execution via a validate parameter, and a date-effective parameter governs the DateTrack operation.
- UPDATE_VEHICLE_ALLOCATION — Modifies an existing vehicle allocation record. It follows the same DateTrack and validation conventions as the create procedure, allowing callers to correct or adjust allocation attributes while preserving the historical record through dated row handling.
- DELETE_VEHICLE_ALLOCATION — Removes a vehicle allocation from an assignment, terminating the association between the employee and the allocated vehicle.
All three procedures share the standard API design pattern, including a validate flag that performs validation without modifying the database, and an effective date that determines when the DateTrack operation takes effect.
Tables Accessed
The package operates against the PQP_VEHICLE_ALLOCATIONS_F table, referenced through APPS synonyms. This is the DateTrack-enabled ("_F") base table that stores vehicle allocation records. The create procedure inserts rows into this table, the update procedure modifies the currently effective dated row and manages the DateTrack history, and the delete procedure removes or end-dates the allocation. The mileage reimbursement attributes referenced in the package comments are persisted against this same allocation record.
Usage Notes
This package is the supported programmatic entry point for vehicle allocation data and is typically invoked by the Oracle HRMS forms used to administer employee vehicle assignments, by concurrent programs that process vehicle data in bulk, and by custom Oracle EBS extensions that require vehicle allocation maintenance. The API is referenced by three other documented packages within the enterprise repository, indicating its role as a shared service within the Human Resources module.
Callers must first ensure the target vehicle exists in the vehicle repository, because the API validates the vehicle against that repository before creating an allocation. When integrating custom code, developers should pass a validate flag of true to perform pre-checks without committing changes, then invoke the same procedure with validation disabled once all checks pass. The effective date parameter should be supplied so that DateTrack operations insert, update, or end-date rows correctly.
-
12.1.1 DBA Data 12.1.1
-
12.2.2 DBA Data 12.2.2
-
12.1.1 DBA Data 12.1.1
-
12.2.2 DBA Data 12.2.2
-
12.2.2 DBA Data 12.2.2
-
12.2.2 DBA Data 12.2.2
-
12.1.1 DBA Data 12.1.1
-
12.1.1 DBA Data 12.1.1