Search Results line_cancelled
Overview
OTFV_FINANCE_LINES is a business view template owned by the APPS schema within the OTA (Learning Management) product family in Oracle E-Business Suite 12.1.1 and 12.2.2. It is not an operational table but a presentation-layer construct designed to expose finance line records for use by descriptive flexfield (DFF) view generation, reporting, and integration. Specifically, the view serves as the business view template from which the flexfield view is generated, meaning it defines the selectable, joinable, and displayable shape of finance line data that downstream flexfield-enabled views inherit.
In ETRM-enabled reporting, this view functions as a flattened, decoded, user-readable projection of the OTA finance line and finance header data. Rather than requiring report authors and integrators to resolve raw codes, foreign keys, and multi-table joins against booking deals, events, activity versions, customers, and contacts, the view exposes pre-joined, lookup-decoded columns. This makes it suitable for ad hoc queries, OBIEE-style repositories, and outbound integration extracts.
Underlying Base Objects
The view is defined over a set of documented base objects. The primary fact sources are the synonyms OTA_FINANCE_LINES (aliased TFL) and OTA_FINANCE_HEADERS (aliased TFH). Contextual enrichment comes from a wide set of joins across the Learning Management and shared Oracle schemas, including:
- Enrollment and agreement context: OTA_BOOKING_DEALS, OTA_BOOKING_DEALS_V, OTA_DELEGATE_BOOKINGS (TBD), OTA_TBD_API.
- Training and event context: OTA_EVENTS, OTA_EVENTS_TL, OTA_ACTIVITY_VERSIONS, OTA_ACTIVITY_VERSIONS_TL, OTA_OFFERINGS, OTA_PRICE_LISTS.
- Resource context: OTA_RESOURCE_BOOKINGS, OTA_SUPPLIABLE_RESOURCES, OTA_SUPPLIABLE_RESOURCES_TL.
- Customer and party context: HZ_CUST_ACCOUNTS, HZ_CUST_ACCOUNT_ROLES, HZ_ORG_CONTACTS, HZ_PARTIES, HZ_RELATIONSHIPS, PO_VENDORS.
- HR and person context: PER_ALL_PEOPLE_F, HR_ALL_ORGANIZATION_UNITS_TL.
- Lookups: AR_LOOKUPS.
- Programmatic helpers (packages): HR_BIS, HR_GENERAL, OTA_GENERAL, OTA_TDB_BUS.
The view text shows that decoding is delegated to HR_BIS.BIS_DECODE_LOOKUP for lookup categories such as FINANCE_LINE_TYPE, YES_NO, GL_TRANSFER_STATUS, FINANCE_HEADER_TYPE, BOOKING_DEAL_TYPE, and TRAINING_UNIT, and that currency names are resolved through OTA_GENERAL.FND_CURRENCY_NAME. Several columns are placeholders cast with TO_CHAR(NULL) or TO_DATE(NULL), leaving resource attributes (RESOURCE_NAME, RESOURCE_TYPE, RESOURCE_BOOKING_FROM, RESOURCE_BOOKING_TO) to be populated by the flexfield-generated view rather than by the base template query.
Key Columns
- LINE_ID — Surrogate from TFL.FINANCE_LINE_ID; joins to OTA_FINANCE_LINES.
- LINE_TYPE, LINE_CANCELLED, TRANSFER_STATUS — Decoded via BIS_DECODE_LOOKUP (FINANCE_LINE_TYPE, YES_NO, GL_TRANSFER_STATUS).
- CURRENCY — Currency name resolved from CURRENCY_CODE.
- STANDARD_AMOUNT, MONEY_AMOUNT, UNITARY_AMOUNT — Finance line monetary measures.
- DATE_RAISED, COMMENTS, TRANSFER_DATE, TRANSFER_MESSAGE — Line lifecycle and GL transfer audit fields.
- HEADER_TYPE, HEADER_SUB_TYPE, DATE_HEADER_RAISED — Derived from OTA_FINANCE_HEADERS.
- ENROLLMENT_AGREEMENT, AGREEMENT_TYPE, AGREEMENT_DISCOUNT, ENROLLMENT_TYPE — Booking deal and enrollment classification.
- STUDENT_NAME, CONTACT_NAME, CUSTOMER_NAME, ORGANIZATION_NAME — Party and organization names, with internal versus external enrollment decoded from CUSTOMER_ID.
- EVENT_TITLE, ACTIVITY_NAME, EVENT_START_DATE, TRAINING_UNIT — Event and version context.
- RESOURCE_* placeholders — Null-cast columns reserved for the generated flexfield view.
Common Use Cases and Queries
Typical uses include finance reconciliation, revenue or receivable analysis for enrollments, and GL transfer monitoring. A basic query follows:
SELECT line_id, line_type, sequence, currency,
money_amount, date_raised, transfer_status,
student_name, customer_name, event_title
FROM apps.otfv_finance_lines
WHERE transfer_status = 'Pending'
ORDER BY date_raised DESC;
For aggregation by header type and currency:
SELECT header_type, currency,
COUNT(*) line_count, SUM(money_amount) total_amount
FROM apps.otfv_finance_lines
WHERE line_cancelled = 'No'
GROUP BY header_type, currency;
Integrators frequently join LINE_ID back to OTA_FINANCE_LINES or OTA_FINANCE_HEADERS for keys not exposed through lookup decoding, and filter on ENROLLMENT_TYPE to separate internal (PER) from external (HZ) delegates.
-
View: OTFV_FINANCE_LINES
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OTA.OTFV_FINANCE_LINES, object_name:OTFV_FINANCE_LINES, status:VALID, product: OTA - Learning Management , description: Business view template from which the flexfield view is generated. , implementation_dba_data: APPS.OTFV_FINANCE_LINES ,
-
View: OTFV_FINANCE_LINES
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OTA.OTFV_FINANCE_LINES, object_name:OTFV_FINANCE_LINES, status:VALID, product: OTA - Learning Management , description: Business view template from which the flexfield view is generated. , implementation_dba_data: APPS.OTFV_FINANCE_LINES ,
-
VIEW: APPS.OTFV_FINANCE_LINES
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OTA.OTFV_FINANCE_LINES, object_name:OTFV_FINANCE_LINES, status:VALID,
-
VIEW: APPS.OTFV_FINANCE_LINES
12.1.1
-
VIEW: APPS.OTFV_FINANCE_LINES
12.2.2
-
VIEW: APPS.OTFV_FINANCE_LINES
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OTA.OTFV_FINANCE_LINES, object_name:OTFV_FINANCE_LINES, status:VALID,
-
View: SO_LINES_CANCEL_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OE.SO_LINES_CANCEL_V, object_name:SO_LINES_CANCEL_V, status:VALID, product: OE - Order Entry , implementation_dba_data: APPS.SO_LINES_CANCEL_V ,
-
View: SO_LINES_CANCEL_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OE.SO_LINES_CANCEL_V, object_name:SO_LINES_CANCEL_V, status:VALID, product: OE - Order Entry , implementation_dba_data: APPS.SO_LINES_CANCEL_V ,
-
VIEW: APPS.SO_LINES_CANCEL_V
12.2.2
-
VIEW: APPS.SO_LINES_CANCEL_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:OE.SO_LINES_CANCEL_V, object_name:SO_LINES_CANCEL_V, status:VALID,
-
VIEW: APPS.SO_LINES_CANCEL_V
12.1.1
-
VIEW: APPS.SO_LINES_CANCEL_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:OE.SO_LINES_CANCEL_V, object_name:SO_LINES_CANCEL_V, status:VALID,
-
eTRM - OE Tables and Views
12.1.1
description: Temporary table ,
-
eTRM - OTA Tables and Views
12.1.1
description: Currently not used ,
-
eTRM - OE Tables and Views
12.2.2
description: Temporary table ,
-
eTRM - OTA Tables and Views
12.2.2
description: Currently not used ,