Results for “session_id”
50+ results
AI-generated from documented ETRM metadata — verify critical details on the linked pages.
Overview
The APPS.PA_BILLING_SEQ package is a utility package within the Oracle E-Business Suite Projects (PA) module responsible for generating serial numbers of various types used during project billing and event processing. As defined in the source header, its stated purpose is to provide "procedures which return serial numbers of any sort." In practice, the package centralizes sequence-number generation logic so that dependent billing and event-handling routines obtain consistent, unique numeric identifiers without querying sequence objects directly. The package is declared with AUTHID CURRENT_USER, meaning its procedures execute with the privileges of the invoking user rather than the package owner, which allows it to respect the calling session's security context when resolving objects such as the PA_EVENTS table.
The package is classified as OTHER in the ETRM API classification, indicating that it is not a formal public API intended for external integration but rather an internal helper package used by other Projects components. The header comment dates the original source to 1999, reflecting its long-standing role in the billing code base across releases including 12.1.1 and 12.2.2.
Key Procedures and Functions
Two functions are documented in the package specification:
- NEXT_EVENTNUM — Returns the next event number for a given project or task. Per the embedded usage comment, the function is invoked as
new_eventnum = next_eventnum(project_id, task_id). Theproject_idparameter is mandatory; the task identifier scopes the sequence to a task level when supplied. The function returns aNUMBERrepresenting the next available event number. This is the function most commonly sought by users searching fornext_eventnum, as it is the primary entry point for obtaining sequential event identifiers within the billing event lifecycle. - SESSION_ID — Returns a numeric session identifier. This function supports the package's broader sequence-generation role, supplying a session-scoped number that callers can use to distinguish activity across concurrent sessions.
The package specification enumerates only these two callable elements. No additional procedures or functions are documented in the provided metadata, and parameter lists should not be assumed beyond what is shown.
Tables Accessed
The ETRM metadata records two objects referenced by this package via APPS synonyms:
- PA_EVENTS — The Projects events table, which stores billing events generated against projects and tasks. The package reads this table to determine the highest existing event number and thereby return the next value in sequence.
- DUAL — The standard Oracle single-row pseudo-table, used here for lightweight expression evaluation and sequence-style value retrieval.
Because the package is AUTHID CURRENT_USER, access to PA_EVENTS is validated against the calling user's privileges.
Usage Notes
PA_BILLING_SEQ is typically invoked indirectly rather than by end users. It is referenced by two other packages, which call NEXT_EVENTNUM when creating or staging billing events so that each event receives a monotonically increasing identifier scoped to its project or task. Typical entry points include billing event generation routines executed from the Projects Billing forms and concurrent programs that process event revenue and invoicing.
Custom code extending Oracle Projects billing should call NEXT_EVENTNUM rather than computing event numbers independently, ensuring consistency with the standard event-numbering logic and avoiding collisions with PA_EVENTS records created by the application. Because the function is task-aware, callers must pass the correct task_id where event numbering is expected to be task-specific. As an internal helper package, its signature is stable across 12.1.1 and 12.2.2 but is not formally published as a supported extension API, so customizations relying on it should be regression-tested during upgrades.
-
INDEX: APPLSYS.SESSION_ID 12.1.1
-
INDEX: APPLSYS.SESSION_ID 12.2.2
-
TYPE: SYS.TSM$SESSION_ID 12.2.2
-
TYPE: SYS.TSM$SESSION_ID 12.1.1
-
PACKAGE: APPS.PA_BILLING_SEQ 12.1.1
-
PACKAGE: APPS.PA_BILLING_SEQ 12.2.2
-
PACKAGE: APPS.GL_FORMSINFO 12.2.2
-
PACKAGE: APPS.GL_FORMSINFO 12.1.1
-
PACKAGE: APPS.FND_GLOBAL 12.1.1
-
PACKAGE: APPS.FND_GLOBAL 12.2.2
-
Start organization used for reporting by organizations below the start organization
-
Current sessions of Oracle Application Object Library
-
Table: BEN_ONLINE_WARNINGS 12.2.2
Online warnings.
-
Current sessions of Oracle Application Object Library
-
Table: FND_ADG_COMMIT_WAIT 12.2.2
-
Table: BEN_ONLINE_WARNINGS 12.1.1
Online warnings.
-
Start organization used for reporting by organizations below the start organization
-
Contains a temporary table used during the document build process.
-
Contains European information for building audit reports
-
Session context table
-
Table: OE_SELECTED_ITEMS 12.2.2
Stores the inventory items selected by users in the Advance Item Search Window.
-
Table: AK_LOADER_TEMP 12.1.1
A temporary table that is used by the AK loaders
-
Used to hold HR_API_USER_HOOK error information if this exists otherwise no information is held.
-
Used to hold HR_API_USER_HOOK error information if this exists otherwise no information is held.
-
Temporary table used to store information about temporary variables
-
View: HR_OWNER_DEFINITIONS_V 12.1.1
- Retrofitted
APPS.HR_OWNER_DEFINITIONS_V·↳ FND_APPLICATION_VL·↳ HR_OWNER_DEFINITIONS·Explore PER module →
-
Contains a temporary table used during the document build process.
-
Contains a temporary table used during the document build process.
-
View: HR_OWNER_DEFINITIONS_V 12.2.2
- Retrofitted
APPS.HR_OWNER_DEFINITIONS_V·↳ FND_APPLICATION_VL·↳ HR_OWNER_DEFINITIONS·Explore PER module →
-
Table: RRS_SITE_TMP 12.2.2
This table is reserved for integration with Oracle Spatial. Not supported in this release.
-
Parameter encryption table
-
View: BOM_ODI_WS_CTX_PATHS_V 12.2.2
APPS.BOM_ODI_WS_CTX_PATHS_V·↳ EGO_PUB_WS_FLAT_RECS·Explore BOM module →
-
Contains a temporary table used during the document build process.
-
EDR temp table in ERES support for input variable eRecord showing rule conditions
-
Contains a temporary table used during the document build process.
-
View: BOM_ODI_WS_VS_EXCL_V 12.2.2
APPS.BOM_ODI_WS_VS_EXCL_V·↳ EGO_PUB_WS_FLAT_RECS·Explore BOM module →
-
View: MSC_ANSWERS_V 12.2.2
-
Report parameters.
-
Contains a temporary table used during the document build process.
-
EDR temp table in ERES support for input variable eRecord showing rule conditions
-
Report parameters.
-
Stores internal record for ownership of seed data
-
View: MSC_ANSWERS_V 12.1.1
-
Contains a temporary table used during the document build process.