Search Results pa_billing_seq
Overview
PA_BILLING_SEQ is an Oracle Application Object Library package body owned by the APPS schema that provides sequence-number generation services for Oracle Projects billing event processing. Its role is narrowly focused: it supplies the next available event number for billing events written to the PA_EVENTS table, and it exposes a session identifier used by the billing event generator during a processing run. The package is classified as OTHER in the Oracle Projects application programming interface taxonomy, meaning it is a supporting utility rather than a public, documented extension API. It is an internal component of the Oracle Projects billing event pipeline, and Oracle does not publish a formal interface contract for it. The package body is reported as VALID under both Oracle E-Business Suite 12.1.1 and 12.2.2, and the object is present in all standard installations where Oracle Projects is licensed.
Key Procedures and Functions
Two callable units are documented for this package body.
- NEXT_EVENTNUM — Returns the next event number to be assigned when a billing event record is created. It allows the billing event generation logic to obtain a unique, monotonically increasing identifier for each PA_EVENTS row without relying on a database sequence object. This is the principal function of the package.
- SESSION_ID — Returns a session identifier associated with the current billing event generation run. The value distinguishes one processing session from another, ensuring that event numbering remains consistent and isolated for the duration of a given invocation of the billing event process.
No parameter lists are published for either unit; the documented metadata names the procedures only. Callers should treat both as internal and avoid depending on their signatures, which Oracle may change between releases.
Tables Accessed
The package body references the following objects, resolved through APPS synonyms:
- PA_EVENTS — The billing events table in Oracle Projects. The package reads from PA_EVENTS to determine the highest event number already present, thereby deriving the next number to issue. This is why the sequence logic is table-driven rather than sequence-driven.
- DUAL — Used for singleton SELECT statements, the standard mechanism for evaluating expressions or invoking functions that do not require a table source.
The package body additionally depends on the STANDARD package supplied by SYS, which is a normal PL/SQL runtime dependency. The package itself is not referenced by any other database object, confirming its position as a terminal utility rather than a shared library.
Usage Notes
PA_BILLING_SEQ is invoked indirectly. It is called from within Oracle Projects billing event generation logic — typically during concurrent program runs that create billing events from expenditure items, and from the Oracle Projects forms that display or maintain billing events. Two other packages in the APPS schema reference PA_BILLING_SEQ, which is consistent with its role as a shared helper for event creation.
Because the package is not a documented public API, customizations should not call NEXT_EVENTNUM or SESSION_ID directly. Events created outside the standard Oracle Projects billing flow risk conflicting with numbers already allocated in PA_EVENTS, since the package derives its next value from existing table data. Any custom billing event generation should route through the supported Oracle Projects billing APIs instead. There are no profile options or setup steps associated specifically with this package; it operates transparently whenever billing events are created through the standard application.
-
PACKAGE BODY: APPS.PA_BILLING_SEQ
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PA_BILLING_SEQ, status:VALID,
-
PACKAGE BODY: APPS.PA_BILLING_SEQ
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PA_BILLING_SEQ, status:VALID,
-
PACKAGE: APPS.PA_BILLING_SEQ
12.1.1
-
PACKAGE: APPS.PA_BILLING_SEQ
12.1.1
owner:APPS, object_type:PACKAGE, object_name:PA_BILLING_SEQ, status:VALID,
-
PACKAGE: APPS.PA_BILLING_SEQ
12.2.2
owner:APPS, object_type:PACKAGE, object_name:PA_BILLING_SEQ, status:VALID,
-
PACKAGE: APPS.PA_BILLING_SEQ
12.2.2
-
PACKAGE BODY: APPS.PA_BILLING_SEQ
12.2.2
-
PACKAGE BODY: APPS.PA_BILLING_SEQ
12.1.1
-
PACKAGE BODY: APPS.PA_BILLING_PUB
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PA_BILLING_PUB, status:VALID,
-
PACKAGE BODY: APPS.GMS_BILLING
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:GMS_BILLING, status:VALID,
-
PACKAGE BODY: APPS.PA_BILLING_PUB
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PA_BILLING_PUB, status:VALID,
-
PACKAGE BODY: APPS.GMS_BILLING
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:GMS_BILLING, status:VALID,
-
SYNONYM: APPS.PA_EVENTS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PA_EVENTS, status:VALID,
-
SYNONYM: APPS.PA_EVENTS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PA_EVENTS, status:VALID,
-
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
-
APPS.PA_BILLING_PUB dependencies on PA_BILLING_SEQ
12.2.2
-
APPS.GMS_BILLING dependencies on PA_BILLING_SEQ
12.1.1
-
APPS.PA_BILLING_PUB dependencies on PA_BILLING_SEQ
12.1.1
-
APPS.PA_BILLING_SEQ dependencies on PA_BILLING_SEQ
12.2.2
-
APPS.PA_BILLING_SEQ dependencies on PA_BILLING_SEQ
12.1.1
-
APPS.GMS_BILLING dependencies on PA_BILLING_SEQ
12.2.2
-
SYNONYM: PUBLIC.DUAL
12.2.2
owner:PUBLIC, object_type:SYNONYM, object_name:DUAL, status:VALID,
-
SYNONYM: PUBLIC.DUAL
12.1.1
owner:PUBLIC, object_type:SYNONYM, object_name:DUAL, status:VALID,
-
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
-
PACKAGE: SYS.STANDARD
12.1.1
owner:SYS, object_type:PACKAGE, object_name:STANDARD, status:VALID,