Results for “upfront_tax”

50+ results




AI-generated from documented ETRM metadata — verify critical details on the linked pages.

Overview

OKL_LA_STX_SMRY_UV is an Oracle E-Business Suite view owned by the APPS schema within the OKL (Leasing and Finance Management) product family. Its documented description is "Sales Tax Summary." The view consolidates upfront sales tax amounts that arise on leased assets, joining contract-level rule structures to tax source and tax transaction detail records, and resolving several descriptive attributes (upfront tax meaning, stream name) that are not stored in a directly readable column on the underlying transaction tables. Because a substantial portion of leasing tax data is held in the generic rule model of OKC rather than in dedicated tax columns, the view performs the decoding and lookup resolution required to present a human-readable and reporting-friendly result set.

The view is defined with a UNION that aggregates tax amounts on one branch and returns further detail on the second branch. It exposes the contract identifier (KHR_ID), the asset identifier (KLE_ID), the asset number, an upfront tax meaning, a stream name, and a summed tax amount. It is intended for reporting and integration scenarios where a compact, per-contract, per-asset sales tax summary is required, rather than for direct on-line transaction entry.

Underlying Base Objects

The documented referenced base objects are:

The primary join path runs from OKC_RULE_GROUPS_B to OKC_RULES_B, then to OKL_TAX_SOURCES on contract (KHR_ID) and asset line (KLE_ID/CLE_ID), and finally to OKL_TAX_TRX_DETAILS via TXS_ID.

Key Columns

  • CONTRACT_ID — the contract header identifier (KHR_ID) from OKL_TAX_SOURCES.
  • ASSET_ID — the asset line identifier (KLE_ID).
  • ASSET_NUMBER — the external asset number for reporting.
  • UPFRONT_TAX — the resolved meaning of the upfront tax type, derived from FND_LOOKUPS or from the 'LASTPR' rule when the lookup value is null.
  • STREAM_NAME — the stream name resolved from OKL_STRM_TYPE_V by decoding RULE_INFORMATION11 (BILLED, FINANCE, CAPITALIZE) against corresponding rule information columns.
  • TAX_AMOUNT — the summed TAX_AMOUNT across qualifying tax transaction detail lines.

Common Use Cases and Queries

The view is typically used to report upfront sales tax by contract and asset, to reconcile tax source records against transaction detail, and to feed downstream integration extracts. A representative query:

SELECT contract_id, asset_id, asset_number, upfront_tax, stream_name, tax_amount FROM apps.okl_la_stx_smry_uv WHERE contract_id = :contract_id;

Because the view filters on TAX_LINE_STATUS_CODE = 'ACTIVE' and TAX_CALL_TYPE_CODE = 'UPFRONT_TAX', it is unsuitable for retrieving cancelled or non-upfront tax lines. Reporting queries should generally constrain by contract or asset to limit the cost of the rule-decoding sub-queries, and should account for the UNION when interpreting row counts for a given contract and asset combination. The RULE_INFORMATION_CATEGORY values 'LAASTX' and 'LASTPR' are central to its filtering and decoding, so any change to those rule categories in the underlying contract data will alter the view's results.