Search Results wf_itemkey
Overview
APPS.PO_REQ_WF_BUILD_ACCOUNT_INIT is a PL/SQL package body that supports the Oracle Workflow-driven account generator process for Purchasing requisition distribution accounting. In Oracle EBS 12.1.1 and 12.2.2, the account generator constructs charge account combinations for requisition distributions using the Workflow Engine. This package provides the initialization layer of that process: it generates the workflow itemkey, populates the Workflow item attributes required by subsequent account generation activities, and launches the workflow process that ultimately derives the code combination identifier. It also cooperates with budget, accrual, and variance sub-processes, exposing success flags for each so that the caller can determine which accounting branches completed.
The package header comment identifies the source file as POXWRQSB.pls and records an original creation date in 1997 and a modification for bug 669011 in 1998, confirming that it is a long-standing, shipped component of the Purchasing module rather than a customization artifact. The version string (120.1) indicates the release lineage carried forward into both 12.1.1 and 12.2.2.
Key Procedures and Functions
Three procedures/functions are documented for this package:
- START_WORKFLOW — The principal entry point. It generates the
itemkey, sets up Workflow item attributes through the Workflow API calls declared in the package (string, numeric, and date attribute setters), and starts the workflow process. Its signature exposes in-out success flags for charge, budget, accrual, and variance processing, together with an in-outcode_combination_idthat receives the resulting account. This function is what external callers invoke when they need the account generator to build a requisition distribution account. - DEBUG_ON — Enables diagnostic logging for the account generator workflow. The package body declares a PL/SQL boolean flag (
debug_acc_generator_wf) and reads the profile optionPO_SET_DEBUG_WORKFLOW_ONat initialization to establish the session default debug state. - DEBUG_OFF — Disables diagnostic logging, returning the package to normal (non-traced) operation.
Tables Accessed
The documented table references are almost entirely Oracle Projects lookup and hierarchy tables, which supply the validation and derivation metadata used by the account generator:
- PA_CLASS_CODES — expenditure classification codes.
- PA_EXPENDITURE_CATEGORIES and PA_EXPENDITURE_TYPES — the expenditure category and type values used to qualify the account.
- PA_PROJECTS_ALL and PA_PROJECT_TYPES_ALL — project and project type definitions against which project-related segments are validated.
- PA_TASKS — task-level validation for project and task accounting combinations.
These reads are consistent with the account generator's need to validate project, task, expenditure type, and expenditure category segments before assembling the final code combination.
Usage Notes
This package is invoked indirectly rather than through a standard form or concurrent program. It executes inside the Purchasing account generator workflow, which is triggered when a requisition distribution requires an account and the account generator is enabled for the operating unit. The package is referenced by two other packages in the ETRM repository, indicating that it is called programmatically by higher-level requisition and workflow orchestration code.
The presence of itemkey handling explains why a search for wf_itemkey surfaces this object: the workflow item key is generated here and then used as the correlation identifier for every subsequent Workflow API call that sets item attributes and advances the process. Debugging is controlled at run time through DEBUG_ON and DEBUG_OFF, with the profile option PO_SET_DEBUG_WORKFLOW_ON governing the default. Because the package is an internal (non-API) component with header version 120.1, modifications should be avoided; diagnostics should instead be performed through the debug procedures and the workflow status monitor. In 12.2.2 the same logical behavior applies, though the account generator should be validated against the multi-org and subledger accounting configurations in effect.
-
APPS.PO_REQ_WF_BUILD_ACCOUNT_INIT SQL Statements
12.2.2
-
APPS.PO_REQ_WF_BUILD_ACCOUNT_INIT SQL Statements
12.1.1
-
PACKAGE BODY: APPS.PO_REQ_WF_BUILD_ACCOUNT_INIT
12.2.2
-
PACKAGE BODY: APPS.PO_REQ_WF_BUILD_ACCOUNT_INIT
12.1.1
-
PACKAGE BODY: APPS.IBE_WFNOTIFICATION_PVT
12.1.1
-
PACKAGE BODY: APPS.IBE_WFNOTIFICATION_PVT
12.2.2
-
PACKAGE BODY: APPS.ASO_WFNOTIFICATION_PVT
12.1.1
-
PACKAGE BODY: APPS.ASO_WFNOTIFICATION_PVT
12.2.2
-
PACKAGE BODY: APPS.JTF_WFNOTIFICATION_PVT
12.1.1
-
PACKAGE BODY: APPS.JTF_WFNOTIFICATION_PVT
12.2.2
-
VIEW: LNS.LNS_EVT_ACTION_HISTORY_H#
12.2.2
-
PACKAGE BODY: APPS.PO_WF_BUILD_ACCOUNT_INIT
12.2.2
-
Table: LNS_EVT_ACTION_HISTORY_H
12.1.1
owner:LNS, object_type:TABLE, fnd_design_data:LNS.LNS_EVT_ACTION_HISTORY_H, object_name:LNS_EVT_ACTION_HISTORY_H, status:VALID, product: LNS - Loans , description: This table stores the information about workflow actions performed for a Loan event , implementation_dba_data: LNS.LNS_EVT_ACTION_HISTORY_H ,
-
Table: LNS_EVT_ACTION_HISTORY_H
12.2.2
owner:LNS, object_type:TABLE, fnd_design_data:LNS.LNS_EVT_ACTION_HISTORY_H, object_name:LNS_EVT_ACTION_HISTORY_H, status:VALID, product: LNS - Loans , description: This table stores the information about workflow actions performed for a Loan event , implementation_dba_data: LNS.LNS_EVT_ACTION_HISTORY_H ,
-
PACKAGE BODY: APPS.PO_WF_BUILD_ACCOUNT_INIT
12.1.1
-
VIEW: AMS.AMS_DM_SCORES_ALL_B#
12.2.2
-
VIEW: AMS.AMS_DM_MODELS_ALL_B#
12.2.2
-
VIEW: WIP.WIP_MOVE_TRANSACTIONS#
12.2.2
-
VIEW: EAM.EAM_FORECAST_WO#
12.2.2
-
VIEW: WIP.WIP_OPERATIONS#
12.2.2
-
APPS.AMS_WFMOD_PVT SQL Statements
12.2.2
-
VIEW: LNS.LNS_EVT_ACTION_HISTORY_H#
12.2.2
owner:LNS, object_type:VIEW, object_name:LNS_EVT_ACTION_HISTORY_H#, status:VALID,
-
APPS.AMS_WFMOD_PVT SQL Statements
12.1.1
-
TABLE: LNS.LNS_EVT_ACTION_HISTORY_H
12.1.1
owner:LNS, object_type:TABLE, fnd_design_data:LNS.LNS_EVT_ACTION_HISTORY_H, object_name:LNS_EVT_ACTION_HISTORY_H, status:VALID,
-
TABLE: LNS.LNS_EVT_ACTION_HISTORY_H
12.2.2
owner:LNS, object_type:TABLE, fnd_design_data:LNS.LNS_EVT_ACTION_HISTORY_H, object_name:LNS_EVT_ACTION_HISTORY_H, status:VALID,
-
VIEW: AMS.AMS_DM_SCORES_ALL_B#
12.2.2
owner:AMS, object_type:VIEW, object_name:AMS_DM_SCORES_ALL_B#, status:VALID,
-
VIEW: AMS.AMS_DM_MODELS_ALL_B#
12.2.2
owner:AMS, object_type:VIEW, object_name:AMS_DM_MODELS_ALL_B#, status:VALID,
-
VIEW: WIP.WIP_MOVE_TRANSACTIONS#
12.2.2
owner:WIP, object_type:VIEW, object_name:WIP_MOVE_TRANSACTIONS#, status:VALID,
-
VIEW: WIP.WIP_OPERATIONS#
12.2.2
owner:WIP, object_type:VIEW, object_name:WIP_OPERATIONS#, status:VALID,
-
PACKAGE BODY: APPS.OKI_ALERT_UTIL_PVT
12.1.1
-
VIEW: EAM.EAM_FORECAST_WO#
12.2.2
owner:EAM, object_type:VIEW, object_name:EAM_FORECAST_WO#, status:VALID,
-
View: AMS_DM_SCORES_VL
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AMS.AMS_DM_SCORES_VL, object_name:AMS_DM_SCORES_VL, status:VALID, product: AMS - Marketing , description: Multi-lingual view for data mining scoring runs. , implementation_dba_data: APPS.AMS_DM_SCORES_VL ,
-
View: AMS_DM_SCORES_VL
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AMS.AMS_DM_SCORES_VL, object_name:AMS_DM_SCORES_VL, status:VALID, product: AMS - Marketing , description: Multi-lingual view for data mining scoring runs. , implementation_dba_data: APPS.AMS_DM_SCORES_VL ,
-
APPS.LNS_EVT_ACTION_HISTORY_H_PKG SQL Statements
12.2.2
-
Table: AMS_DM_SCORES_ALL_B
12.1.1
owner:AMS, object_type:TABLE, fnd_design_data:AMS.AMS_DM_SCORES_ALL_B, object_name:AMS_DM_SCORES_ALL_B, status:VALID, product: AMS - Marketing , description: Container for capturing statistics of a scoring instance. , implementation_dba_data: AMS.AMS_DM_SCORES_ALL_B ,
-
View: AMS_DM_MODELS_VL
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AMS.AMS_DM_MODELS_VL, object_name:AMS_DM_MODELS_VL, status:VALID, product: AMS - Marketing , description: Multi-lingual view for data mining models. , implementation_dba_data: APPS.AMS_DM_MODELS_VL ,
-
APPS.LNS_EVT_ACTION_HISTORY_H_PKG SQL Statements
12.1.1
-
View: AMS_DM_MODELS_VL
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AMS.AMS_DM_MODELS_VL, object_name:AMS_DM_MODELS_VL, status:VALID, product: AMS - Marketing , description: Multi-lingual view for data mining models. , implementation_dba_data: APPS.AMS_DM_MODELS_VL ,
-
PACKAGE BODY: APPS.AMS_DMSCORE_PUB
12.1.1
-
PACKAGE BODY: APPS.AMS_DMSCORE_PUB
12.2.2
-
VIEW: APPS.AMS_DM_SCORES_VL
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AMS.AMS_DM_SCORES_VL, object_name:AMS_DM_SCORES_VL, status:VALID,
-
TABLE: AMS.AMS_DM_SCORES_ALL_B
12.1.1
owner:AMS, object_type:TABLE, fnd_design_data:AMS.AMS_DM_SCORES_ALL_B, object_name:AMS_DM_SCORES_ALL_B, status:VALID,
-
TABLE: AMS.AMS_DM_SCORES_ALL_B
12.2.2
owner:AMS, object_type:TABLE, fnd_design_data:AMS.AMS_DM_SCORES_ALL_B, object_name:AMS_DM_SCORES_ALL_B, status:VALID,
-
VIEW: APPS.AMS_DM_SCORES_VL
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AMS.AMS_DM_SCORES_VL, object_name:AMS_DM_SCORES_VL, status:VALID,
-
Table: AMS_DM_SCORES_ALL_B
12.2.2
owner:AMS, object_type:TABLE, fnd_design_data:AMS.AMS_DM_SCORES_ALL_B, object_name:AMS_DM_SCORES_ALL_B, status:VALID, product: AMS - Marketing , description: Container for capturing statistics of a scoring instance. , implementation_dba_data: AMS.AMS_DM_SCORES_ALL_B ,
-
PACKAGE BODY: APPS.ASO_CONC_REQ_INT
12.1.1
-
View: AMS_DM_MODELS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AMS.AMS_DM_MODELS_V, object_name:AMS_DM_MODELS_V, status:VALID, product: AMS - Marketing , description: View of data mining models with denormalized reference objects. , implementation_dba_data: APPS.AMS_DM_MODELS_V ,
-
View: AMS_DM_SCORES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AMS.AMS_DM_SCORES_V, object_name:AMS_DM_SCORES_V, status:VALID, product: AMS - Marketing , description: View of data mining scoring runs with denormalized reference objects. , implementation_dba_data: APPS.AMS_DM_SCORES_V ,
-
PACKAGE BODY: APPS.LNS_EVT_ACTION_HISTORY_H_PKG
12.2.2
-
PACKAGE BODY: APPS.ASO_CONC_REQ_INT
12.2.2