Search Results pa_mc_invoice_detail_pkg
Overview
PA_MC_INVOICE_DETAIL_PKG is a PL/SQL package owned by the APPS schema in Oracle E-Business Suite, validated against releases 12.1.1 and 12.2.2. The package forms part of the Oracle Projects (PA) billing infrastructure and is specifically concerned with the manipulation of invoice detail records. Its naming convention, incorporating the "MC" prefix, associates it with the Multi-Currency and cross-charge (intercompany) processing paths used by Oracle Projects when generating and maintaining draft invoices.
In functional terms, the package provides the transaction-level data manipulation routines that insert, delete, and update rows in the PA_DRAFT_INVOICE_DETAILS table. These rows represent the individual lines that ultimately appear on a project invoice, including billable and unbilled amounts, associated project, task, and expenditure type references, and currency information. By encapsulating this logic, the package ensures that invoice detail changes are applied consistently across the various components of the Oracle Projects billing engine.
Key Procedures and Functions
The ETRM metadata documents four procedures and functions within the package. Three named procedures are exposed:
- INSERT_ROWS — Responsible for creating new invoice detail records in the draft invoice detail table. It supports the population of invoice lines during the invoice generation and cross-charge accounting flows.
- DELETE_ROWS — Removes invoice detail records. This is used when invoice lines are retracted, adjusted, or regenerated, ensuring that stale detail rows do not persist into the finalized invoice.
- UPDATE_ROWS — Modifies existing invoice detail records, typically to reflect recalculation of bill amounts, currency conversions, or corrections applied during invoice processing.
The arithmetic and set-based nature of these names suggests that the package is designed to process collections of invoice detail rows in bulk rather than one record at a time, which is consistent with the volume requirements of project billing.
Tables Accessed
The package operates against two documented tables, accessed through APPS synonyms:
- PA_DRAFT_INVOICE_DETAILS — The primary table for draft invoice detail lines. This is the target of the INSERT_ROWS, DELETE_ROWS, and UPDATE_ROWS operations.
- PLITBLM — A PL/SQL index-by table type used as an in-memory collection structure for passing and processing rows in bulk.
The dependency listing also shows that PA_MC_INVOICE_DETAIL_PKG references PA_INVOICE_DETAIL_PKG, its single-currency counterpart, and PA_PLSQL_DATATYPES, which supplies shared PL/SQL data type definitions used throughout the Oracle Projects code base.
Usage Notes
The package is referenced by two other packages: PA_INVOICE_DETAIL_PROCESS and PA_IC_INV_UTILS. This dependency chain is significant. PA_INVOICE_DETAIL_PROCESS drives the core invoice detail processing within Oracle Projects, while PA_IC_INV_UTILS provides intercompany invoice utility routines. Together with the "MC" naming convention, this confirms that PA_MC_INVOICE_DETAIL_PKG is invoked as a subordinate routine during invoice generation, adjustment, and cross-charge processing.
Because these packages are called from the Oracle Projects billing concurrent programs and from the invoice-related forms, the package is not normally invoked directly by end users. Instead, it executes transparently as part of the standard billing cycle. Customizations and extensions should not modify the package directly, since Oracle supports it as a proprietary component; instead, custom code should call Oracle's public billing APIs.
Direct dependencies on the package should be treated cautiously during upgrades, as the package body is subject to change between releases.
-
PACKAGE: APPS.PA_MC_INVOICE_DETAIL_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:PA_MC_INVOICE_DETAIL_PKG, status:VALID,
-
PACKAGE BODY: APPS.PA_MC_INVOICE_DETAIL_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PA_MC_INVOICE_DETAIL_PKG, status:VALID,
-
PACKAGE: APPS.PA_INVOICE_DETAIL_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:PA_INVOICE_DETAIL_PKG, status:VALID,
-
PACKAGE: APPS.PA_INVOICE_DETAIL_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:PA_INVOICE_DETAIL_PKG, status:VALID,
-
PACKAGE: APPS.PA_MC_INVOICE_DETAIL_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:PA_MC_INVOICE_DETAIL_PKG, status:VALID,
-
PACKAGE BODY: APPS.PA_MC_INVOICE_DETAIL_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PA_MC_INVOICE_DETAIL_PKG, status:VALID,
-
PACKAGE: APPS.PA_MC_INVOICE_DETAIL_PKG
12.2.2
-
PACKAGE: APPS.PA_MC_INVOICE_DETAIL_PKG
12.1.1
-
PACKAGE: APPS.PA_IC_INV_UTILS
12.1.1
owner:APPS, object_type:PACKAGE, object_name:PA_IC_INV_UTILS, status:VALID,
-
SYNONYM: APPS.PA_DRAFT_INVOICE_DETAILS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PA_DRAFT_INVOICE_DETAILS, status:VALID,
-
PACKAGE: APPS.PA_IC_INV_UTILS
12.2.2
owner:APPS, object_type:PACKAGE, object_name:PA_IC_INV_UTILS, status:VALID,
-
PACKAGE: APPS.PA_MC_CURRENCY_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:PA_MC_CURRENCY_PKG, status:VALID,
-
PACKAGE BODY: APPS.PA_IC_INV_UTILS
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PA_IC_INV_UTILS, status:VALID,
-
SYNONYM: APPS.PA_DRAFT_INVOICE_DETAILS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PA_DRAFT_INVOICE_DETAILS, status:VALID,
-
PACKAGE: APPS.PA_MC_CURRENCY_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:PA_MC_CURRENCY_PKG, status:VALID,
-
PACKAGE BODY: APPS.PA_IC_INV_UTILS
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PA_IC_INV_UTILS, status:VALID,
-
PACKAGE: APPS.GL_MC_CURRENCY_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:GL_MC_CURRENCY_PKG, status:VALID,
-
PACKAGE BODY: APPS.PA_INVOICE_DETAIL_PROCESS
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PA_INVOICE_DETAIL_PROCESS, status:VALID,
-
PACKAGE: APPS.GL_MC_CURRENCY_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:GL_MC_CURRENCY_PKG, status:VALID,
-
PACKAGE BODY: APPS.PA_INVOICE_DETAIL_PROCESS
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PA_INVOICE_DETAIL_PROCESS, status:VALID,
-
PACKAGE: APPS.PA_PLSQL_DATATYPES
12.1.1
owner:APPS, object_type:PACKAGE, object_name:PA_PLSQL_DATATYPES, status:VALID,
-
PACKAGE: APPS.PA_PLSQL_DATATYPES
12.2.2
owner:APPS, object_type:PACKAGE, object_name:PA_PLSQL_DATATYPES, status:VALID,
-
PACKAGE BODY: APPS.PA_MC_INVOICE_DETAIL_PKG
12.1.1
-
PACKAGE BODY: APPS.PA_MC_INVOICE_DETAIL_PKG
12.2.2
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
APPS.PA_IC_INV_UTILS dependencies on PA_MC_INVOICE_DETAIL_PKG
12.2.2
-
APPS.PA_INVOICE_DETAIL_PROCESS dependencies on PA_MC_INVOICE_DETAIL_PKG
12.2.2
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
APPS.PA_INVOICE_DETAIL_PROCESS dependencies on PA_MC_INVOICE_DETAIL_PKG
12.1.1
-
APPS.PA_IC_INV_UTILS dependencies on PA_MC_INVOICE_DETAIL_PKG
12.1.1
-
APPS.PA_MC_INVOICE_DETAIL_PKG dependencies on PA_MC_INVOICE_DETAIL_PKG
12.2.2
-
APPS.PA_MC_INVOICE_DETAIL_PKG dependencies on PA_MC_INVOICE_DETAIL_PKG
12.1.1
-
APPS.PA_MC_INVOICE_DETAIL_PKG dependencies on PA_PLSQL_DATATYPES
12.1.1
-
APPS.PA_MC_INVOICE_DETAIL_PKG dependencies on PA_PLSQL_DATATYPES
12.2.2
-
APPS.PA_MC_INVOICE_DETAIL_PKG dependencies on PA_INVOICE_DETAIL_PKG
12.1.1
-
APPS.PA_MC_INVOICE_DETAIL_PKG dependencies on PA_INVOICE_DETAIL_PKG
12.2.2
-
APPS.PA_MC_INVOICE_DETAIL_PKG dependencies on PA_PLSQL_DATATYPES
12.2.2
-
APPS.PA_MC_INVOICE_DETAIL_PKG dependencies on PA_PLSQL_DATATYPES
12.1.1
-
PACKAGE: APPS.FND_PROFILE
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FND_PROFILE, status:VALID,
-
PACKAGE: APPS.FND_PROFILE
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FND_PROFILE, status:VALID,
-
SYNONYM: PUBLIC.PLITBLM
12.1.1
owner:PUBLIC, object_type:SYNONYM, object_name:PLITBLM, status:VALID,
-
SYNONYM: PUBLIC.PLITBLM
12.2.2
owner:PUBLIC, object_type:SYNONYM, object_name:PLITBLM, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
12.1.1 DBA Data
12.1.1
-
PACKAGE: SYS.STANDARD
12.1.1
owner:SYS, object_type:PACKAGE, object_name:STANDARD, status:VALID,