Search Results ap_auto_dm_creation_pkg
Overview
AP_AUTO_DM_CREATION_PKG is a PL/SQL package owned by the APPS schema in Oracle E-Business Suite Release 12.1.1 and 12.2.2. Its name reflects its purpose: the automated creation of distribution (DM) records within the Payables (AP) module. In Oracle Payables, invoice distributions represent the accounting and tax allocation lines that make up an invoice — the individual lines that specify the expense account, amount, and descriptive detail for each portion of the invoice. Before an invoice can be accounted and validated through the Payables accounting engine, its distributions must exist in the underlying tables.
This package supports an automation pathway for generating those distribution rows programmatically, rather than requiring a user to key each distribution manually through the Payables entry forms. It is classified in the ETRM metadata as an "OTHER" API, meaning it is not part of Oracle's documented public API set and carries no formal interface guarantee. It is an internal utility intended for use by other Payables components, batch processes, or tightly-coupled custom code that needs to materialize invoice distribution records in a controlled fashion.
Key Procedures and Functions
The documented ETRM metadata identifies a single program unit within the package:
- CREATE_DM — The core routine responsible for creating distribution records. Based on the package's declared dependencies and name, this procedure handles the insertion and population of invoice distribution data, driving the batch and invoice context required to associate the generated distributions with their parent invoice. The documented metadata does not expose the parameter list, so its exact interface must be confirmed against the live source in the environment.
Because only one program unit is documented, the package is best understood as a focused single-purpose routine rather than a general-purpose API library. No functions with return values are enumerated in the metadata.
Tables Accessed
The package references a substantial set of Payables objects through APPS synonyms, which delineates both its operating context and the data it consumes and produces:
- AP_INVOICES, AP_INVOICES_ALL, AP_INVOICES_S, AP_INVOICES_S1 — the invoice header tables and their supporting views/sequences. The base process requires the invoice identity to attach distributions.
- AP_INVOICE_DISTRIBUTIONS, AP_INVOICE_LINES_ALL — the primary target tables where created distribution and line records are persisted.
- AP_BATCHES, AP_BATCHES_ALL, AP_BATCHES_S, AP_BATCHES_S1 — invoice batch tables, indicating that distribution creation may be performed in a batch or grouped context, and that the routine coordinates batch membership.
- AP_SUPPLIERS, AP_SUPPLIER_SITES, AP_SUPPLIER_SITES_ALL — supplier and supplier site data, used to resolve vendor context such as default liability or site-level accounting attributes.
- AP_SYSTEM_PARAMETERS — Payables system-level configuration that supplies defaulting behavior and accounting rules.
- FND_CURRENCIES — currency definitions, required when distributions carry amount or currency conversion attributes.
The breadth of these references confirms that CREATE_DM must validate its target invoice against batches, supplier, and system configuration before writing distributions.
Usage Notes
As an internal utility rather than a published API, AP_AUTO_DM_CREATION_PKG is not intended for direct invocation from end-user forms. It is most likely called by Payables batch and import processes — for example, invoice import or auto-creation routines that need to build distributions as part of a larger transaction — or invoked from custom concurrent programs and PL/SQL code where a developer requires programmatic generation of invoice distributions. ETRM records zero dependent packages referencing it, so its consumers are not other documented packages but application-level callers.
Because Oracle does not publish the signature of CREATE_DM or guarantee its stability across patch levels, any custom code that calls this package should be treated as a controlled extension, validated thoroughly against the specific 12.1.1 or 12.2.2 installation, and re-verified after Payables patches. Developers should prefer documented Payables APIs (such as the invoice and distribution APIs) where an equivalent public interface exists, reserving this package for cases where no supported alternative fulfills the requirement.
-
PACKAGE: APPS.AP_AUTO_DM_CREATION_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:AP_AUTO_DM_CREATION_PKG, status:VALID,
-
PACKAGE: APPS.AP_AUTO_DM_CREATION_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:AP_AUTO_DM_CREATION_PKG, status:VALID,
-
PACKAGE BODY: APPS.AP_AUTO_DM_CREATION_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AP_AUTO_DM_CREATION_PKG, status:VALID,
-
PACKAGE BODY: APPS.AP_AUTO_DM_CREATION_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AP_AUTO_DM_CREATION_PKG, status:VALID,
-
PACKAGE: APPS.IBY_EXT_PAYEE_RELSHIPS_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:IBY_EXT_PAYEE_RELSHIPS_PKG, status:VALID,
-
SYNONYM: APPS.AP_BATCHES_S1
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AP_BATCHES_S1, status:VALID,
-
PACKAGE: APPS.AP_AUTO_DM_CREATION_PKG
12.1.1
-
SYNONYM: APPS.AP_BATCHES_S1
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AP_BATCHES_S1, status:VALID,
-
SYNONYM: APPS.AP_INVOICES_S1
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AP_INVOICES_S1, status:VALID,
-
SYNONYM: APPS.AP_INVOICES_S1
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AP_INVOICES_S1, status:VALID,
-
PACKAGE: APPS.IBY_EXT_PAYEE_RELSHIPS_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:IBY_EXT_PAYEE_RELSHIPS_PKG, status:VALID,
-
PACKAGE: APPS.AP_RECT_MATCH_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:AP_RECT_MATCH_PKG, status:VALID,
-
PACKAGE: APPS.AP_RECT_MATCH_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:AP_RECT_MATCH_PKG, status:VALID,
-
SYNONYM: APPS.AP_BATCHES_S
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AP_BATCHES_S, status:VALID,
-
PACKAGE: APPS.AP_MATCHING_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:AP_MATCHING_PKG, status:VALID,
-
PACKAGE: APPS.AP_CREATE_PAY_SCHEDS_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:AP_CREATE_PAY_SCHEDS_PKG, status:VALID,
-
SYNONYM: APPS.AP_BATCHES_S
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AP_BATCHES_S, status:VALID,
-
PACKAGE: APPS.AP_AUTO_DM_CREATION_PKG
12.2.2
-
PACKAGE: APPS.AP_CREATE_PAY_SCHEDS_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:AP_CREATE_PAY_SCHEDS_PKG, status:VALID,
-
SYNONYM: APPS.AP_INVOICES_S
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AP_INVOICES_S, status:VALID,
-
SYNONYM: APPS.AP_INVOICES_S
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AP_INVOICES_S, status:VALID,
-
PACKAGE: APPS.AP_MATCHING_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:AP_MATCHING_PKG, status:VALID,
-
SYNONYM: APPS.FND_DOC_SEQUENCE_ASSIGNMENTS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:FND_DOC_SEQUENCE_ASSIGNMENTS, status:VALID,
-
SYNONYM: APPS.FND_DOC_SEQUENCE_ASSIGNMENTS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:FND_DOC_SEQUENCE_ASSIGNMENTS, status:VALID,
-
SYNONYM: APPS.AP_BATCHES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AP_BATCHES, status:VALID,
-
PACKAGE: APPS.AP_ETAX_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:AP_ETAX_PKG, status:VALID,
-
PACKAGE: APPS.AP_ETAX_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:AP_ETAX_PKG, status:VALID,
-
SYNONYM: APPS.AP_SUPPLIER_SITES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AP_SUPPLIER_SITES, status:VALID,
-
SYNONYM: APPS.AP_BATCHES_ALL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AP_BATCHES_ALL, status:VALID,
-
SYNONYM: APPS.AP_BATCHES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AP_BATCHES, status:VALID,
-
SYNONYM: APPS.AP_BATCHES_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AP_BATCHES_ALL, status:VALID,
-
PACKAGE: APPS.AP_INVOICES_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:AP_INVOICES_PKG, status:VALID,
-
SYNONYM: APPS.AP_SUPPLIER_SITES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AP_SUPPLIER_SITES, status:VALID,
-
PACKAGE: APPS.AP_INVOICES_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:AP_INVOICES_PKG, status:VALID,
-
PACKAGE: APPS.FND_SEQNUM
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FND_SEQNUM, status:VALID,
-
PACKAGE: APPS.FND_SEQNUM
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FND_SEQNUM, status:VALID,
-
SYNONYM: APPS.FND_DOCUMENT_SEQUENCES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:FND_DOCUMENT_SEQUENCES, status:VALID,
-
PACKAGE: APPS.INV_LE_TIMEZONE_PUB
12.1.1
owner:APPS, object_type:PACKAGE, object_name:INV_LE_TIMEZONE_PUB, status:VALID,
-
PACKAGE: APPS.INV_LE_TIMEZONE_PUB
12.2.2
owner:APPS, object_type:PACKAGE, object_name:INV_LE_TIMEZONE_PUB, status:VALID,
-
SYNONYM: APPS.FND_DOCUMENT_SEQUENCES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:FND_DOCUMENT_SEQUENCES, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
PACKAGE: APPS.AP_UTILITIES_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:AP_UTILITIES_PKG, status:VALID,
-
PACKAGE: APPS.AP_UTILITIES_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:AP_UTILITIES_PKG, status:VALID,
-
SYNONYM: APPS.AP_INVOICE_LINES_ALL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AP_INVOICE_LINES_ALL, status:VALID,
-
SYNONYM: APPS.AP_SUPPLIER_SITES_ALL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AP_SUPPLIER_SITES_ALL, status:VALID,
-
SYNONYM: APPS.AP_INVOICE_LINES_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AP_INVOICE_LINES_ALL, status:VALID,
-
SYNONYM: APPS.PO_DISTRIBUTIONS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PO_DISTRIBUTIONS, status:VALID,