Search Results initialize_process
Overview
FV_AP_CASH_POS_DTL_PKG is an Oracle EBS Application Object Library (AOL) PL/SQL package owned by the APPS schema and classified as an "OTHER" API. It is part of the Financials Vertical (FV) module, specifically addressing Payables cash positioning functionality. Its principal business function is to build and populate the cash position detail records that reconcile Accounts Payable payment activity against General Ledger balances and account segments. The package consolidates invoice selection, code combination resolution, and GL period validation logic into a single driver routine (MAIN) that is designed to be called from a concurrent program. The package header declares AUTHID CURRENT_USER, meaning that at runtime it executes with the privileges of the calling user rather than the definer, which is typical for concurrent-program packages that operate on AP and GL data within the APPS schema context.
Key Procedures and Functions
The package exposes four documented program units:
- MAIN — The primary entry point, driven by the standard concurrent program interface signature (errbuf OUT, retcode OUT) plus two input parameters: a payment batch identifier and an organization identifier. It orchestrates the overall cash positioning run, invoking the subordinate routines and returning success or failure status to the concurrent manager.
- INITIALIZE_PROCESS — Performs setup and cleanup activities that must precede record creation, such as initializing working storage and staging structures for the run. This is the procedure most directly associated with the user search term "initialize_process."
- CREATE_CASH_POSITION_RECORD — The core worker routine that constructs the actual cash position detail rows from the qualifying invoice and GL data assembled during initialization.
- GET_SEGMENT_NUM — A helper that determines the appropriate accounting flexfield segment number to use when resolving code combinations, ensuring the correct segment is interrogated for cash position calculations.
Tables Accessed
The package reads and writes a broad set of AP, GL, and Flexfields tables through APPS synonyms. AP_INVOICE_DISTRIBUTIONS supplies invoice distribution lines, while AP_INV_SELECTION_CRITERIA_ALL, AP_SELECTED_INVOICES, and AP_SELECTED_INVOICES_ALL provide the pay batch selection criteria and the resulting selected invoice population. AP_SYSTEM_PARAMETERS supplies Payables system-level defaults. GL_BALANCES and GL_PERIOD_STATUSES provide period balances and open/closed period information used to validate the accounting period for each cash position entry. GL_CODE_COMBINATIONS, FND_ID_FLEX_SEGMENTS, FND_FLEX_VALUES, and FND_FLEX_VALUE_SETS underpin accounting flexfield segment resolution and value validation. FV_FACTS_USSGL_ACCOUNTS and FV_AP_CASH_POS_TEMP are the FV-specific staging and fact tables into which calculated cash position details are written. DBMS_SQL appears as a dynamic SQL dependency used for programmatic query construction.
Usage Notes
FV_AP_CASH_POS_DTL_PKG is not referenced by any other documented package, indicating that it is a leaf-level utility invoked directly rather than as a shared library. In practice it is executed through the MAIN procedure as an Oracle EBS concurrent program, with the payment batch and org_id supplied by the concurrent program definition. INITIALIZE_PROCESS and CREATE_CASH_POSITION_RECORD are intended to be called within the MAIN driver sequence rather than independently, and callers implementing custom cash positioning logic should mirror that sequence. Because the package relies on the FV_AP_CASH_POS_TEMP staging table, any invocation should be preceded by appropriate cleanup to avoid residual data from prior runs. The presence of the $Header revision line (120.4, dated 2005) indicates the package has been stable across the 12.1.1 and 12.2.2 releases, so behavior should be consistent between those versions.
-
PACKAGE: APPS.FV_AP_CASH_POS_DTL_PKG
12.2.2
-
PACKAGE: APPS.FV_AP_CASH_POS_DTL_PKG
12.1.1
-
PACKAGE: APPS.AD_LONGTOLOB_PKG
12.1.1
-
PACKAGE: APPS.AD_LONGTOLOB_PKG
12.2.2
-
PACKAGE BODY: APPS.FV_AP_CASH_POS_DTL_PKG
12.1.1
-
PACKAGE BODY: APPS.FV_AP_CASH_POS_DTL_PKG
12.2.2
-
PACKAGE BODY: APPS.JL_ZZ_FA_REVAL_RULES_PKG
12.1.1
-
PACKAGE BODY: APPS.JL_ZZ_FA_REVAL_RULES_PKG
12.2.2
-
PACKAGE BODY: APPS.AD_LONGTOLOB_PKG
12.1.1
-
PACKAGE BODY: APPS.AD_LONGTOLOB_PKG
12.2.2
-
APPS.FV_AP_CASH_POS_DTL_PKG dependencies on FV_FACTS_USSGL_ACCOUNTS
12.2.2
-
APPS.AD_LONGTOLOB_PKG dependencies on AD_LONGTOLOB_PKG
12.2.2
-
APPS.AD_LONGTOLOB_PKG dependencies on AD_LONG_COLUMN_CONVERSIONS
12.1.1
-
APPS.FV_AP_CASH_POS_DTL_PKG dependencies on FV_FACTS_USSGL_ACCOUNTS
12.1.1
-
APPS.AD_LONGTOLOB_PKG dependencies on AD_LONGTOLOB_PKG
12.1.1
-
APPS.AD_LONGTOLOB_PKG dependencies on AD_LONG_COLUMN_CONVERSIONS
12.2.2
-
APPS.JL_ZZ_FA_REVAL_RULES_PKG dependencies on FND_LOG
12.1.1
-
APPS.JL_ZZ_FA_REVAL_RULES_PKG dependencies on FND_FILE
12.2.2
-
APPS.JL_ZZ_FA_REVAL_RULES_PKG dependencies on FND_FILE
12.1.1
-
APPS.JL_ZZ_FA_REVAL_RULES_PKG dependencies on FND_LOG
12.2.2
-
APPS.FV_AP_CASH_POS_DTL_PKG dependencies on FV_UTILITY
12.1.1
-
APPS.FV_AP_CASH_POS_DTL_PKG dependencies on FND_LOG
12.1.1
-
APPS.FV_AP_CASH_POS_DTL_PKG dependencies on FND_LOG
12.2.2
-
APPS.FV_AP_CASH_POS_DTL_PKG dependencies on FV_UTILITY
12.2.2