Search Results raise_approval_event
Overview
The APPS.FUN_NET_APPROVAL_WF package body supports the Oracle Netting workflow within Oracle E-Business Suite 12.1.1 and 12.2.2. Its primary responsibility is to raise the business event oracle.apps.fun.netting.batchApproval when a netting batch is submitted for approval, and to manage the associated workflow callbacks and status transitions for batch approval processing. The package bridges the Oracle Netting module (FUN) and the Oracle Workflow / Business Event subsystem, enabling batch approvers to act on netting batches and the system to advance or reject batches based on approval outcomes.
Key Procedures and Functions
- RAISE_APPROVAL_EVENT — Raises the
oracle.apps.fun.netting.batchApprovalbusiness event for a given batch. It builds a workflow parameter list containingBATCH_IDand callswf_event.Raise3to publish the event. This is the entry point that initiates the approval workflow when a batch requires approval. - INITIALIZE — A standard Workflow Function activity callback used to initialize the workflow process for a batch. It retrieves batch details through a cursor on
fun_net_batches_alland sets the workflow result, typically returning a status that governs the subsequent workflow branching. - VALIDATE_SETTLE_BATCH — Validates whether a batch is eligible for settlement. It is invoked as part of the approval workflow to confirm that the batch can proceed through settlement; the result governs whether the workflow continues or halts.
- GET_NORESPONSE_ACTION — Determines the action to take when an approver does not respond within a defined period. It supports timeout handling in the approval workflow.
- UPDATE_BATCH_STATUS_REJ — Updates the batch status to a rejected state, typically invoked when an approver rejects the batch or the workflow terminates unfavourably.
- UPDATE_BATCH_STATUS_ERR — Updates the batch status to an error state, invoked when the workflow or validation encounters an error condition.
Tables Accessed
- FUN_NET_BATCHES_ALL — The primary netting batch table. Read by
INITIALIZEand other procedures to obtain batch attributes, and written to by the status update procedures (UPDATE_BATCH_STATUS_REJandUPDATE_BATCH_STATUS_ERR) to reflect approval outcomes. - FUN_NET_AGREEMENTS_ALL — Referenced for agreement-level context associated with batches, supporting validation of batch settlement eligibility.
- FND_USER — Used to resolve approver identity and response information.
- WF_PARAMETER_LIST_T — The workflow parameter list type populated with
BATCH_IDwhen raising the approval event. - PLITBLM — Standard Oracle-supplied PL/SQL table/index-by type used internally.
Usage Notes
This package is invoked indirectly through the Oracle Netting approval workflow rather than being called directly by end users. The RAISE_APPROVAL_EVENT procedure is triggered when a batch is submitted for approval, causing the business event to fire and the workflow to start. The remaining procedures are registered as Workflow Function activities and are called by the Workflow Engine as the approval process progresses. Because the package is documented in ETRM with a classification of OTHER and is referenced by one other package, customizations should avoid direct invocation and instead integrate through the standard business event or workflow infrastructure. Any modification of batch statuses must respect the constraints enforced by the Oracle Netting module to preserve data integrity.
-
PACKAGE BODY: APPS.FUN_NET_APPROVAL_WF
12.1.1
-
PACKAGE BODY: APPS.FUN_NET_APPROVAL_WF
12.2.2
-
PACKAGE: APPS.OKL_CREDIT_LINE_WF
12.1.1
-
PACKAGE: APPS.OKL_CREDIT_LINE_WF
12.2.2
-
PACKAGE: APPS.FUN_NET_APPROVAL_WF
12.2.2
-
PACKAGE: APPS.FUN_NET_APPROVAL_WF
12.1.1
-
PACKAGE: APPS.OKL_FUNDING_WF
12.1.1
-
PACKAGE: APPS.OKL_FUNDING_WF
12.2.2
-
PACKAGE: APPS.OKL_KBK_APPROVALS_WF
12.1.1
-
PACKAGE: APPS.OKL_KBK_APPROVALS_WF
12.2.2
-
PACKAGE: APPS.ZPB_DC_WF
12.1.1
-
PACKAGE BODY: APPS.OKL_CREDIT_LINE_WF
12.2.2
-
PACKAGE BODY: APPS.OKL_CREDIT_LINE_WF
12.1.1
-
PACKAGE BODY: APPS.ZPB_DC_WF
12.1.1
-
PACKAGE BODY: APPS.OKL_FUNDING_WF
12.2.2
-
PACKAGE BODY: APPS.OKL_FUNDING_WF
12.1.1
-
PACKAGE BODY: APPS.OKL_KBK_APPROVALS_WF
12.1.1
-
APPS.FUN_NET_APPROVAL_WF dependencies on APP_EXCEPTION
12.1.1
-
APPS.FUN_NET_APPROVAL_WF dependencies on WF_PARAMETER_LIST_T
12.2.2
-
PACKAGE BODY: APPS.OKL_KBK_APPROVALS_WF
12.2.2
-
APPS.FUN_NET_APPROVAL_WF dependencies on WF_PARAMETER_LIST_T
12.1.1
-
APPS.FUN_NET_APPROVAL_WF dependencies on APP_EXCEPTION
12.2.2
-
APPS.OKL_CREDIT_LINE_WF dependencies on WF_PARAMETER_LIST_T
12.2.2
-
APPS.OKL_CREDIT_LINE_WF dependencies on OKL_API
12.1.1
-
APPS.OKL_KBK_APPROVALS_WF dependencies on OKL_API
12.2.2
-
APPS.OKL_CREDIT_LINE_WF dependencies on OKL_API
12.2.2
-
APPS.OKL_FUNDING_WF dependencies on OKL_API
12.1.1
-
APPS.OKL_KBK_APPROVALS_WF dependencies on OKL_API
12.1.1
-
APPS.OKL_FUNDING_WF dependencies on OKL_API
12.2.2
-
APPS.FUN_NET_APPROVAL_WF dependencies on WF_EVENT
12.1.1
-
APPS.FUN_NET_APPROVAL_WF dependencies on FUN_NET_UTIL
12.1.1
-
APPS.FUN_NET_APPROVAL_WF dependencies on FUN_NET_UTIL
12.2.2
-
APPS.OKL_CREDIT_LINE_WF dependencies on WF_PARAMETER_LIST_T
12.1.1
-
APPS.FUN_NET_APPROVAL_WF dependencies on WF_EVENT
12.2.2
-
APPS.ZPB_DC_WF dependencies on FND_MSG_PUB
12.1.1
-
APPS.ZPB_DC_WF dependencies on WF_PARAMETER_LIST_T
12.1.1
-
APPS.ZPB_DC_WF dependencies on FND_API
12.1.1
-
APPS.FUN_NET_APPROVAL_WF dependencies on FND_LOG
12.2.2
-
APPS.FUN_NET_APPROVAL_WF dependencies on FND_LOG
12.1.1
-
APPS.OKL_KBK_APPROVALS_WF dependencies on OKL_API
12.1.1
-
APPS.OKL_KBK_APPROVALS_WF dependencies on OKL_API
12.2.2
-
APPS.OKL_FUNDING_WF dependencies on OKL_API
12.2.2
-
APPS.ZPB_DC_WF dependencies on WF_CORE
12.1.1
-
APPS.OKL_FUNDING_WF dependencies on OKL_API
12.1.1
-
APPS.ZPB_DC_WF dependencies on ZPB_DC_WF
12.1.1
-
APPS.OKL_CREDIT_LINE_WF dependencies on OKL_API
12.1.1
-
APPS.OKL_CREDIT_LINE_WF dependencies on OKL_API
12.2.2