Search Results okl_ae_templates_all
Overview
The OKL_AE_TEMPLATES_ALL table is a core data object within the Oracle E-Business Suite (EBS) Leasing and Finance Management (OKL) module. It serves as the master repository for accounting templates, which are essential for the automated generation of accounting entries for various leasing and financing transactions. These templates define the accounting rules, including the accounts and distribution logic, that are applied to transaction types within a specific ledger (Set of Books). Its role is central to ensuring accurate and consistent financial postings across the complex contract lifecycle managed by the OKL module.
Key Information Stored
The table stores the metadata that defines an accounting template. Key columns include the primary identifier (ID), a unique composite key (TRY_ID, SET_OF_BOOKS_ID, STY_ID, AES_ID, NAME, VERSION), and descriptive fields. The critical foreign key columns establish the template's context and rules: TRY_ID links to the transaction type (OKL_TRX_TYPES_B), SET_OF_BOOKS_ID identifies the ledger, STY_ID references the stream type (OKL_STRM_TYPE_B), and AES_ID is a self-referencing key. The FMA_ID column can link to a formula (OKL_FORMULAE_B) for dynamic calculations. The NAME and VERSION columns allow for management of template iterations.
Common Use Cases and Queries
This table is primarily accessed for configuration, troubleshooting, and reporting related to the accounting engine. Common scenarios include identifying which accounting template is applied to a specific transaction type for a given ledger, auditing template versions, and diagnosing missing accounting entries. A typical query would join to related setup tables to retrieve a comprehensive view of template rules.
Sample Query: Retrieving active templates for a transaction type and ledger.
SELECT tem.name,
tem.version,
trx.name transaction_type,
sty.name stream_type
FROM okl_ae_templates_all tem,
okl_trx_types_b trx,
okl_strm_type_b sty
WHERE tem.try_id = trx.id
AND tem.sty_id = sty.id
AND tem.set_of_books_id = 1 -- Specific Ledger ID
AND trx.name = 'LEASE_INCEPTION';
Related Objects
The OKL_AE_TEMPLATES_ALL table has integral relationships with several key setup and transaction tables, as documented in the ETRM metadata.
- Referenced By (Child Tables):
- OKL_TRNS_ACC_DSTRS_ALL: Child table linked via TEMPLATE_ID. This stores the actual accounting distributions generated by the template.
- OKL_TXL_CNTRCT_LNS_ALL: Child table linked via AVL_ID, associating contract lines with applicable accounting templates.
- References (Parent Tables):
- OKL_TRX_TYPES_B (TRY_ID): Master transaction type.
- OKL_STRM_TYPE_B (STY_ID): Financial stream type (e.g., Rent, Interest).
- OKL_FORMULAE_B (FMA_ID): Optional formula for advanced distribution logic.
- OKL_AE_TEMPLATES_ALL (AES_ID): Self-referencing hierarchical relationship.
-
Table: OKL_AE_TEMPLATES_ALL
12.2.2
owner:OKL, object_type:TABLE, fnd_design_data:OKL.OKL_AE_TEMPLATES_ALL, object_name:OKL_AE_TEMPLATES_ALL, status:VALID, product: OKL - Lease and Finance Management , description: Accounting templates , implementation_dba_data: OKL.OKL_AE_TEMPLATES_ALL ,
-
View: OKL_PDT_ALLOWED_STREAMS_UV
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKL.OKL_PDT_ALLOWED_STREAMS_UV, object_name:OKL_PDT_ALLOWED_STREAMS_UV, status:VALID, product: OKL - Lease and Finance Management , description: View for Reconcile Accrual Streams during association. , implementation_dba_data: APPS.OKL_PDT_ALLOWED_STREAMS_UV ,
-
Table: OKL_TRNS_ACC_DSTRS_ALL
12.2.2
owner:OKL, object_type:TABLE, fnd_design_data:OKL.OKL_TRNS_ACC_DSTRS_ALL, object_name:OKL_TRNS_ACC_DSTRS_ALL, status:VALID, product: OKL - Lease and Finance Management , description: Accounting distributions , implementation_dba_data: OKL.OKL_TRNS_ACC_DSTRS_ALL ,
-
Table: OKL_TXL_CNTRCT_LNS_ALL
12.2.2
owner:OKL, object_type:TABLE, fnd_design_data:OKL.OKL_TXL_CNTRCT_LNS_ALL, object_name:OKL_TXL_CNTRCT_LNS_ALL, status:VALID, product: OKL - Lease and Finance Management , description: Lease transactions line table , implementation_dba_data: OKL.OKL_TXL_CNTRCT_LNS_ALL ,
-
View: OKL_TMPT_SET_COPY_UV
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKL.OKL_TMPT_SET_COPY_UV, object_name:OKL_TMPT_SET_COPY_UV, status:VALID, product: OKL - Lease and Finance Management , implementation_dba_data: APPS.OKL_TMPT_SET_COPY_UV ,
-
View: OKL_MISC_TMPL_UV
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKL.OKL_MISC_TMPL_UV, object_name:OKL_MISC_TMPL_UV, status:VALID, product: OKL - Lease and Finance Management , implementation_dba_data: APPS.OKL_MISC_TMPL_UV ,
-
View: OKL_TRX_DISTRIBUTION_UV
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKL.OKL_TRX_DISTRIBUTION_UV, object_name:OKL_TRX_DISTRIBUTION_UV, status:VALID, product: OKL - Lease and Finance Management , implementation_dba_data: APPS.OKL_TRX_DISTRIBUTION_UV ,
-
Table: OKL_FORMULAE_B
12.2.2
owner:OKL, object_type:TABLE, fnd_design_data:OKL.OKL_FORMULAE_B, object_name:OKL_FORMULAE_B, status:VALID, product: OKL - Lease and Finance Management , description: Definition of formulae. It also holds the context group required by the formula , implementation_dba_data: OKL.OKL_FORMULAE_B ,
-
View: OKL_AEL_SL_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKL.OKL_AEL_SL_V, object_name:OKL_AEL_SL_V, status:VALID, product: OKL - Lease and Finance Management , description: This view contains the accounting entries created for all the contract, asset and quote transactions. This view is used to enable sub-ledger accounting architecture to display the accounting entries for each Lease transaction. , implementation_dba_data: APPS.OKL_AEL_SL_V ,
-
Table: OKL_TRX_TYPES_B
12.2.2
owner:OKL, object_type:TABLE, fnd_design_data:OKL.OKL_TRX_TYPES_B, object_name:OKL_TRX_TYPES_B, status:VALID, product: OKL - Lease and Finance Management , description: Transaction types , implementation_dba_data: OKL.OKL_TRX_TYPES_B ,
-
Table: OKL_STRM_TYPE_B
12.2.2
owner:OKL, object_type:TABLE, fnd_design_data:OKL.OKL_STRM_TYPE_B, object_name:OKL_STRM_TYPE_B, status:VALID, product: OKL - Lease and Finance Management , description: Holds the definition of payment types. , implementation_dba_data: OKL.OKL_STRM_TYPE_B ,
-
View: OKL_TXL_CNTRCT_LNS_UV
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKL.OKL_TXL_CNTRCT_LNS_UV, object_name:OKL_TXL_CNTRCT_LNS_UV, status:VALID, product: OKL - Lease and Finance Management , implementation_dba_data: APPS.OKL_TXL_CNTRCT_LNS_UV ,
-
View: OKL_AEL_GL_QTE_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKL.OKL_AEL_GL_QTE_V, object_name:OKL_AEL_GL_QTE_V, status:VALID, product: OKL - Lease and Finance Management , implementation_dba_data: APPS.OKL_AEL_GL_QTE_V ,
-
View: OKL_AEL_GL_TRX_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKL.OKL_AEL_GL_TRX_V, object_name:OKL_AEL_GL_TRX_V, status:VALID, product: OKL - Lease and Finance Management , description: This view contains the transactions which have been transferred to GL. This view is used to enable OKL GL Drilldown functionality. This view displays the Lease transactions which fall under Loss Provision, Accrual, Miscellaneous and Adjust , implementation_dba_data: APPS.OKL_AEL_GL_TRX_V ,
-
View: OKL_AEL_GL_CTR_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKL.OKL_AEL_GL_CTR_V, object_name:OKL_AEL_GL_CTR_V, status:VALID, product: OKL - Lease and Finance Management , description: This view contains all the contract related transactions which have been transferred to GL. This view is used to enable OKL GL Drilldown functionality. This view displays the Lease transactions which fall under Booking, Rebook, Renewal, Rel , implementation_dba_data: APPS.OKL_AEL_GL_CTR_V ,
-
View: OKL_AEL_GL_AST_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKL.OKL_AEL_GL_AST_V, object_name:OKL_AEL_GL_AST_V, status:VALID, product: OKL - Lease and Finance Management , description: This view contains all the asset related transactions which have been transferred to GL. This view is used to enable OKL GL Drilldown functionality. This view displays the Lease transactions which fall under 'Asset Disposition' journal cate , implementation_dba_data: APPS.OKL_AEL_GL_AST_V ,