Results for “validate_object_budget”
10 results
AI-generated from documented ETRM metadata — verify critical details on the linked pages.
Overview
The package body APPS.OZF_BUDGETAPPROVAL_PVT implements the private business logic layer of the Oracle E-Business Suite Trade Management (formerly Oracle Funds and Budgets) approval framework. Its principal business function is to drive the budget and offer approval lifecycle: it evaluates whether a budget request qualifies for approval, validates the object-level budget against funds availability and eligibility rules, initiates the workflow-based approval request, sends notifications to vendors and approvers, handles the workflow response transition, and closes the associated activity budget once the approval process concludes.
The package is classified as a PVT (private) API, meaning it is an internal implementation package not intended for direct third-party calls. It is a VALID object in the APPS schema and, according to the ETRM 12.2.2 metadata, is referenced by eight other database objects, positioning it as a shared dependency within the OZF (Trade Management) module stack. It depends on the standard Oracle public APIs FND_API, FND_MSG_PUB, FND_GLOBAL, FND_PROFILE, FND_REQUEST, FND_DSQL, FND_MESSAGE, FND_CLIENT_INFO, and JTF_PLSQL_API, confirming that it conforms to the Oracle Application Object Library API conventions.
Key Procedures and Functions
The metadata documents nine procedures and functions within the package body. Their documented purposes are:
- WF_RESPOND — Processes the workflow response for a budget approval item, routing the approve/reject outcome back into the trade management approval tables so the budget status is updated accordingly.
- CLOSE_ACTBUDGET — Closes the activity budget once the approval cycle completes, finalizing the budget record.
- NOTIFY_VENDOR — Generates and dispatches the vendor notification associated with the budget approval decision.
- CHECK_BUDGET_QUALIFICATION — Evaluates whether a given budget meets the qualification criteria required before it may enter the approval process.
- VALIDATE_OBJECT_BUDGET — Validates a single object's budget, confirming the requested amount against available funds and applicable business rules.
- VALIDATE_OBJECT_BUDGET_ALL — Performs the same validation across all relevant objects in a set, typically for bulk verification.
- CONC_VALIDATE_OFFER_BUDGET — Concurrent-program entry point that validates offer budgets in bulk; its name indicates it is the concurrent manager callable variant.
- BUDGET_REQUEST_APPROVAL — Initiates the budget approval request, driving submission of the budget into the workflow approval path.
Tables Accessed
The package reads and writes the core Trade Management and Oracle Marketing tables. OZF_ACT_BUDGETS holds the activity budget records being validated and closed. OZF_APPROVAL_ACCESS defines approver access authority. OZF_FUNDS_ALL_B, OZF_FUNDS_ALL_TL, and OZF_REQUEST_HEADERS_ALL_B hold fund definitions and the budget/approval request headers. OZF_OFFERS and OZF_TEMP_ELIGIBILITY supply offer and temporary eligibility data used in qualification checks. AMS_CAMPAIGNS_ALL_B, AMS_CUSTOM_SETUP_ATTR, AMS_ACT_MARKET_SEGMENTS, and AMS_ACT_PRODUCTS provide campaign, setup attribute, market segment, and product targeting context. HZ_CUST_ACCOUNTS resolves customer/vendor account information for notifications, while QP_LIST_HEADERS supplies price list context. DUAL and DBMS_SQL are used for dynamic SQL construction and lookup operations.
Usage Notes
Because OZF_BUDGETAPPROVAL_PVT is a private package, it should not be invoked directly from custom code; callers should use the corresponding public API in the OZF_BUDGET* or OZF_FUNDS_PVT family, which internally delegate to this package. The CONC_VALIDATE_OFFER_BUDGET routine is normally launched as a concurrent program for bulk offer-budget validation, while BUDGET_REQUEST_APPROVAL and WF_RESPOND are driven through the Oracle Workflow approval process and its notification responses. NOTIFY_VENDOR is triggered as part of the approval communication flow. As a dependency of eight objects, changes to this package body can affect multiple downstream interfaces; any modification should be regression-tested against the full Trade Management approval cycle.