Search Results ota_tfl_api_ins
Overview
OTA_TFL_API_INS is a PL/SQL package owned by the APPS schema in Oracle E-Business Suite, classified under the Oracle Time and Labor (OTA) module. Its name follows the EBS convention for a table-handler API layer: the "TFL" component identifies it with the OTA Finance Lines entity, while the "_INS" suffix indicates that the package is the insert handler for that entity. In the Oracle EBS 12.1.1 and 12.2.2 architectures, time and labor data flows from timecards into payroll, costing, and financial distribution tables, and the OTA Finance Lines structures are the staging ground for that financial information. This package provides the programmatic interface required to create new records in those tables without applications writing directly to the base table. It is a VALID object that depends on the shadow/seed package OTA_TFL_API_SHD and the SYS.STANDARD package, and it is referenced by four other packages, confirming that it sits at the base of a small API stack used for finance-line creation.
Key Procedures and Functions
The documented interface exposes two program units: SET_BASE_KEY_VALUE and INS.
- SET_BASE_KEY_VALUE — Populates or derives the base key values that identify a new finance-line record. In EBS API design, base key procedures establish the primary and foreign key context (such as the entity identifier or surrogate key) required before an insert can be performed, ensuring that dependent relationships are consistent. This procedure is typically called internally by INS or by a shadow wrapper before the actual insert.
- INS — The insert routine for the OTA Finance Lines entity. It accepts the caller's column values, performs validation and defaulting consistent with the API's business rules, and inserts a single row into the finance-lines table. The presence of a separate shadow package (OTA_TFL_API_SHD) indicates that the seed and install scripts depend on this routine, which is standard for EBS table-handler APIs.
No parameter lists are documented in the ETRM metadata; parameter details must be read from the package specification in the database rather than assumed.
Tables Accessed
Through APPS synonyms, the package references the following base tables, which are the primary tables for this API layer:
- OTA_FINANCE_LINES — The transactional table holding individual finance lines generated from time and labor data. INS writes rows into this table.
- OTA_FINANCE_LINES_S — The corresponding Oracle Sequence (or shadow) object that supplies unique line identifiers for new finance-line records, supporting the base key generation performed by SET_BASE_KEY_VALUE.
Read access to these objects is through the APPS schema, consistent with the owner of the package.
Usage Notes
OTA_TFL_API_INS is an internal API rather than a user-facing entry point. It is invoked from EBS forms, concurrent programs, and other application logic that writes finance-line records. The dependency report shows it is referenced by OTA_FINANCE, OTA_FINANCE_LINE_API, OTA_FINANCE_LINE_SWI, OTA_TFL_API_BUSINESS_RULES2, and by itself (recursive reference), and it depends on OTA_TFL_API_SHD for install-time generation. Customizations should call OTA_FINANCE_LINE_API or the higher-level wrappers rather than INS directly, because those tiers enforce business rules and perform the necessary setup before the insert. When extending or debugging inserts, confirm the package specification in the live instance for exact parameter lists, as the ETRM metadata documents only the procedure names.
-
PACKAGE: APPS.OTA_TFL_API_INS
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OTA_TFL_API_INS, status:VALID,
-
PACKAGE: APPS.OTA_TFL_API_INS
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OTA_TFL_API_INS, status:VALID,
-
PACKAGE BODY: APPS.OTA_TFL_API_INS
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OTA_TFL_API_INS, status:VALID,
-
PACKAGE: APPS.OTA_TFL_API_SHD
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OTA_TFL_API_SHD, status:VALID,
-
PACKAGE: APPS.OTA_TFL_API_SHD
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OTA_TFL_API_SHD, status:VALID,
-
PACKAGE BODY: APPS.OTA_TFL_API_INS
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OTA_TFL_API_INS, status:VALID,
-
SYNONYM: APPS.OTA_FINANCE_LINES_S
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OTA_FINANCE_LINES_S, status:VALID,
-
PACKAGE: APPS.OTA_TFL_API_BUS
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OTA_TFL_API_BUS, status:VALID,
-
PACKAGE BODY: APPS.OTA_FINANCE
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OTA_FINANCE, status:VALID,
-
PACKAGE BODY: APPS.OTA_TFL_API_BUSINESS_RULES2
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OTA_TFL_API_BUSINESS_RULES2, status:VALID,
-
SYNONYM: APPS.OTA_FINANCE_LINES_S
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OTA_FINANCE_LINES_S, status:VALID,
-
PACKAGE BODY: APPS.OTA_FINANCE_LINE_SWI
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OTA_FINANCE_LINE_SWI, status:VALID,
-
PACKAGE: APPS.OTA_TFL_API_BUS
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OTA_TFL_API_BUS, status:VALID,
-
PACKAGE BODY: APPS.OTA_FINANCE_LINE_SWI
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OTA_FINANCE_LINE_SWI, status:VALID,
-
PACKAGE BODY: APPS.OTA_FINANCE
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OTA_FINANCE, status:VALID,
-
PACKAGE BODY: APPS.OTA_FINANCE_LINE_API
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OTA_FINANCE_LINE_API, status:VALID,
-
PACKAGE BODY: APPS.OTA_TFL_API_BUSINESS_RULES2
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OTA_TFL_API_BUSINESS_RULES2, status:VALID,
-
PACKAGE BODY: APPS.OTA_FINANCE_LINE_API
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OTA_FINANCE_LINE_API, status:VALID,
-
SYNONYM: APPS.OTA_FINANCE_LINES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OTA_FINANCE_LINES, status:VALID,
-
SYNONYM: APPS.OTA_FINANCE_LINES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OTA_FINANCE_LINES, status:VALID,
-
PACKAGE: APPS.OTA_TFL_API_INS
12.2.2
-
PACKAGE: APPS.OTA_TFL_API_INS
12.1.1
-
PACKAGE BODY: APPS.OTA_TFL_API_INS
12.1.1
-
PACKAGE BODY: APPS.OTA_TFL_API_INS
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
-
APPS.OTA_TFL_API_BUSINESS_RULES2 dependencies on OTA_TFL_API_INS
12.2.2
-
APPS.OTA_FINANCE dependencies on OTA_TFL_API_INS
12.1.1
-
APPS.OTA_TFL_API_INS dependencies on OTA_TFL_API_INS
12.1.1
-
APPS.OTA_FINANCE_LINE_SWI dependencies on OTA_TFL_API_INS
12.1.1
-
APPS.OTA_TFL_API_INS dependencies on OTA_TFL_API_INS
12.2.2
-
APPS.OTA_FINANCE_LINE_SWI dependencies on OTA_TFL_API_INS
12.2.2
-
APPS.OTA_FINANCE_LINE_API dependencies on OTA_TFL_API_INS
12.1.1
-
APPS.OTA_TFL_API_BUSINESS_RULES2 dependencies on OTA_TFL_API_INS
12.1.1
-
APPS.OTA_FINANCE_LINE_API dependencies on OTA_TFL_API_INS
12.2.2
-
APPS.OTA_FINANCE dependencies on OTA_TFL_API_INS
12.2.2
-
APPS.OTA_TFL_API_INS dependencies on HR_UTILITY
12.2.2
-
APPS.OTA_TFL_API_INS dependencies on HR_UTILITY
12.1.1
-
TABLE: SYS.DUAL
12.2.2
owner:SYS, object_type:TABLE, object_name:DUAL, status:VALID,
-
TABLE: SYS.DUAL
12.1.1
owner:SYS, object_type:TABLE, object_name:DUAL, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
PACKAGE: APPS.HR_API
12.2.2
owner:APPS, object_type:PACKAGE, object_name:HR_API, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
PACKAGE: APPS.HR_API
12.1.1
owner:APPS, object_type:PACKAGE, object_name:HR_API, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
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,