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:
- OKC_RULES_B (synonym) — stores rule lines, including the RULE_INFORMATION_CATEGORY and RULE_INFORMATIONn columns that carry leasing tax and stream configuration. The category 'LASTPR' and 'LAASTX' values drive the view's decoding logic.
- OKC_RULE_GROUPS_B (synonym) — groups rules by group code (RGD_CODE = 'LAASTX') and links a group to a contract and asset line.
- OKL_TAX_SOURCES (synonym) — the tax source record, filtered to TAX_CALL_TYPE_CODE = 'UPFRONT_TAX' and TAX_LINE_STATUS_CODE = 'ACTIVE'.
- OKL_TAX_TRX_DETAILS (synonym) — the individual tax transaction lines that supply TAX_AMOUNT for summation.
- FND_LOOKUPS (view) — supplies meaning text for lookup types such as 'OKL_ASSET_UPFRONT_TAX'.
- OKL_STRM_TYPE_V (view) — supplies stream names used to resolve the payer/stream configuration.
- OKL_ACCOUNTING_UTIL, FND_GLOBAL (packages) — supporting accounting and environment utilities referenced by the view.
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.
-
View: OKL_LA_STX_SMRY_UV 12.1.1
Sales Tax Summary
APPS.OKL_LA_STX_SMRY_UV·↳ FND_GLOBAL·↳ FND_LOOKUPS·↳ OKC_RULES_B·Explore OKL module →
-
View: OKL_LA_STX_SMRY_UV 12.2.2
Sales Tax Summary
APPS.OKL_LA_STX_SMRY_UV·↳ FND_GLOBAL·↳ FND_LOOKUPS·↳ OKC_RULES_B·Explore OKL module →
-
ACCOUNTING EVENT CLASS
-
View: OKL_LA_STX_DTLS_UV 12.2.2
Sales Tax Details
APPS.OKL_LA_STX_DTLS_UV·↳ OKL_TAX_SOURCES·↳ OKL_TAX_TRX_DETAILS·Explore OKL module →
-
View: OKL_LA_STX_DTLS_UV 12.1.1
Sales Tax Details
APPS.OKL_LA_STX_DTLS_UV·↳ OKL_TAX_SOURCES·↳ OKL_TAX_TRX_DETAILS·Explore OKL module →
-
ACCOUNTING EVENT CLASS
-
This view displays Upfront Tax Summary for an asset
APPS.OKL_CS_ASTUPF_TAX_SUM_UV·↳ FND_GLOBAL·↳ FND_LOOKUPS·↳ HZ_CUST_ACCOUNTS·Explore OKL module →
-
Okl Transaction Type Class
-
This view displays Asset Location Change Transaction Tax Summary
APPS.OKL_CS_ASTLOC_TAX_SUM_UV·↳ FND_GLOBAL·↳ FND_LOOKUPS·↳ HZ_CUST_ACCOUNTS·Explore OKL module →
-
This view displays Asset Location Change Transaction Tax Summary
APPS.OKL_CS_ASTLOC_TAX_SUM_UV·↳ FND_GLOBAL·↳ FND_LOOKUPS·↳ HZ_CUST_ACCOUNTS·Explore OKL module →
-
This view displays Upfront Tax Summary for an asset
APPS.OKL_CS_ASTUPF_TAX_SUM_UV·↳ FND_GLOBAL·↳ FND_LOOKUPS·↳ HZ_CUST_ACCOUNTS·Explore OKL module →
-
View: OKL_CS_ALC_SUMMARY_UV 12.2.2
APPS.OKL_CS_ALC_SUMMARY_UV·↳ ARP_ADDR_LABEL_PKG·↳ FND_GLOBAL·↳ FND_LOOKUPS·Explore OKL module →
-
Okl Transaction Type Class
-
View: OKL_CS_ALC_SUMMARY_UV 12.1.1
APPS.OKL_CS_ALC_SUMMARY_UV·↳ ARP_ADDR_LABEL_PKG·↳ FND_GLOBAL·↳ FND_LOOKUPS·Explore OKL module →
-
APPS.OKL_CS_ASSET_LOC_CHANGE_UV·↳ ARP_ADDR_LABEL_PKG·↳ CSI_ITEM_INSTANCES·↳ FND_GLOBAL·Explore OKL module →
-
APPS.OKL_CS_ASSET_LOC_CHANGE_UV·↳ ARP_ADDR_LABEL_PKG·↳ CSI_ITEM_INSTANCES·↳ FND_GLOBAL·Explore OKL module →