Results for “check_assignment_open”

8 results




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

Overview

PA_ADVERTISEMENTS_PVT is a private PL/SQL package in the APPS schema that implements the internal logic for project resource advertisement and staffing notification in Oracle EBS 12.1.1 and 12.2.2. Within Oracle Projects, an advertisement records an open resource requirement that can be published to candidate resources, organizations, or staffing managers so that suitable candidates can be identified and assigned to a project. The _PVT classification indicates that the package is the private implementation layer of a public API family.

The package is not intended to be called directly. The public counterpart PA_ADVERTISEMENTS_PUB drives the private package, which performs the procedural work of ordering advertisement action lines, publishing advertisements to target audiences, escalating unfulfilled advertisements, generating notifications and workflow emails, and removing advertisements when they are no longer required. Business rules governing advertisement eligibility and assignment openness are also encapsulated here.

Key Procedures and Functions

The ETRM metadata documents eleven procedures and functions:

  • ORDER_ADV_ACTION_LINES — Sequences advertisement action lines into the ordering temporary table so that advertisement actions execute in a deterministic order.
  • PUBLISH_TO_ALL — Publishes an advertisement broadly to the full candidate audience.
  • PUBLISH_TO_ORGANIZATIONS — Restricts publication to specified organizations within the hierarchy.
  • PUBLISH_TO_STAFFING_MANAGERS — Directs the advertisement to staffing managers responsible for candidate identification.
  • ESCALATE_TO_NEXT_LEVEL — Moves an advertisement to the next level of the organizational hierarchy when it is not filled.
  • SEND_EMAIL — Sends email notifications associated with advertisement activity.
  • SEND_NOTIFICATION — Creates and delivers the notification records for advertisement recipients.
  • START_ADV_NOTIFICATION_WF — Initiates the Oracle Workflow process that orchestrates advertisement notification delivery.
  • UPDATE_STAFFING_PRIORITY — Updates the staffing priority of the advertisement, allowing staffing managers to reprioritize resource requirements.
  • REMOVE_ADVERTISEMENT — Withdraws an advertisement when the underlying requirement is cancelled or filled.
  • CHECK_ASSIGNMENT_OPEN — Validates whether an assignment remains open, governing whether advertisement actions may proceed.

Tables Accessed

The package reads and writes a set of Oracle Projects and HR tables. PA_ACTION_SETS, PA_ACTION_SET_LINES, PA_ACTION_SET_LINE_AUD, and PA_ACTION_SET_LINE_COND store the action-set definitions, lines, audit rows, and conditions that drive advertisement behavior. PA_PROJECTS_ALL, PA_PROJECT_ASSIGNMENTS, PA_PROJECT_ROLE_TYPES, and PA_RESOURCES_DENORM supply project, assignment, role, and denormalized resource data used to evaluate candidates. PER_ORG_STRUCTURE_VERSIONS and PA_ORG_HIERARCHY_DENORM provide organizational hierarchy information for publishing to organizations and escalating to the next level. HR_ALL_ORGANIZATION_UNITS, HZ_PARTIES, and FND_USER identify organizations, parties, and users who receive notifications. FND_NEW_MESSAGES and PA_ADVERTISEMENT_NTF_WF_S support notification generation and workflow state. PA_ADV_ACTION_LINES_ORDER_TEMP holds the ordered action lines produced during processing, and PA_ACTION_SET_UTILS provides shared action-set utilities. The package also declares PL/SQL table types PA_NUM_TBL_TYPE and PA_VARCHAR2_240_TBL_TYPE.

Usage Notes

PA_ADVERTISEMENTS_PVT is invoked indirectly through PA_ADVERTISEMENTS_PUB, which is the only documented referrer. It is typically executed from the Oracle Projects staffing and resource management forms when a user publishes, escalates, reprioritizes, or removes an advertisement, and from Oracle Workflow when notification processes resume. Custom code should call the public package rather than this private package, because Oracle may change internal signatures between patch levels. The dependency on FND_API, STANDARD, and SYSTEM confirms use of the Oracle Application Object Library error-handling and standard utilities, meaning the package participates in the standard EBS concurrent and online processing model.