Search Results edr_template_subs
Overview
EDR_TEMPLATE_SUBS is an APPS-owned PL/SQL package within the Oracle E-Business Suite that supports the Electronic Document Repository (EDR) and, more specifically, the EDR Template Substitution behavior used by Oracle Procurement documents such as sourcing, RFQs, and purchasing. Its documented object status is VALID, and ETRM classifies the API as OTHER, indicating that it is not a formally published public API but an internal utility package that supports template attachment handling.
The business purpose of the package is to manage the association between documents and the templates used to generate or substitute them. Templates in Oracle Procurement allow predefined document content or attachments to be reused across requisitions, purchase orders, RFQs, and related sourcing artifacts. EDR_TEMPLATE_SUBS provides the procedural logic that links an attachment to a template, ensuring the appropriate file is stored, categorized, and retrievable through the standard attachments framework.
Key Procedures and Functions
The documented package exposes a single procedure:
- UPLOAD_TEMPLATE — This procedure performs the insertion and registration of a template file into the EDR attachment repository. It handles the creation of the attachment record and its association with the relevant document category so the template becomes available for downstream substitution. The ETRM metadata does not publish the parameter list; consequently, callers should reference the package specification in the target environment rather than assume a signature.
No additional functions or procedures are documented. The package body and specification entries appear in the ETRM dependency listing, confirming that the package is compiled and that its internal logic is stored in the APPS schema.
Tables Accessed
The documented table references, resolved through APPS synonyms, are:
- FND_ATTACHED_DOCUMENTS_S — the sequence source used by the attachments framework when creating new attachment identifiers. UPLOAD_TEMPLATE draws from this sequence to generate primary keys for the attachment rows it inserts.
- FND_DOCUMENT_CATEGORIES — defines the valid attachment categories and their functional configuration. The procedure validates or resolves the appropriate category for the template being uploaded, ensuring the document is stored under a category that the EDR engine recognizes.
- DUAL — used for singleton SQL expressions, typically for sequence invocation or value validation within the procedure body.
The package depends on the SYS STANDARD package, consistent with ordinary PL/SQL runtime behavior. It is not referenced by any other documented package, and its own dependency tree shows a self-reference, indicating internal calls within the package body.
Usage Notes
Because EDR_TEMPLATE_SUBS is classified as OTHER and is not referenced by other documented packages, it is normally invoked from within the EDR template setup and administration flows rather than from general custom code. Typical invocation paths include the Oracle Procurement template and attachment setup forms, where an administrator uploads a template document, and internal calls from other EDR logic that must register a template attachment on demand.
Developers integrating with EDR should treat UPLOAD_TEMPLATE as an internal routine. Direct invocation is possible in a custom concurrent program or form-based extension, but the caller must respect the current attachments schema, category configuration, and any standard who-column values expected by FND_ATTACHED_DOCUMENTS. Because the parameter list is not documented in ETRM, the authoritative interface should be read from the package specification in the target environment. The package is available in both Oracle EBS 12.1.1 and 12.2.2 with equivalent object metadata.
-
PACKAGE: APPS.EDR_TEMPLATE_SUBS
12.1.1
owner:APPS, object_type:PACKAGE, object_name:EDR_TEMPLATE_SUBS, status:VALID,
-
PACKAGE: APPS.EDR_TEMPLATE_SUBS
12.2.2
owner:APPS, object_type:PACKAGE, object_name:EDR_TEMPLATE_SUBS, status:VALID,
-
PACKAGE BODY: APPS.EDR_TEMPLATE_SUBS
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:EDR_TEMPLATE_SUBS, status:VALID,
-
PACKAGE BODY: APPS.EDR_TEMPLATE_SUBS
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:EDR_TEMPLATE_SUBS, 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: APPS.EDR_FILE_UTIL_PUB
12.2.2
owner:APPS, object_type:PACKAGE, object_name:EDR_FILE_UTIL_PUB, status:VALID,
-
PACKAGE: APPS.EDR_XDOC_UTIL_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:EDR_XDOC_UTIL_PKG, status:VALID,
-
PACKAGE: APPS.EDR_XDOC_UTIL_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:EDR_XDOC_UTIL_PKG, status:VALID,
-
PACKAGE: APPS.EDR_CONSTANTS_GRP
12.1.1
owner:APPS, object_type:PACKAGE, object_name:EDR_CONSTANTS_GRP, status:VALID,
-
PACKAGE: APPS.EDR_FILE_UTIL_PUB
12.1.1
owner:APPS, object_type:PACKAGE, object_name:EDR_FILE_UTIL_PUB, status:VALID,
-
PACKAGE: APPS.EDR_CONSTANTS_GRP
12.2.2
owner:APPS, object_type:PACKAGE, object_name:EDR_CONSTANTS_GRP, status:VALID,
-
SYNONYM: APPS.FND_DOCUMENT_CATEGORIES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:FND_DOCUMENT_CATEGORIES, status:VALID,
-
PACKAGE: APPS.EDR_TEMPLATE_SUBS
12.2.2
-
PACKAGE: APPS.EDR_TEMPLATE_SUBS
12.1.1
-
PACKAGE: APPS.FND_ATTACHED_DOCUMENTS_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FND_ATTACHED_DOCUMENTS_PKG, status:VALID,
-
PACKAGE: APPS.FND_ATTACHED_DOCUMENTS_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FND_ATTACHED_DOCUMENTS_PKG, status:VALID,
-
SYNONYM: APPS.FND_ATTACHED_DOCUMENTS_S
12.1.1
owner:APPS, object_type:SYNONYM, object_name:FND_ATTACHED_DOCUMENTS_S, status:VALID,
-
SYNONYM: APPS.FND_DOCUMENT_CATEGORIES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:FND_DOCUMENT_CATEGORIES, status:VALID,
-
SYNONYM: APPS.FND_ATTACHED_DOCUMENTS_S
12.2.2
owner:APPS, object_type:SYNONYM, object_name:FND_ATTACHED_DOCUMENTS_S, status:VALID,
-
PACKAGE: APPS.WF_LOG_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:WF_LOG_PKG, status:VALID,
-
PACKAGE: APPS.WF_LOG_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:WF_LOG_PKG, status:VALID,
-
PACKAGE BODY: APPS.EDR_TEMPLATE_SUBS
12.2.2
-
PACKAGE BODY: APPS.EDR_TEMPLATE_SUBS
12.1.1
-
APPS.EDR_TEMPLATE_SUBS dependencies on EDR_TEMPLATE_SUBS
12.1.1
-
APPS.EDR_TEMPLATE_SUBS dependencies on EDR_TEMPLATE_SUBS
12.2.2
-
PACKAGE: APPS.WF_ENGINE
12.1.1
owner:APPS, object_type:PACKAGE, object_name:WF_ENGINE, status:VALID,
-
PACKAGE: APPS.WF_ENGINE
12.2.2
owner:APPS, object_type:PACKAGE, object_name:WF_ENGINE, status:VALID,
-
PACKAGE: APPS.FND_PROFILE
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FND_PROFILE, status:VALID,
-
PACKAGE: APPS.FND_PROFILE
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FND_PROFILE, status:VALID,
-
SYNONYM: PUBLIC.DUAL
12.2.2
owner:PUBLIC, object_type:SYNONYM, object_name:DUAL, status:VALID,
-
SYNONYM: PUBLIC.DUAL
12.1.1
owner:PUBLIC, object_type:SYNONYM, object_name:DUAL, status:VALID,
-
PACKAGE: APPS.FND_GLOBAL
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FND_GLOBAL, 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: APPS.FND_GLOBAL
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FND_GLOBAL, status:VALID,
-
PACKAGE: APPS.FND_MESSAGE
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FND_MESSAGE, status:VALID,
-
PACKAGE: APPS.FND_MESSAGE
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FND_MESSAGE, status:VALID,
-
PACKAGE: SYS.STANDARD
12.1.1
owner:SYS, object_type:PACKAGE, object_name:STANDARD, status:VALID,