Search Results okl_ae_templates
Overview
The OKL_AE_TEMPLATES table is a core data object within the Oracle E-Business Suite (EBS) Leasing and Finance Management (OKL) module, specifically for versions 12.1.1 and 12.2.2. It serves as the master repository for accounting templates. These templates define the rules and structures for generating accounting entries (journal lines) for various financial transactions processed within the leasing system. The table's primary role is to link a specific transaction type, stream type, and accounting template set to a set of books, ensuring that revenue, expense, and balance sheet postings are created accurately and consistently according to the configured accounting rules.
Key Information Stored
The table stores the defining attributes of an accounting template. Its structure, as indicated by the primary and foreign keys, centers on unique combinations of key identifiers. The primary key constraint AVL_AVL_UK enforces uniqueness on the combination of TRY_ID (Transaction Type), SET_OF_BOOKS_ID, STY_ID (Stream Type), AES_ID (Accounting Template Set), NAME, and VERSION. The surrogate primary key is the ID column. Other critical foreign key columns include FMA_ID, which links to a formula (OKL_FORMULAE_B) potentially used within the template logic. The NAME and VERSION columns allow for the management and evolution of template definitions over time.
Common Use Cases and Queries
This table is central to the accounting engine of Oracle Leasing. Common operational and reporting use cases include validating the accounting setup for a new lease product, troubleshooting missing or incorrect journal entries, and auditing the active templates for a given set of books. A typical diagnostic query would join to related setup tables to list all configured templates. For example:
- Template Listing:
SELECT avl.name, avl.version, tt.name transaction_type, sty.name stream_type, aes.name template_set FROM okl_ae_templates avl, okl_trx_types_b tt, okl_strm_type_b sty, okl_ae_tmpt_sets aes WHERE avl.try_id = tt.id AND avl.sty_id = sty.id AND avl.aes_id = aes.id AND avl.set_of_books_id = :sob_id; - Impact Analysis: Identifying which contracts or lines use a specific template is crucial before modifying it. This involves joining
OKL_AE_TEMPLATEStoOKL_TXL_CNTRCT_LNSvia theAVL_IDcolumn.
Related Objects
The OKL_AE_TEMPLATES table sits at the intersection of several key setup and transaction tables in the OKL schema, as documented by its foreign key relationships.
- Referenced By (Child Tables):
OKL_TRNS_ACC_DSTRSlinks viaTEMPLATE_ID. This table likely stores the detailed accounting distributions generated by the template.OKL_TXL_CNTRCT_LNSlinks viaAVL_ID. This indicates the template is assigned to contract lines, driving their accounting.
- References (Parent Tables):
OKL_AE_TMPT_SETSviaAES_ID: The accounting template set grouping.OKL_FORMULAE_BviaFMA_ID: The formula used in the template logic.OKL_STRM_TYPE_BviaSTY_ID: The financial stream type (e.g., Rent, Interest).OKL_TRX_TYPES_BviaTRY_ID: The transaction type (e.g., Invoice, Accrual).
-
Table: OKL_AE_TEMPLATES
12.2.2
product: OKL - Lease and Finance Management , description: Accounting templates , implementation_dba_data: Not implemented in this database ,
-
Table: OKL_AE_TMPT_SETS
12.2.2
product: OKL - Lease and Finance Management , description: Accounting template sets , implementation_dba_data: Not implemented in this database ,
-
Table: OKL_TRNS_ACC_DSTRS
12.2.2
product: OKL - Lease and Finance Management , description: Accounting distributions , implementation_dba_data: Not implemented in this database ,
-
Table: OKL_TXL_CNTRCT_LNS
12.2.2
product: OKL - Lease and Finance Management , description: Lease transactions line table , implementation_dba_data: Not implemented in this database ,
-
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 ,
-
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 ,
-
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 ,
-
View: OKL_AE_TEMPLATES_V
12.2.2
product: OKL - Lease and Finance Management , description: Accounting templates , implementation_dba_data: Not implemented in this database ,
-
View: OKL_AE_TEMPLATES_UV
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OKL.OKL_AE_TEMPLATES_UV, object_name:OKL_AE_TEMPLATES_UV, status:VALID, product: OKL - Lease and Finance Management , implementation_dba_data: APPS.OKL_AE_TEMPLATES_UV ,