Search Results get_next_billing_date
Overview
PA_CLIENT_EXTN_BILL_CYCLE is a client extension package body in the Oracle Projects (PA) module of Oracle E-Business Suite, owned by the APPS schema. Its name indicates its role within the billing cycle framework: it provides a customer-extensible (client extension) hook through which organizations can override or augment the standard derivation of the next billing date for a project. The package is classified as OTHER in the ETRM documentation, meaning it is not a public, fully supported API surface but rather a stub or extension point intended to be modified by implementers.
The source header (PAXIBCXB.pls, version 115.0, dated 1999) shows the package has remained structurally stable across releases, and it is present in both Oracle EBS 12.1.1 and 12.2.2. As shipped, the single function returns SYSDATE (the system date) and performs no meaningful computation, confirming its role as a placeholder that customers replace with their own business logic.
Key Procedures and Functions
- GET_NEXT_BILLING_DATE — The sole documented function in the package. It accepts input parameters identifying the project, the project start date, the billing cycle definition, the bill-through date, and the last bill-through date. Its purpose is to return the next billing date to be used for the project's billing cycle. Implementers customize the body so that the returned date conforms to their organization's billing calendar, customer-specific cycle rules, or contractual billing schedules. As delivered, the code contains only a NULL statement and returns the initialized SYSDATE value, with a WHEN OTHERS handler that re-raises any exception.
Tables Accessed
The ETRM metadata documents no tables referenced through APPS synonyms. The shipped body performs no DML or queries and is entirely self-contained, relying only on the SYSDATE pseudocolumn. Because this is an extension stub, any table access occurs only after a customer adds custom logic to the body. Typical customized implementations would query project and billing cycle tables such as PA_PROJECTS, PA_BILLING_CYCLES, PA_PROJECT_CUSTOMERS, and PA_BILLING_EXTENSIONS, but none of these accesses are part of the delivered package.
Usage Notes
Because the delivered function simply returns SYSDATE, the package is invoked only when a customer has chosen to extend the standard billing date derivation. The package is referenced by at least one other package in Oracle Projects, which acts as the calling framework for billing cycle processing. Typical invocation paths include the Oracle Projects billing cycle generation concurrent programs and the billing extension processing invoked during invoice generation.
Implementers must exercise care when modifying this body. The function signature is part of the extension contract and should not change, since the caller expects the documented parameter list and return type. Updates should be applied in a custom schema or through the supported extension mechanism rather than directly against the APPS-owned delivered source, to avoid being overwritten during patching or upgrades. In both 12.1.1 and 12.2.2, the online patching architecture of 12.2.2 makes preserving customizations in separate editioned objects especially important. Testing should validate behavior across cycle boundaries, leap years, and null bill-through dates, since the default implementation provides no protective logic.
-
PACKAGE BODY: APPS.PA_CLIENT_EXTN_BILL_CYCLE
12.2.2
-
PACKAGE BODY: APPS.PA_CLIENT_EXTN_BILL_CYCLE
12.1.1
-
PACKAGE: APPS.PA_CLIENT_EXTN_BILL_CYCLE
12.2.2
-
PACKAGE: APPS.PA_CLIENT_EXTN_BILL_CYCLE
12.1.1
-
PACKAGE: APPS.PA_BILLING_CYCLES_PKG
12.1.1
-
PACKAGE: APPS.PA_BILLING_CYCLES_PKG
12.2.2
-
PACKAGE: APPS.PA_BILLING_SETUP_UTILS
12.1.1
-
PACKAGE: APPS.PA_BILLING_SETUP_UTILS
12.2.2
-
PACKAGE BODY: APPS.PA_BILLING_CYCLES_PKG
12.2.2
-
PACKAGE BODY: APPS.PA_BILLING_CYCLES_PKG
12.1.1
-
PACKAGE BODY: APPS.PA_BILLING_SETUP_UTILS
12.1.1
-
PACKAGE BODY: APPS.PA_BILLING_SETUP_UTILS
12.2.2
-
PACKAGE: APPS.OKL_STREAM_GENERATOR_PVT
12.2.2
-
PACKAGE: APPS.OKL_STREAM_GENERATOR_PVT
12.1.1
-
APPS.PA_CLIENT_EXTN_BILL_CYCLE dependencies on PA_CLIENT_EXTN_BILL_CYCLE
12.1.1
-
APPS.PA_CLIENT_EXTN_BILL_CYCLE dependencies on PA_CLIENT_EXTN_BILL_CYCLE
12.2.2
-
PACKAGE BODY: APPS.OKL_STREAM_GENERATOR_PVT
12.1.1
-
APPS.PA_BILLING_SETUP_UTILS dependencies on FND_API
12.1.1
-
APPS.PA_BILLING_SETUP_UTILS dependencies on FND_API
12.2.2
-
PACKAGE BODY: APPS.OKL_STREAM_GENERATOR_PVT
12.2.2