Results for “rev_adj_type”
10 results
AI-generated from documented ETRM metadata — verify critical details on the linked pages.
Overview
APPS.AR_REVENUE_ADJUSTMENTS_RA_V is a reporting view in the Oracle E-Business Suite Receivables (AR) module that presents revenue adjustment records in a denormalized, user-friendly form. Revenue adjustments are used to redistribute revenue across sales representatives, categories, inventory items, and transaction lines — for example when a sales credit must be reassigned from one representative to another, or when revenue is moved between product categories. Stored in AR_REVENUE_ADJUSTMENTS, these records are keyed internally by numeric IDs and lookup codes; the view resolves those codes into meaningful lookup meanings and, crucially for the search term from_group, joins to the resource groups views JTF_RS_GROUPS_VL FROM_GROUP and JTF_RS_GROUPS_VL TO_GROUP to expose the actual sales group names on both sides of the adjustment. The view is read-only and is most commonly consumed by custom reports, BI Publisher data models, Oracle Discoverer workbooks, and integration extracts that need human-readable revenue adjustment data without writing the lookup and group joins manually.
Underlying Base Objects
The documented base objects referenced by this view are:
- AR_REVENUE_ADJUSTMENTS (accessed via a SYNONYM) — the driving table, aliased
RA, containing all stored adjustment records. - AR_LOOKUPS (VIEW) — joined five times, aliased
AL_AT,AL_RC,AL_SCT,AL_AM, andAL_LSM, to translate lookup codes into meanings for adjustment type, reason code, sales credit type, amount mode, and line selection mode. - JTF_RS_GROUPS_VL (VIEW) — joined twice as
FROM_GROUPandTO_GROUP, providing the group name forFROM_SALESGROUP_IDandTO_SALESGROUP_ID. This is the source of theFROM_GROUP.GROUP_NAMEcolumn that users search for as "from_group". - ARPT_SQL_FUNC_UTIL (PACKAGE) — supplies the SQL functions
GET_SALESREP_NAME_NUMBER, called twice to resolveFROM_SALESREP_IDandTO_SALESREP_IDinto salesperson names, scoped byORG_ID.
The AR_LOOKUPS predicates restrict each join to a specific lookup type (REV_ADJ_TYPE, REV_ADJ_REASON or SALESCRED_ADJ_REASON depending on adjustment type, REV_ADJ_SALES_CREDIT_TYPE, REV_ADJ_AMOUNT_MODE, and REV_ADJ_LINE_SELECT_MODE). The sales credit lookup join is outer ((+)), so adjustments without a sales credit type are still returned.
Key Columns
- FROM_GROUP.GROUP_NAME — the name of the resource group from which revenue is being moved; exposed in queries as
FROM_GROUPorGROUP_NAME. Paired with TO_GROUP.GROUP_NAME. - FROM_SALESREP_ID / TO_SALESREP_ID — numeric salesperson IDs, with the resolved salesperson name and number returned by
GET_SALESREP_NAME_NUMBER. - REVENUE_ADJUSTMENT_ID / REVENUE_ADJUSTMENT_NUMBER — primary key and user-visible document number.
- CUSTOMER_TRX_ID — the transaction to which the adjustment applies.
- TYPE and AL_AT.MEANING — adjustment type code and its translated meaning.
- REASON_CODE and AL_RC.MEANING — reason for the adjustment.
- SALES_CREDIT_TYPE, AMOUNT_MODE, LINE_SELECTION_MODE — codes with their lookup meanings.
- AMOUNT / PERCENT — the adjustment quantity, expressed either as a value or a percentage.
- FROM_CATEGORY_ID, TO_CATEGORY_ID, FROM_INVENTORY_ITEM_ID, TO_INVENTORY_ITEM_ID, FROM_CUST_TRX_LINE_ID, TO_CUST_TRX_LINE_ID — source and destination of the adjustment.
- STATUS, GL_DATE, APPLICATION_DATE, ORG_ID and the standard WHO columns — state, accounting date, operating unit, and audit information.
Common Use Cases and Queries
Typical uses include auditing revenue reassignments between sales groups, feeding revenue data into commission calculations, and extracting adjustments by operating unit for reconciliation. A representative query listing adjustments with group names is:
SELECT ra.revenue_adjustment_number,
ra.customer_trx_id,
ra.from_group.group_name AS from_group,
ra.to_group.group_name AS to_group,
ra.from_salesrep_id,
ra.to_salesrep_id,
ra.type,
ra.amount,
ra.percent,
ra.status,
ra.gl_date
FROM apps.ar_revenue_adjustments_ra_v ra
WHERE ra.org_id = :p_org_id
AND ra.application_date >= :p_from_date
ORDER BY ra.revenue_adjustment_number;
Because JTF_RS_GROUPS_VL is joined inside the view, implementers seeking "from_group" do not need to add that join themselves; referencing FROM_GROUP or GROUP_NAME in the select list returns the group name directly. Note the view does not filter by status, so callers should restrict rows (for example WHERE status = 'A') as needed.
-
Lookup Type: REV_ADJ_TYPE 12.1.1
Revenue Adjustment Type
-
Lookup Type: REV_ADJ_TYPE 12.2.2
Revenue Adjustment Type
-
APPS.AR_REVENUE_ADJUSTMENTS_RA_V·↳ ARPT_SQL_FUNC_UTIL·↳ AR_LOOKUPS·↳ AR_REVENUE_ADJUSTMENTS·Explore AR module →
-
APPS.AR_REVENUE_ADJUSTMENTS_RA_V·↳ ARPT_SQL_FUNC_UTIL·↳ AR_LOOKUPS·↳ AR_REVENUE_ADJUSTMENTS·Explore AR module →
-
12.2.2 FND Design Data 12.2.2
-
12.1.1 FND Design Data 12.1.1