Results for “ar_bpa_template_files”
34 results
AI-generated from documented ETRM metadata — verify critical details on the linked pages.
Overview
AR_BPA_TEMPLATE_FILES is a Receivables (AR) module table in the Oracle E-Business Suite, owned by the AR schema. Per the documented ETRM metadata, the object dates to Release 11i and is described as being "Used by Bill Presentment Architecture." Bill Presentment Architecture (BPA) is the framework within Oracle Receivables that allows organizations to define, manage, and render customized bill presentation templates for external delivery of invoices, credit memos, and other customer-facing documents. Within this framework, AR_BPA_TEMPLATE_FILES serves as the storage container for the physical template artifacts — the actual file content and file name — that are associated with a BPA template definition.
From a Data Vault modeling perspective, the mined foreign key structure classifies this object as satellite-leaning. Its single foreign key relationship points to AR_BPA_TEMPLATES_B, the base template entity, and it carries descriptive and payload attributes (FILE_NAME, FILE_DATA, LANGUAGE_CODE) alongside standard audit columns. This suggests a satellite role: it holds the descriptive and file-content attributes that belong to, and are dependent on, a template hub or base-table record, rather than establishing new relationships between entities itself.
Key Information Stored
The table contains 10 documented columns. The most significant are:
- TEMPLATE_FILE_ID — the surrogate primary key, enforced via the AR_BPA_TEMPLATE_FILES_PK constraint and further supported by the unique index AR_BPA_TEMPLATE_FILES_U1. It uniquely identifies each template file record.
- TEMPLATE_ID — the foreign key referencing AR_BPA_TEMPLATES_B, linking each file to its parent template definition. This column also participates in the unique index AR_BPA_TEMPLATE_FILES_U2 together with LANGUAGE_CODE.
- LANGUAGE_CODE — identifies the language for which the template file applies, enabling multi-language bill presentation. Its inclusion in AR_BPA_TEMPLATE_FILES_U2 means a given template may hold one file per language, a common business-key candidate pattern.
- FILE_NAME — the name of the stored template file, used for identification and retrieval by the BPA rendering process.
- FILE_DATA — the actual binary or large-object content of the template file. The physical schema listing shows an associated SYS_IL index, indicating a LOB segment (such as a BLOB or CLOB) stores this data.
- Audit columns — CREATION_DATE, CREATED_BY, LAST_UPDATE_DATE, LAST_UPDATED_BY, and LAST_UPDATE_LOGIN capture standard Oracle EBS who/when audit information.
The distinction between the surrogate key (TEMPLATE_FILE_ID) and the business-key candidates (TEMPLATE_ID plus LANGUAGE_CODE) is important when reasoning about uniqueness and referential integrity in custom queries.
Common Use Cases and Queries
Typical scenarios include auditing which template files exist for a given BPA template, retrieving file content for rendering or migration, and verifying language coverage. A representative query joins the file table to the base template table:
SELECT f.template_file_id, f.template_id, f.language_code, f.file_name FROM ar.ar_bpa_template_files f WHERE f.template_id = :template_id;- Language coverage check:
SELECT template_id, COUNT(*) FROM ar.ar_bpa_template_files GROUP BY template_id HAVING COUNT(*) < :expected_languages; - Change tracking: order by LAST_UPDATE_DATE to find recently modified template files.
- Migration/extraction: select FILE_NAME, FILE_DATA for a specific TEMPLATE_ID and LANGUAGE_CODE to export content.
Because FILE_DATA is a LOB, reports should avoid selecting it unless content is genuinely required, as it can materially affect performance.
Related Objects
- AR_BPA_TEMPLATES_B — the primary parent table; joined via TEMPLATE_ID and the documented foreign key relationship. It holds the base template definition.
- AR_BPA_TEMPLATES_TL — the translation table typically paired with the _B base table, holding language-specific template names and descriptions.
- AR_BPA_TEMPLATE_FILES_PK / _U1 / _U2 — the primary key constraint and unique indexes that enforce identity and the language business key.
- BPA setup and rendering components — the Bill Presentment Architecture concurrent programs and setup pages that consume template files when generating presented bills.
- AR_INVOICE_HEADERS / AR_INVOICE_LINES — upstream billing data ultimately presented using these templates.
Together these objects form the BPA template subsystem, with AR_BPA_TEMPLATE_FILES acting as the dependent satellite storing file-level payload attributes.
-
Release 11i: Used by Bill Presentment Architecture
-
Release 11i: Used by Bill Presentment Architecture
-
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.2.2 DBA Data 12.2.2
-
12.1.1 DBA Data 12.1.1
-
12.2.2 DBA Data 12.2.2
-
12.1.1 FND Design Data 12.1.1
-
12.1.1 DBA Data 12.1.1
-
12.2.2 DBA Data 12.2.2
-
12.2.2 FND Design Data 12.2.2
-
eTRM - AR Tables and Views 12.2.2
Territory information
-
eTRM - AR Tables and Views 12.1.1
Territory information
-
12.2.2 DBA Data 12.2.2
-
12.1.1 DBA Data 12.1.1
-
eTRM - AR Tables and Views 12.1.1
Territory information
-
eTRM - AR Tables and Views 12.2.2
Territory information