Search Results ar_rev_assign_for_pprr_v
Overview
The AR_REV_ASSIGN_FOR_PPRR_V view is an Oracle Receivables (AR) dictionary object owned by the APPS schema. Its purpose is to determine the revenue recognition schedules for invoices that use invoicing rules. In practice, the view computes the periodic revenue amounts that must be recognized for each transaction line, distributing the revenue amount across General Ledger (GL) periods according to the rules defined in Receivables. It underpins the Periodic Revenue Recognition (PPRR) processing used to generate revenue recognition schedules and the associated accounting entries for invoices driven by invoicing rules.
The view derives its logic by expanding each customer transaction line across the GL periods delimited by the applicable period set and period type. The GL date for each generated period is calculated with the analytic function FIRST_VALUE(START_DATE) OVER (PARTITION BY ... ORDER BY GPS.START_DATE), which identifies the earliest period start date within the partition defined by period set, period type, transaction line, and transaction. The difference between the rule start date and this first period start date, offset by the period start date and constrained by LEAST against the period end date and rule end date, yields the effective GL date for each schedule period. This anchoring of the schedule to the first period is the principal use of first_value in the view.
Because the object is a view in the APPS schema, it is consumed by revenue recognition programs and reporting rather than being maintained directly. It supports both 12.1.1 and 12.2.2, though the underlying schema and synonym resolution follow each release's APPS architecture.
Underlying Base Objects
The documented base objects referenced by the view are:
RA_CUSTOMER_TRX— transaction header, supplying the invoicing rule context.RA_CUSTOMER_TRX_LINES— transaction lines, providing quantity invoiced/credited, rule start and end dates, and GL date.RA_RULES— invoicing and accounting rule definitions;RR.TYPEdrives the rule type branches (PP_DR_ALL,PP_DR_PP, and others).AR_PERIODSandAR_PERIOD_TYPES— GL period definitions used to split the schedule across periods.AR_SYSTEM_PARAMETERS_ALLandGL_SETS_OF_BOOKS— period set name and ledger context.AR_PERIODSis aliased asGPS(global period set) in the view text.AR_CREDIT_MEMO_AMOUNTS— aliasedCMA, supplying explicitly defined credit memo amounts that override the calculated amounts viaNVL.AR_LOOKUPS— aliasedRAL, providing the account class lookup (REV), which also determines the sign applied to each amount.
Key Columns
CUSTOMER_TRX_ID,CUSTOMER_TRX_LINE_ID,PREVIOUS_CUSTOMER_TRX_LINE_ID— transaction and line identifiers, including the prior line reference for credit memos.REQUEST_ID— concurrent request identifier that created the schedule.QUANTITY—NVL(QUANTITY_CREDITED, QUANTITY_INVOICED)from the transaction line.GL_DATE— the effective accounting date for each schedule period, derived usingfirst_valueanchoring.AMOUNT— the revenue amount for the period, computed fromCMA.AMOUNTwhen present, otherwise from rule-type formulas (daily rate times days, or revenue amount times period factor), signed by account class.ACCOUNT_CLASS—RAL.LOOKUP_CODE, distinguishing revenue (REV) from offsetting entries.PERIOD_SET_NAME— the GL period set for the schedule.
Common Use Cases and Queries
The view is typically queried directly for troubleshooting and reconciliation of revenue schedules, such as verifying recognized amounts and GL dates for a given transaction line.
- Retrieve schedule rows for a specific transaction:
SELECT customer_trx_id, customer_trx_line_id, gl_date, amount, account_class
FROM apps.ar_rev_assign_for_pprr_v
WHERE customer_trx_id = :p_trx_id
ORDER BY gl_date;
- Compare calculated amounts against credit memo overrides by filtering on
ACCOUNT_CLASSandPERIOD_SET_NAME. - Reconcile totals per line to confirm the sum of period amounts equals the expected revenue amount.
- Investigate schedule start alignment when rule start dates fall within a period, where the
first_value-derived GL date logic is most relevant.
These queries support diagnostics for invoices using invoicing rules and validate the output consumed by downstream revenue recognition processing in Oracle EBS 12.1.1 and 12.2.2.
-
View: AR_REV_ASSIGN_FOR_PPRR_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AR.AR_REV_ASSIGN_FOR_PPRR_V, object_name:AR_REV_ASSIGN_FOR_PPRR_V, status:VALID, product: AR - Receivables , description: Determine the revenue recognition schedules for invoices that use invoicing rules , implementation_dba_data: APPS.AR_REV_ASSIGN_FOR_PPRR_V ,
-
SYNONYM: APPS.AR_CREDIT_MEMO_AMOUNTS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AR_CREDIT_MEMO_AMOUNTS, status:VALID,
-
SYNONYM: APPS.AR_PERIOD_TYPES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AR_PERIOD_TYPES, status:VALID,
-
SYNONYM: APPS.AR_PERIODS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AR_PERIODS, status:VALID,
-
PACKAGE BODY: APPS.ARP_AUTO_RULE
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:ARP_AUTO_RULE, status:VALID,
-
VIEW: APPS.AR_REV_ASSIGN_FOR_PPRR_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AR.AR_REV_ASSIGN_FOR_PPRR_V, object_name:AR_REV_ASSIGN_FOR_PPRR_V, status:VALID,
-
SYNONYM: APPS.RA_RULES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:RA_RULES, status:VALID,
-
SYNONYM: APPS.AR_SYSTEM_PARAMETERS_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AR_SYSTEM_PARAMETERS_ALL, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
12.2.2 FND Design Data
12.2.2
-
SYNONYM: APPS.RA_CUSTOMER_TRX_LINES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:RA_CUSTOMER_TRX_LINES, status:VALID,
-
APPS.ARP_AUTO_RULE dependencies on AR_REV_ASSIGN_FOR_PPRR_V
12.2.2
-
VIEW: APPS.AR_LOOKUPS
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AR.AR_LOOKUPS, object_name:AR_LOOKUPS, status:VALID,
-
SYNONYM: APPS.RA_CUSTOMER_TRX
12.2.2
owner:APPS, object_type:SYNONYM, object_name:RA_CUSTOMER_TRX, status:VALID,
-
APPS.ARP_AUTO_RULE dependencies on RA_CUST_TRX_LINE_SALESREPS
12.2.2
-
APPS.ARP_AUTO_RULE dependencies on RA_RULES
12.2.2
-
APPS.ARP_AUTO_RULE SQL Statements
12.2.2
-
VIEW: APPS.GL_SETS_OF_BOOKS
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:SQLGL.GL_SETS_OF_BOOKS, object_name:GL_SETS_OF_BOOKS, status:VALID,
-
APPS.ARP_AUTO_RULE dependencies on RA_CUST_TRX_LINE_GL_DIST
12.2.2
-
PACKAGE BODY: APPS.ARP_AUTO_RULE
12.2.2
-
12.2.2 DBA Data
12.2.2
-
eTRM - AR Tables and Views
12.2.2
description: Territory information ,
-
eTRM - AR Tables and Views
12.2.2
description: Territory information ,