Search Results verify_budget_rules




Overview

APPS.GMS_CLIENT_EXTN_BUDGET is a client extension package body within the Oracle Grants Management (GMS) module of Oracle E-Business Suite. It provides a documented extension point through which customers and implementers can supply site-specific business rules that govern how budget costs are calculated for grants and funded projects. The package is classified in the ETRM metadata as an OTHER API, meaning it is not a standard public interface but rather a hook or stub intended to be customized. Its header signature, $Header: gmsbcecb.pls 120.1 2005/07/26 14:21:10 appldev ship $, indicates a long-standing, shipped file that has remained stable across releases.

In EBS 12.1.1 and 12.2.2, the package ships with placeholder implementations. Each procedure contains a comment stating that it is reserved for future enhancements and is not supported at the time of delivery. Consequently, the shipped body performs no meaningful calculation; the default behavior of every routine is to initialize output parameters, most notably setting x_error_code := 0, and to perform no further processing. Customization consists of replacing these stubs with client-defined logic.

Key Procedures and Functions

The ETRM metadata documents four procedures within the package body:

  • CALC_RAW_COST — Intended to compute the raw (unburdened) cost for a budget line. It accepts identifying context for the budget version, project, task, resource list, resource list member, and resource, together with date and period context and a quantity. The raw cost is returned through an OUT NOCOPY parameter, along with a product code and standard error code and message outputs. In the shipped body, the routine only initializes the error code and returns zero, deferring actual calculation to client code.
  • CALC_BURDENED_COST — Intended to compute burdened cost by applying burden multipliers or overhead to a supplied raw cost. Its parameter profile mirrors CALC_RAW_COST, with the addition of an input raw cost and an OUT NOCOPY burdened cost value. As shipped, it likewise performs no calculation and simply initializes the error code, leaving the burdened cost value untouched.
  • VERIFY_BUDGET_RULES — The procedure most directly associated with the user's search term. It is the extension point for validating budget data against client-specific business rules. Typical custom implementations use it to enforce policy checks such as allowable cost ceilings, funding restrictions, date or period eligibility, or resource-level spending limits, returning diagnostic information through the error code and error message outputs. Because it is an unsupported extension stub in the base product, no shipped validation logic is present.
  • OVERRIDE_INST_DATE_VALIDATION — A hook that allows clients to override the standard installation date validation applied during budget processing when site-specific requirements demand it. The base implementation does not alter the standard validation behavior.

All four procedures follow a consistent convention: parameters are declared with IN, OUT, or IN OUT NOCOPY modes, and error reporting is standardized through numeric error code and character error message outputs rather than raised exceptions.

Tables Accessed

The ETRM metadata documents no tables referenced through APPS synonyms for this package body. This is consistent with its role as a client extension stub: the shipped code neither reads nor writes any database tables. Any table access is introduced solely through customer customization. Implementers who extend these procedures typically query budget and project tables such as GMS_BUDGET_VERSIONS, GMS_BUDGET_LINES, PA_PROJECTS, PA_TASKS, and PA_RESOURCE_LIST_MEMBERS to resolve the identifiers passed into the procedures. Because no base table dependencies exist, the package imposes no invalidations on standard GMS objects.

Usage Notes

GMS_CLIENT_EXTN_BUDGET is invoked as part of the Grants Management budget processing flow, called by the two other packages that the metadata records as referencing it. The standard grants budget forms and concurrent programs drive these calls whenever raw cost, burdened cost, rule verification, or installation date validation is required during budget entry, adjustment, or costing.

Because the shipped procedures are explicitly documented as unsupported future enhancements, the package should only be modified through Oracle's sanctioned customization approach. Customers copy the stub body and insert business rules, preserving the procedure names and parameter signatures so that the calling GMS code continues to bind correctly. Error handling must follow the established convention: assign SQLCODE or a custom numeric value to the error code parameter and populate the error message parameter, rather than raising unhandled exceptions. When the extension logic completes successfully, the error code must remain zero. This design permits the base grants budget cycle to proceed with standard processing when no custom rule applies, while enabling organizations to enforce cost and validation policies that are unique to their grant administration requirements.