Search Results ar_line_conts




Overview

APPS.AR_LINE_DEFERRAL_REASONS_V is a reporting and integration view in Oracle E-Business Suite Release 12.1.1 and 12.2.2 that consolidates deferral (contingency) reason information attached to individual Accounts Receivable transaction lines. It joins the line-level contingency assignments held in AR_LINE_CONTS with the deferral reason definitions stored in AR_DEFERRAL_REASONS, and augments the result with transaction line attributes from RA_CUSTOMER_TRX_LINES_ALL and item category information from MTL_ITEM_CATEGORIES.

The view plays a supporting role in the revenue recognition and deferred revenue adjustment processes. It exposes the deferral reason, the expiration and revenue recognition event codes, the lookup meanings for those events, and the completion status of each contingency, allowing reporting tools, concurrent programs, and custom extensions to present deferred revenue information without navigating the underlying normalized tables directly. Lookup meanings for the AR_EXPIRATION_EVENTS and AR_REVREC_EVENTS lookup types are resolved at query time through ARPT_SQL_FUNC_UTIL.GET_LOOKUP_MEANING.

Underlying Base Objects

The view definition joins four principal data sources, with the following documented base objects referenced:

  • AR_LINE_CONTS (synonym) — the driving table, aliased LC. It stores the contingency assignment for each customer transaction line, including expiration, completion, and reason-removal attributes. Because the join to AR_DEFERRAL_REASONS is an outer join, lines with no matching reason definition are still returned.
  • AR_DEFERRAL_REASONS (synonym) — aliased DR. This provides the deferral reason definition, including contingency name, description, notes, expiration event code, revenue recognition event code, policy attachment flag, and effective start and end dates.
  • RA_CUSTOMER_TRX_LINES_ALL (synonym) — aliased CTL. Supplies the transaction line context: line number, customer transaction identifier, and inventory item identifier.
  • MTL_ITEM_CATEGORIES (synonym) — aliased MIC. Provides the category identifier for the item, joined with outer joins constrained by the category set and organization held in the AR_REVENUE_ADJUSTMENT_PVT package.
  • AR_REVENUE_ADJUSTMENT_PVT (package) — supplies CATEGORY_SET_ID and INV_ORG_ID used as join predicates against MTL_ITEM_CATEGORIES.
  • ARPT_SQL_FUNC_UTIL (package) — supplies GET_LOOKUP_MEANING, used to translate the expiration and revenue recognition event codes into descriptive meanings.

Key Columns

Common Use Cases and Queries

Typical usage includes deferred revenue reporting, contingency completion tracking, and diagnostics of lines whose deferral reasons have expired or been removed. A representative query lists outstanding contingencies for a transaction:

  • SELECT customer_trx_id, line_number, contingency_name, expiration_date, completed_flag FROM apps.ar_line_deferral_reasons_v WHERE customer_trx_id = :p_trx_id ORDER BY line_number;
  • SELECT org_id, revrec_event_meaning, COUNT(*) FROM apps.ar_line_deferral_reasons_v WHERE completed_flag = 'N' GROUP BY org_id, revrec_event_meaning;
  • SELECT l.customer_trx_line_id, l.contingency_name, l.expiration_event_meaning, l.reason_removal_date FROM apps.ar_line_deferral_reasons_v l WHERE l.reason_removal_date IS NOT NULL;

Because the view includes a ROWID column and preserves outer joins to the reason definition and item category, it can also serve as a queryable foundation for revenue adjustment logic and for custom reports that must reflect incomplete or partially defined deferral setups.