Results for “psp_pee_bus”

50+ results




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

Overview

PSP_PEE_BUS is an Oracle E-Business Suite PL/SQL business logic package owned by the APPS schema, classified under the ETRM metadata as OTHER. It belongs to the Oracle Grants / Project Effort Reporting (PSP) product family, which supports the capture, validation, and reporting of effort expended by personnel on sponsored awards. The package operates with AUTHID CURRENT_USER and, according to its header comment, is designated for Internal Development Use Only. It functions primarily as a validation and context utility layer for the external effort line entity, providing the row-level business rules that surround the underlying DML performed elsewhere in the application. In practice, PSP_PEE_BUS encapsulates a consistent set of security-group and legislation derivations together with insert, update, and delete validations, allowing forms and concurrent processes in the effort reporting module to execute business rules through a single controlled interface rather than embedding logic directly in the user interface.

Key Procedures and Functions

  • SET_SECURITY_GROUP_ID — Derives and sets the security_group_id in FND CLIENT_INFO based on the appropriate business group context. It accepts an external effort line identifier and an optional associated column argument that resolves the correct business group. It raises an error when the referenced identifier does not exist.
  • RETURN_LEGISLATION_CODE — Returns the legislation code associated with a specific external effort line primary key. It is used to determine the legal/regulatory context, notably payroll and reporting requirements, for the effort line being processed.
  • INSERT_VALIDATE — Encapsulates the business rule checks that must pass before a new external effort line is created, ensuring that the record satisfies referential and contextual requirements prior to insertion.
  • UPDATE_VALIDATE — Performs the equivalent validation set when an existing external effort line is modified, guarding against invalid changes to key attributes.
  • DELETE_VALIDATE — Enforces the conditions under which an external effort line may be removed, preventing deletion of rows that are still referenced or that carry reporting significance.

Tables Accessed

The package references its documented tables through APPS synonyms. PSP_EXTERNAL_EFFORT_LINES is the primary entity, with PSP_EFF_REPORTS and PSP_EFF_REPORT_DETAILS supplying the surrounding effort reporting context. PSP_REPORT_TEMPLATES_H provides template header information used when effort statements are generated. Personnel and assignment data are drawn from PER_ALL_PEOPLE_F and PER_ALL_ASSIGNMENTS_F, while PAY_ALL_PAYROLLS_F supports payroll and costing relationships. Project and award dimensions are resolved via PA_PROJECTS_ALL, PA_TASKS, and GMS_AWARDS_ALL. GL_CODE_COMBINATIONS and FND_CURRENCIES supply accounting flexfield and currency validation. These reads support the security group, legislation, and validation procedures described above.

Usage Notes

PSP_PEE_BUS is typically invoked indirectly rather than called by end users. The Oracle Forms UI for external effort lines, effort reporting concurrent programs, and other PSP business logic packages call its procedures to enforce context derivation and validation rules during row processing. The package is referenced by three other packages in the ETRM catalogue, confirming its role as a shared dependency within the effort reporting subsystem. Customizations and extensions should treat the procedures as stable validation entry points, respecting the documented error-raising behaviour and the internal-use designation when integrating additional logic.