Search Results ota_finance
Overview
OTA_FINANCE is an Oracle E-Business Suite PL/SQL package owned by the APPS schema and classified as an OTHER API within the Oracle Time and Labor / ETRM (Enterprise Transaction Resource Management) family of objects. It encapsulates the server-side business logic required to create, update, and maintain finance lines associated with booking deals within Oracle EBS release 12.1.1 and 12.2.2. Finance lines represent the monetary, unitary, and standardized pricing components attached to a booking — that is, the financial encapsulation of the resources, rates, and deal structure agreed upon in an internal or external transaction. The package header was originally shipped in the 11i code line (header version 115.0) and continues to be exposed through APPS synonyms in the 12.x releases. The package operates with AUTHID CURRENT_USER, meaning it executes with the privileges of the invoking user and relies on APPS synonyms for access to the base application tables. It is referenced by four other packages, confirming its role as shared infrastructure rather than a standalone entry point.
Key Procedures and Functions
Two program units are documented in the package specification:
- MAINTAIN_FINANCE_LINE — A procedure that performs the insert, update, or cancellation of a finance line. Its parameter list carries identifiers for the finance header, booking, booking deal (with type), resource booking, and resource allocation, along with currency, standard, unitary, and money amounts, an object version number, the finance line identifier, and a p_cancel_finance_line control flag. The combination of p_object_version_number and the in/out p_finance_line_id supports Oracle's standard optimistic locking and surrogate-key conventions. In practice this procedure centralises the validation and derivation rules that govern how an amount on a booking becomes a persisted finance line.
- GET_DEAL_UNIT_BASED — A boolean function that accepts a single booking deal identifier (p_booking_deal_id) and returns whether the referenced deal is unit-based. The term "unit-based" distinguishes pricing models driven by unit quantities and rates from those driven by flat monetary amounts. Callers use this function to branch logic — for example, to determine whether unitary or standard amounts should be populated when MAINTAIN_FINANCE_LINE is invoked. Because it returns BOOLEAN and takes a numeric key, it is a lightweight lookup helper rather than a mutating operation.
Tables Accessed
The package reads and writes three documented tables through APPS synonyms:
- OTA_BOOKING_DEALS — Stores the deal records that drive the finance-line context. GET_DEAL_UNIT_BASED queries this table against the supplied booking deal identifier to resolve whether the deal is unit-based.
- OTA_FINANCE_HEADERS — Holds the parent finance header records to which individual finance lines belong. MAINTAIN_FINANCE_LINE uses this table to establish the header context and integrity of the line being maintained.
- OTA_PRICE_LISTS — Provides the pricing information that underpins amount derivation. The package consults this table when validating or computing the standard, unitary, and money amounts applied to the finance line.
Usage Notes
OTA_FINANCE is a server-side API, typically invoked from Forms-based booking flows, from other ETRM/Oracle Time and Labor packages (four documented referencing packages), or from custom PL/SQL extensions that implement pricing and finance-line maintenance. It should not be called directly against base tables when the supported API path is available, since MAINTAIN_FINANCE_LINE enforces business rules and version-number handling. Because most parameters default to NULL and the finance line identifier is an IN OUT parameter, callers must supply the correct identifying values and honour the returned key. Custom code should also call GET_DEAL_UNIT_BASED before choosing amount fields, ensuring that unit-based and non-unit-based deals are populated consistently. All calls should pass valid booking deal and finance header identifiers to avoid orphaned or inconsistent finance lines.
-
PACKAGE: APPS.OTA_FINANCE
12.2.2
-
PACKAGE: APPS.OTA_FINANCE
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OTA_FINANCE, status:VALID,
-
PACKAGE: APPS.OTA_FINANCE
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OTA_FINANCE, 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_FINANCE
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OTA_FINANCE, status:VALID,
-
PACKAGE: APPS.OTA_FINANCE
12.1.1
-
PACKAGE BODY: APPS.OTA_TEA_UPD
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OTA_TEA_UPD, status:VALID,
-
PACKAGE BODY: APPS.OTA_TEA_UPD
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OTA_TEA_UPD, status:VALID,
-
PACKAGE: APPS.OTA_TFL_API_BUSINESS_RULES2
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OTA_TFL_API_BUSINESS_RULES2, status:VALID,
-
PACKAGE BODY: APPS.OTA_RESOURCE_BOOKING
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OTA_RESOURCE_BOOKING, status:VALID,
-
PACKAGE BODY: APPS.OTA_RESOURCE_BOOKING
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OTA_RESOURCE_BOOKING, 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: 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_BUSINESS_RULES2
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OTA_TFL_API_BUSINESS_RULES2, status:VALID,
-
PACKAGE: APPS.OTA_TFL_API_UPD
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OTA_TFL_API_UPD, status:VALID,
-
PACKAGE BODY: APPS.OTA_RESOURCE_BOOKING_SWI
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OTA_RESOURCE_BOOKING_SWI, status:VALID,
-
PACKAGE: APPS.OTA_TFL_API_UPD
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OTA_TFL_API_UPD, status:VALID,
-
PACKAGE BODY: APPS.OTA_RESOURCE_BOOKING_SWI
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OTA_RESOURCE_BOOKING_SWI, status:VALID,
-
SYNONYM: APPS.OTA_BOOKING_DEALS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OTA_BOOKING_DEALS, status:VALID,
-
SYNONYM: APPS.OTA_PRICE_LISTS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OTA_PRICE_LISTS, status:VALID,
-
SYNONYM: APPS.OTA_PRICE_LISTS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OTA_PRICE_LISTS, status:VALID,
-
SYNONYM: APPS.OTA_BOOKING_DEALS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OTA_BOOKING_DEALS, status:VALID,
-
PACKAGE: APPS.OTA_TDB_BUS
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OTA_TDB_BUS, status:VALID,
-
PACKAGE: APPS.OTA_TDB_BUS
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OTA_TDB_BUS, status:VALID,
-
PACKAGE BODY: APPS.OTA_FINANCE
12.2.2
-
SYNONYM: APPS.OTA_FINANCE_HEADERS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OTA_FINANCE_HEADERS, status:VALID,
-
PACKAGE BODY: APPS.OTA_FINANCE
12.1.1
-
SYNONYM: APPS.OTA_FINANCE_HEADERS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OTA_FINANCE_HEADERS, status:VALID,
-
PACKAGE BODY: APPS.OTA_DELEGATE_BOOKING_API
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OTA_DELEGATE_BOOKING_API, status:VALID,
-
PACKAGE BODY: APPS.OTA_DELEGATE_BOOKING_API
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OTA_DELEGATE_BOOKING_API, status:VALID,
-
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_RESOURCE_BOOKING dependencies on OTA_FINANCE
12.1.1
-
APPS.OTA_FINANCE dependencies on OTA_FINANCE
12.1.1
-
APPS.OTA_DELEGATE_BOOKING_API dependencies on OTA_FINANCE
12.1.1
-
APPS.OTA_RESOURCE_BOOKING_SWI dependencies on OTA_FINANCE
12.2.2
-
APPS.OTA_RESOURCE_BOOKING_SWI dependencies on OTA_FINANCE
12.1.1
-
APPS.OTA_RESOURCE_BOOKING dependencies on OTA_FINANCE
12.2.2
-
APPS.OTA_TEA_UPD dependencies on OTA_FINANCE
12.2.2
-
APPS.OTA_DELEGATE_BOOKING_API dependencies on OTA_FINANCE
12.2.2
-
APPS.OTA_FINANCE dependencies on OTA_FINANCE
12.2.2
-
APPS.OTA_TEA_UPD dependencies on OTA_FINANCE
12.1.1
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
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,