Results for “trx_class”
50+ results
AI-generated from documented ETRM metadata — verify critical details on the linked pages.
Overview
OKS_BILLING_HIST_V is a Service Contracts (OKS) reporting view owned by the APPS schema and delivered as a valid database object in Oracle EBS 12.1.1 and 12.2.2. It consolidates the billing history of service contracts into a single, denormalized read-only interface. The view joins billing transaction headers, billing transaction lines, contract billing lines, sub-line detail, and FND lookup translations, then unions the results across three distinct processing paths: standard billing lines, sub-line driven billing lines, and billing rows that carry no line-level amount or transaction number. This union-based design allows the view to present a complete billing picture regardless of whether a given charge was billed directly, through a sub-line hierarchy, or recorded only at the contract-billing-line level. Because the view exposes transaction numbers, transaction classes, currency codes, billing date ranges, and monetary amounts, it is a natural source for operational reporting, reconciliation, and integrations that need Service Contracts billing history without navigating the underlying normalized tables directly.
Underlying Base Objects
The documented base objects referenced by OKS_BILLING_HIST_V are FND_GLOBAL (PACKAGE), FND_LOOKUPS (VIEW), OKS_BILL_CONT_LINES (SYNONYM), OKS_BILL_SUB_LINES (SYNONYM), OKS_BILL_TRANSACTIONS (SYNONYM), and OKS_BILL_TXN_LINES (SYNONYM). OKS_BILL_TRANSACTIONS (aliased BTR) holds the billing transaction header, supplying the transaction class and transaction number when line-level values are absent. OKS_BILL_TXN_LINES (aliased BTL) holds the billing transaction line detail, supplying TRX_LINE_AMOUNT, TRX_LINE_TAX_AMOUNT, TRX_NUMBER, and TRX_CLASS. OKS_BILL_CONT_LINES (aliased BCL) is the contract billing line, providing the row identifier, line ID, contract line element ID, billing action, creation date, billed-from and billed-to dates, and currency code. OKS_BILL_SUB_LINES (aliased BSL) links sub-lines to their parent contract billing lines and drives the second branch of the union. FND_LOOKUPS translates BILL_ACTION codes using lookup type OKS_BILL_ACTIONS, and FND_GLOBAL supplies session context used by the view's security and lookup logic. The joins key on BTR.ID = BTL.BTN_ID, BTL.BCL_ID = BCL.ID, and BCL.BTN_ID = BTR.ID, with lookup translation applied through BILL_ACTION = FND.LOOKUP_CODE.
Key Columns
- ROW_ID — the ROWID of the underlying OKS_BILL_CONT_LINES row; useful for uniquely identifying a billing line.
- ID / BILL_CLE_ID — the billing line identifier and the contract line element identifier, linking the row back to the service contract structure.
- TRX_CLASS — transaction class, resolved via NVL from the line then the header.
- BILL_ACTION — the FND lookup meaning for the billing action code.
- BILL_ON_DATE, BILL_FROM_DATE, BILL_TO_DATE — creation date and the billed service period boundaries.
- CURRENCY_CODE — the currency of the billing line.
- TRX_NUMBER — the transaction number; a value of -99 is converted to NULL by DECODE.
- TAX_AMOUNT — TRX_LINE_TAX_AMOUNT from the billing transaction line.
- TOTAL_AMOUNT — TRX_LINE_AMOUNT, the line-level billed amount that is the primary target of "total_amount" searches.
Common Use Cases and Queries
The most frequent requirement is to retrieve the billed total for a contract or period. A straightforward query filters by date range and contract line:
SELECT id, bill_cle_id, trx_number, currency_code, total_amount, tax_amount FROM apps.oks_billing_hist_v WHERE bill_on_date BETWEEN :p_from AND :p_to;- Aggregation by contract and currency:
SELECT bill_cle_id, currency_code, SUM(total_amount) FROM apps.oks_billing_hist_v GROUP BY bill_cle_id, currency_code; - Reconciliation of taxed versus untaxed totals:
SELECT trx_number, total_amount, tax_amount, (total_amount - NVL(tax_amount,0)) net_amount FROM apps.oks_billing_hist_v ORDER BY bill_on_date DESC;
Because the view unions billing rows that lack line-level amounts, consumers should use NVL or outer-style handling when summing TOTAL_AMOUNT across all rows, ensuring that contract-level-only billing entries are not silently excluded from totals.
-
View: OKS_BILLING_HIST_V 12.1.1
View for Service Contracts Billing History
APPS.OKS_BILLING_HIST_V·↳ FND_GLOBAL·↳ FND_LOOKUPS·↳ OKS_BILL_CONT_LINES·Explore OKS module →
-
The transaction (invoice, credit etc.) which is eventually received from AR.
-
View: OKS_BILLING_HIST_V 12.2.2
View for Service Contracts Billing History
APPS.OKS_BILLING_HIST_V·↳ FND_GLOBAL·↳ FND_LOOKUPS·↳ OKS_BILL_CONT_LINES·Explore OKS module →
-
View: OKS_BTN_PR_V 12.1.1
View for table OKS_BTN_PR
APPS.OKS_BTN_PR_V·↳ OKS_BILL_TRANSACTIONS·Explore OKS module →
-
The transaction (invoice, credit etc.) which is eventually received from AR.
-
The transaction (invoice, credit etc.) which is eventually received from AR.
-
View for table OKC_CONTRACT_BILLINGS
APPS.OKS_BILL_TRANSACTIONS_V·↳ OKS_BILL_TRANSACTIONS·Explore OKS module →
-
View for table OKC_CONTRACT_BILLINGS
APPS.OKS_BILL_TRANSACTIONS_V·↳ OKS_BILL_TRANSACTIONS·Explore OKS module →
-
APPS.AR_DOCUMENT_TRANSFERS_V·↳ AR_DOCUMENT_TRANSFERS·↳ ECX_TP_DETAILS_V·↳ ECX_TP_HEADERS·Explore AR module →
-
APPS.AR_DOCUMENT_TRANSFERS_V·↳ AR_DOCUMENT_TRANSFERS·↳ ECX_TP_DETAILS_V·↳ ECX_TP_HEADERS·Explore AR module →
-
APPS.AR_TRX_SCHEDULES_REP_ITF_V·↳ AR_LOOKUPS·↳ AR_PAYMENT_SCHEDULES_ALL·↳ AR_RECEIPT_METHODS·Explore AR module →
-
APPS.AR_TRX_SCHEDULES_REP_ITF_V·↳ AR_LOOKUPS·↳ AR_PAYMENT_SCHEDULES_ALL·↳ AR_RECEIPT_METHODS·Explore AR module →
-
View: OKS_BILL_TXN_LINES_V 12.2.2
View for table OKS_BILL_TXN_LINES
APPS.OKS_BILL_TXN_LINES_V·↳ OKS_BILL_TXN_LINES·Explore OKS module →
-
View: JAI_OM_SHIP_AEL_V 12.2.2
Base view of OFI ship confirm UI
APPS.JAI_OM_SHIP_AEL_V·↳ GL_DAILY_CONVERSION_TYPES·↳ GL_IMPORT_REFERENCES·↳ GL_JE_CATEGORIES·Explore JA module →
-
View: LNS_AEL_GL_V 12.2.2
This view contains accounting GL info about loans invoices
APPS.LNS_AEL_GL_V·↳ GL_IMPORT_REFERENCES·↳ GL_JE_HEADERS·↳ GL_JE_LINES·Explore LNS module →
-
View: LNS_AEL_GL_V 12.1.1
This view contains accounting GL info about loans invoices
APPS.LNS_AEL_GL_V·↳ GL_IMPORT_REFERENCES·↳ GL_JE_HEADERS·↳ GL_JE_LINES·Explore LNS module →
-
This Interface table is used to import Billing History Information for the Contract lines and covered level lines.
-
The transaction (invoice, credit etc.) which is eventually received from AR.
-
View: OKS_BTN_PR_V 12.2.2
View for table OKS_BTN_PR
APPS.OKS_BTN_PR_V·↳ OKS_BILL_TRANSACTIONS·Explore OKS module →
-
View: JAI_PROJECT_INV_AEL_V 12.2.2
Base view for projects
APPS.JAI_PROJECT_INV_AEL_V·↳ GL_DAILY_CONVERSION_TYPES·↳ GL_IMPORT_REFERENCES·↳ GL_JE_CATEGORIES·Explore JA module →
-
View: JAI_RG_FUND_TRF_AEL_V 12.2.2
APPS.JAI_RG_FUND_TRF_AEL_V·↳ GL_DAILY_CONVERSION_TYPES·↳ GL_IMPORT_REFERENCES·↳ GL_JE_CATEGORIES·Explore JA module →
-
View: JAI_PO_REC_AEL_V 12.2.2
Base view of PO receipt
APPS.JAI_PO_REC_AEL_V·↳ FND_GLOBAL·↳ GL_DAILY_CONVERSION_TYPES·↳ GL_IMPORT_REFERENCES·Explore JA module →
-
View: AR_TRX_REP_ITF_V 12.2.2
APPS.AR_TRX_REP_ITF_V·↳ ARPT_SQL_FUNC_UTIL·↳ AR_RECEIPT_METHODS·↳ AR_TRANSACTIONS_REP_ITF·Explore AR module →
-
View: JAI_PO_REC_VAT_AEL_V 12.2.2
Fetch accounting entries for 'vat claim' event
APPS.JAI_PO_REC_VAT_AEL_V·↳ FND_GLOBAL·↳ GL_DAILY_CONVERSION_TYPES·↳ GL_IMPORT_REFERENCES·Explore JA module →
-
View: AP_ENC_GL_INV_V 12.2.2
APPS.AP_ENC_GL_INV_V·↳ AP_INVOICES_ALL·↳ AP_INVOICE_DISTRIBUTIONS_ALL·↳ AP_LOOKUP_CODES·Explore FND module →
-
View: XLA_OZF_CLA_AEL_SL_V 12.1.1
APPS.XLA_OZF_CLA_AEL_SL_V·↳ OZF_AEL_SL_CLA_V·Explore XLA module →
-
View: XLA_INV_AEL_SL_PAC_V 12.1.1
APPS.XLA_INV_AEL_SL_PAC_V·↳ CST_PAC_AEL_SL_INV_V·↳ HR_GENERAL·↳ HR_SECURITY·Explore XLA module →
-
View: XLA_OZF_CLA_AEL_GL_V 12.1.1
APPS.XLA_OZF_CLA_AEL_GL_V·↳ OZF_AEL_GL_CLA_V·Explore XLA module →
-
View: XLA_PO_AEL_GL_V 12.1.1
APPS.XLA_PO_AEL_GL_V·↳ FND_GLOBAL·↳ HR_GENERAL·↳ HR_SECURITY·Explore XLA module →
-
APPS.XLA_AR_ADJ_AEL_SL_MRC_V·↳ AR_AEL_SL_ADJ_MRC_V·Explore XLA module →
-
View: XLA_OZF_CLA_AEL_SL_V 12.2.2
APPS.XLA_OZF_CLA_AEL_SL_V·↳ OZF_AEL_SL_CLA_V·Explore XLA module →
-
APPS.XLA_PSA_REQ_ENC_BC_GL_V·↳ FND_GLOBAL·↳ HR_GENERAL·↳ HR_SECURITY·Explore XLA module →
-
View: XLA_WIP_AEL_GL_PAC_V 12.2.2
APPS.XLA_WIP_AEL_GL_PAC_V·↳ CST_PAC_AEL_GL_WIP_V·↳ HR_GENERAL·↳ HR_SECURITY·Explore XLA module →
-
View: XLA_PA_DR_AEL_SL_MRC_V 12.2.2
APPS.XLA_PA_DR_AEL_SL_MRC_V·↳ HR_GENERAL·↳ HR_PERSON_NAME·↳ HR_SECURITY·Explore XLA module →
-
View: XLA_OZF_UTL_AEL_GL_V 12.2.2
APPS.XLA_OZF_UTL_AEL_GL_V·↳ FND_PROFILE·↳ OZF_AEL_GL_UTL_V·Explore XLA module →
-
View: XLA_JL_FA_AEL_GL_V 12.2.2
APPS.XLA_JL_FA_AEL_GL_V·↳ JL_CO_FA_AEL_GL_V·Explore XLA module →
-
View: XLA_AR_ADJ_AEL_SL_V 12.2.2
APPS.XLA_AR_ADJ_AEL_SL_V·↳ AR_AEL_SL_ADJ_V·Explore XLA module →
-
View: XLA_AR_INV_AEL_SL_V 12.2.2
APPS.XLA_AR_INV_AEL_SL_V·↳ ARPT_SQL_FUNC_UTIL·↳ AR_AEL_SL_INV_V·Explore XLA module →
-
View: XLA_AP_ENC_GL_PAY_V 12.2.2
APPS.XLA_AP_ENC_GL_PAY_V·↳ AP_ENC_GL_PAY_V·↳ FND_ACCESS_CONTROL_UTIL·↳ FND_GLOBAL·Explore FND module →
-
View: XLA_JL_FA_AEL_GL_V 12.1.1
APPS.XLA_JL_FA_AEL_GL_V·↳ JL_CO_FA_AEL_GL_V·Explore XLA module →
-
View: XLA_AR_INV_AEL_GL_V 12.1.1
APPS.XLA_AR_INV_AEL_GL_V·↳ AR_AEL_GL_INV_V·Explore XLA module →
-
View: XLA_INV_AEL_GL_PAC_V 12.1.1
APPS.XLA_INV_AEL_GL_PAC_V·↳ CST_PAC_AEL_GL_INV_V·Explore XLA module →
-
View: XLA_INV_AEL_SL_V 12.1.1
APPS.XLA_INV_AEL_SL_V·↳ CST_AEL_SL_INV_V·↳ HR_GENERAL·↳ HR_SECURITY·Explore XLA module →
-
View: JL_CO_FA_AEL_GL_V 12.2.2
APPS.JL_CO_FA_AEL_GL_V·↳ FA_ADDITIONS·↳ FA_ADJUSTMENTS·↳ FA_ASSET_HISTORY·Explore JL module →
-
View: XLA_PA_DR_AEL_SL_V 12.2.2
APPS.XLA_PA_DR_AEL_SL_V·↳ HR_GENERAL·↳ HR_PERSON_NAME·↳ HR_SECURITY·Explore XLA module →
-
View: XLA_PA_EI_AEL_GL_V 12.2.2
APPS.XLA_PA_EI_AEL_GL_V·↳ HR_GENERAL·↳ HR_PERSON_NAME·↳ HR_SECURITY·Explore XLA module →
-
APPS.XLA_PSA_REQ_ENC_BC_GL_V·↳ FND_GLOBAL·↳ HR_GENERAL·↳ HR_SECURITY·Explore XLA module →
-
View: XLA_AR_ADJ_AEL_GL_V 12.1.1
APPS.XLA_AR_ADJ_AEL_GL_V·↳ AR_AEL_GL_ADJ_V·Explore XLA module →
-
View: XLA_WIP_AEL_SL_PAC_V 12.1.1
APPS.XLA_WIP_AEL_SL_PAC_V·↳ CST_PAC_AEL_SL_WIP_V·↳ HR_GENERAL·↳ HR_SECURITY·Explore XLA module →
-
View: XLA_FA_AEL_GL_V 12.2.2