Search Results po_uda_ag_templates
Overview
The PO.PO_UDA_AG_TEMPLATES table stores the definitions of Attribute Templates used by Oracle Purchasing. In Oracle E-Business Suite Release 12.1.1 and 12.2.2, attribute templates provide a reusable container of user-defined attribute (UDA) group definitions and their associated context. Each row in this table describes a template that governs how one or more attribute groups are applied to a specific document level, document type, and document style within a functional area. The table therefore acts as the master catalog of templates from which the actual attribute group assignments are derived.
From a data modeling perspective, the documented heuristic Data Vault classification places this object as a standalone entity rather than a conventional link table. The absence of documented foreign key relationships to a parent hub means the table can be treated as its own source of truth for template identity, with a natural business key anchored on TEMPLATE_ID and the edition discriminator ZD_EDITION_NAME.
Key Information Stored
The primary key constraint SYS_C00243571 enforces uniqueness on TEMPLATE_ID, the surrogate identifier for each attribute template. The unique index PO_UDA_AG_TEMPLATES_U1 covers TEMPLATE_ID and ZD_EDITION_NAME, making this pair the business-key candidate that supports edition-aware lookups in 12.2.2 online patching environments.
- TEMPLATE_ID – Surrogate primary key uniquely identifying each attribute template.
- ENTITY_CODE – Identifies the business entity to which the template applies, driving which UDA framework processes the template.
- FUNCTIONAL_AREA – The Purchasing functional area, such as purchasing or sourcing, that owns the template.
- DOCUMENT_LEVEL – The level at which attributes are captured, for example header or line.
- DOCUMENT_TYPE – The document type, such as a purchase order or agreement, that the template targets.
- DOCUMENT_STYLE_ID – Reference to the document style that further qualifies template applicability.
- REVISION – Revision number supporting versioned template definitions.
- DATABASE_VIEW_NAME – The underlying view or object against which template attribute values are resolved.
- COMPILED_FLAG – Indicates whether the template definition has been compiled and is ready for runtime use.
- SRC_TEMPLATE_ID – Source template from which the current record was copied or derived.
- EFFECTIVE_FROM / EFFECTIVE_TO – Date range over which the template definition is active.
- Standard audit columns – LAST_UPDATE_DATE, LAST_UPDATED_BY, LAST_UPDATE_LOGIN, CREATION_DATE, and CREATED_BY capture who created and last modified the row and when.
- ZD_EDITION_NAME – Edition identifier used by the 12.2.2 online patching architecture to isolate edition-specific data.
Common Use Cases and Queries
Typical uses include auditing which templates are active for a given document type, validating that all required templates have been compiled, and tracing derived templates back to their source. A representative query to list active compiled templates for a document type is:
SELECT template_id, entity_code, functional_area, document_level, document_type, compiled_flag FROM po.po_uda_ag_templates WHERE document_type = :doc_type AND compiled_flag = 'Y' AND (effective_to IS NULL OR effective_to >= SYSDATE);SELECT * FROM po.po_uda_ag_templates WHERE template_id = :template_id;SELECT template_id, src_template_id, revision FROM po.po_uda_ag_templates WHERE src_template_id IS NOT NULL CONNECT BY PRIOR template_id = src_template_id START WITH src_template_id IS NULL;
These patterns support configuration review, cleanup of uncompiled templates, and impact analysis before changes are promoted between environments.
Related Objects
Because the metadata classifies this table as standalone, no direct foreign keys are documented. Related objects are therefore identified by functional coupling and shared columns rather than enforced constraints:
- PO_UDA_AG_TEMPLATE_GROUPS – Links templates to the attribute groups they contain, joined on TEMPLATE_ID.
- PO_UDA_AG_DEFINITIONS – Defines the individual attribute groups that templates reference.
- PO_UDA_AG_INSTANCES – Holds runtime attribute values captured using a template.
- PO_DOCUMENT_TYPES_ALL and PO_DOCUMENT_STYLES_ALL – Provide the document type and style referenced by DOCUMENT_TYPE and DOCUMENT_STYLE_ID.
- FND_DOCUMENT_ENTITIES – Supplies the entity context linked through ENTITY_CODE.
Together these objects form the attribute template and user-defined attribute framework within Oracle Purchasing.
-
Table: PO_UDA_AG_TEMPLATES
12.2.2
owner:PO, object_type:TABLE, fnd_design_data:PO.PO_UDA_AG_TEMPLATES, object_name:PO_UDA_AG_TEMPLATES, status:VALID, product: PO - Purchasing , description: Stores the information regarding the Attribute Templates , implementation_dba_data: PO.PO_UDA_AG_TEMPLATES ,
-
VIEW: PO.PO_UDA_AG_TEMPLATES#
12.2.2
owner:PO, object_type:VIEW, object_name:PO_UDA_AG_TEMPLATES#, status:VALID,
-
TRIGGER: APPS.PO_UDA_AG_TEMPLATES+
12.2.2
-
VIEW: PO.PO_UDA_AG_TEMPLATES#
12.2.2
-
VIEW: APPS.PO_UDA_AG_TEMPLATES_VL
12.2.2
-
TRIGGER: APPS.PO_UDA_AG_TEMPLATES+
12.2.2
owner:APPS, object_type:TRIGGER, object_name:PO_UDA_AG_TEMPLATES+, status:VALID,
-
SYNONYM: APPS.PO_UDA_AG_TEMPLATES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PO_UDA_AG_TEMPLATES, status:VALID,
-
APPS.PO_UDA_LOAD_TEMPLATES SQL Statements
12.2.2
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
VIEW: APPS.PO_UDA_AG_TEMPLATES_VL
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PO.PO_UDA_AG_TEMPLATES_VL, object_name:PO_UDA_AG_TEMPLATES_VL, status:VALID,
-
APPS.PO_UDA_DEFAULTING_PKG SQL Statements
12.2.2
-
FUNCTION: APPS.PO_UDA_AG_TEMPLATES=
12.2.2
-
FUNCTION: APPS.PO_UDA_AG_TEMPLATES=
12.2.2
owner:APPS, object_type:FUNCTION, object_name:PO_UDA_AG_TEMPLATES=, status:VALID,
-
PACKAGE BODY: APPS.PO_POXPRCLM_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PO_POXPRCLM_PKG, status:VALID,
-
View: PO_UDA_AG_TEMPLATES_VL
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PO.PO_UDA_AG_TEMPLATES_VL, object_name:PO_UDA_AG_TEMPLATES_VL, status:VALID, product: PO - Purchasing , implementation_dba_data: APPS.PO_UDA_AG_TEMPLATES_VL ,
-
APPS.PO_POXPRCLM_PKG SQL Statements
12.2.2
-
TABLE: PO.PO_UDA_AG_TEMPLATES
12.2.2
owner:PO, object_type:TABLE, fnd_design_data:PO.PO_UDA_AG_TEMPLATES, object_name:PO_UDA_AG_TEMPLATES, status:VALID,
-
PACKAGE BODY: APPS.PO_UDA_PUB
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PO_UDA_PUB, status:VALID,
-
APPS.PO_DOC_NUMBERING_PKG SQL Statements
12.2.2
-
APPS.PO_UDA_TEMPLATES_UTIL SQL Statements
12.2.2
-
APPS.PO_UDA_PUB SQL Statements
12.2.2
-
PACKAGE BODY: APPS.PON_DATATEMPLATE_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PON_DATATEMPLATE_PKG, status:VALID,
-
PACKAGE BODY: APPS.PON_SGD_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PON_SGD_PKG, status:VALID,
-
PACKAGE BODY: APPS.PO_XML_FPDSNG_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PO_XML_FPDSNG_PKG, status:VALID,
-
PACKAGE BODY: APPS.ICX_DATATEMPLATE_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:ICX_DATATEMPLATE_PKG, status:VALID,
-
PACKAGE BODY: APPS.PO_SGD_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PO_SGD_PKG, status:VALID,
-
PACKAGE BODY: APPS.PON_UDA_IMPORT_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PON_UDA_IMPORT_PKG, status:VALID,
-
PACKAGE BODY: APPS.PO_UDA_LOAD_TEMPLATES
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PO_UDA_LOAD_TEMPLATES, status:VALID,
-
PACKAGE BODY: APPS.PO_UDA_AUTOCREATE_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PO_UDA_AUTOCREATE_PKG, status:VALID,
-
PACKAGE BODY: APPS.POR_UDA_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:POR_UDA_PKG, status:VALID,
-
PACKAGE BODY: APPS.PO_DATATEMPLATE_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PO_DATATEMPLATE_PKG, status:VALID,
-
PACKAGE BODY: APPS.PO_UDA_DEFAULTING_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PO_UDA_DEFAULTING_PKG, status:VALID,
-
PACKAGE BODY: APPS.PON_COPY_UDAS_GRP
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PON_COPY_UDAS_GRP, status:VALID,
-
PACKAGE BODY: APPS.PO_DOC_NUMBERING_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PO_DOC_NUMBERING_PKG, status:VALID,
-
PACKAGE BODY: APPS.PO_UDA_DATA_UTIL
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PO_UDA_DATA_UTIL, status:VALID,
-
PACKAGE BODY: APPS.PO_EDA_DATATEMPLATE_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PO_EDA_DATATEMPLATE_PKG, status:VALID,
-
PACKAGE BODY: APPS.PO_UDA_TEMPLATES_UTIL
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PO_UDA_TEMPLATES_UTIL, status:VALID,
-
APPS.PON_DATATEMPLATE_PKG SQL Statements
12.2.2
-
TABLE: PO.PO_UDA_AG_TEMPLATES_TL
12.2.2
owner:PO, object_type:TABLE, fnd_design_data:PO.PO_UDA_AG_TEMPLATES_TL, object_name:PO_UDA_AG_TEMPLATES_TL, status:VALID,
-
PACKAGE BODY: APPS.PO_AUTOCREATE_POSTPROC_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PO_AUTOCREATE_POSTPROC_PVT, status:VALID,
-
PACKAGE BODY: APPS.PO_UDA_LOAD_TEMPLATES
12.2.2
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
APPS.PO_UDA_DATA_UTIL SQL Statements
12.2.2
-
12.2.2 DBA Data
12.2.2
-
PACKAGE BODY: APPS.POR_AMENDMENT_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:POR_AMENDMENT_PKG, status:VALID,
-
APPS.PO_DATATEMPLATE_PKG SQL Statements
12.2.2
-
12.2.2 DBA Data
12.2.2
-
12.2.2 FND Design Data
12.2.2