AR Open Claim Summary and Detail Report
Customer claims and deductions — short-payments, disputed amounts, and unauthorized deductions — by reason and customer, so deductions management can research and resolve them before they age out.
Related Pairs with the Open/Closed Claim Detail Report — this is the open view; that shows the full lifecycle.
Sample build of the AR Open Claim Summary and Detail Report — reconciled, and rendered tool-neutral so it runs in Power BI, ThoughtSpot, or Tableau.
| Customer | Claim | Reason | Open Amount | Age (days) | Status |
|---|---|---|---|---|---|
| Acme Industrial | Sample | Standard | $1,240,500.00 | Sample | Open |
| Northwind Trading | — | Corporate | $842,150.75 | — | Posted |
| Globex Holdings | Sample | Standard | $96,400.00 | Sample | Validated |
| Initech LLC | — | Default | $1,005,233.10 | — | Open |
| Umbrella Corp | Sample | Standard | $58,720.40 | Sample | Paid |
| Acme Industrial | Sample | Standard | $1,240,500.00 | Sample | Open |
The report reads claims and deductions tied to receipts, grouped by reason and customer.
48 claims have been open over 60 days — aged deductions tie up cash and in many programs the right to dispute expires.
Work the aged claims by reason; if one reason dominates, fix the upstream billing or pricing cause.
This is the report's BI Publisher data model — the SQL data set BI Publisher runs against Oracle tables to produce the output. The same SQL becomes a dbt model in your warehouse, so one definition drives both the formatted report and the analytics layer.
Data sources
Show / hide SQL
-- Summary_USD
SELECT MAIN.BU_NAME,
SUM(MAIN.DOC_COUNT) DOC_COUNT,
SUM(MAIN.AMOUNT) amount,
SUM(MAIN.B1) B1,
SUM(MAIN.B2) B2,
SUM(MAIN.B3) B3,
SUM(MAIN.B4) B4,
SUM(MAIN.B5) B5,
SUM(MAIN.B6) B6
FROM
(
--Subq4 Start here
SELECT
bu_name
, (amount/1000000) amount
,
CASE
WHEN
total_due_days BETWEEN 0
AND 30
THEN
amount/1000000
END B1
,
CASE
WHEN
total_due_days BETWEEN 31
AND 60
THEN
amount/1000000
END B2
,
CASE
WHEN
total_due_days BETWEEN 61
AND 90
THEN
amount/1000000
END B3
,
CASE
WHEN
total_due_days BETWEEN 91
AND 180
THEN
amount/1000000
END B4
,
CASE
WHEN
total_due_days BETWEEN 181
AND 365
THEN
amount/1000000
END B5
,
CASE
WHEN
total_due_days > 365
THEN
amount/1000000
END B6
, cash_receipt_id
, doc_count
FROM
(
--Subq3 starts here
SELECT
bu_name
, sum(amount) amount
, To_date(P_GL_DATE, 'YYYY-MM-DD') - To_date( rcpt_cl_application_date, 'YYYY-MM-DD' ) TOTAL_DUE_DAYS
, cash_receipt_id
, Count(application_ref_num) DOC_COUNT
FROM
(
--Subq2 starts here
SELECT
bu_name
, amount
--, application_date RCPT_CL_APPLICATION_DATE
, Substr( To_date(application_date, 'YYYY-MM-DD'), 1, 10 ) RCPT_CL_APPLICATION_DATE
, Substr(:P_GL_DATE, 1, 10) P_GL_DATE
, cash_receipt_id
, application_ref_num
FROM
(
SELECT DISTINCT
FBU.bu_name
, To_date(acr.receipt_date, 'YYYY-MM-DD') APPLICATION_DATE
--, ( To_date(ARAA.apply_date, 'YYYY-MM-DD') ) APPLICATION_DATE
-- , CCA.amount
, (CCA.AMOUNT * NVL((SELECT
DR.CONVERSION_RATE
FROM
GL_DAILY_CONVERSION_TYPES CT,
GL_DAILY_RATES DR
WHERE
DR.CONVERSION_TYPE = CT.CONVERSION_TYPE
AND trunc (DR.CONVERSION_DATE) = TRUNC (acr.receipt_date)
AND DR.FROM_CURRENCY = ACR.CURRENCY_CODE
AND DR.TO_CURRENCY = 'USD'
AND upper(CT.USER_CONVERSION_TYPE) = 'STANDARD'
--AND ROWNUM=1
),1)) AMOUNT
, ACR.cash_receipt_id
--, ARAA.application_ref_num
,cca.CLAIM_NUMBER application_ref_num
FROM
ar_cash_receipts_all ACR
, hz_cust_accounts HCA
, hz_parties HP
, hz_cust_site_uses_all HCSUA
, fun_all_business_units_v FBU
, ar_receivable_applications_all ARAA
, cjm_claims_all CCA
, cjm_claim_reason_codes_b CCRCB
WHERE
1 = 1
and EXISTS (SELECT 1
FROM
fusion.fun_user_role_data_asgnmnts role
--fbu.fun_all_business_units_v
,fusion.per_users pu
,fusion.per_roles_dn_vl pr
,fusion.per_roles_dn_tl prtl
WHERE role.org_id = fbu.bu_id
AND pu.user_guid = role.user_guid
AND pr.role_common_name = role.ROLE_NAME
and role.active_flag ='Y'
and pu.username = fnd_global.user_name
and pr.role_id=prtl.role_id
and prtl.LANGUAGE='US'
and prtl.ROLE_NAME in ('XXC Accounts Receivable Analyst'
,'XXC Accounts Receivable Manager'
,'XXC Receivables Inquiry'
)
)
-- AND ACR.CASH_RECEIPT_ID = 300000036702225
AND ACR.org_id = FBU.bu_id
AND ACR.cash_receipt_id = ARAA.cash_receipt_id
AND ACR.pay_from_customer = HCA.cust_account_id(+)
AND HCA.party_id = HP.party_id
AND HCA.cust_account_id = HCA.cust_account_id
AND ACR.customer_site_use_id = HCSUA.site_use_id(+)
--AND (ARAA.application_ref_num LIKE 'DED%' OR ARAA.application_ref_num LIKE 'OPM%')
AND CCA.status_code = 'OPEN'
AND ACR.cash_receipt_id = CCA.receipt_id
AND CCA.receipt_id = ARAA.cash_receipt_id
--AND CCA.claim_id = ARAA.application_ref_id
AND cca.RECEIVABLE_APPLICATION_ID = araa.RECEIVABLE_APPLICATION_ID
AND ACR.org_id = CCA.bu_id
AND ACR.org_id = ARAA.org_id
AND CCA.reason_code_id = CCRCB.reason_code_id(+)
AND (CCA.CLAIM_CLASS_CODE IN (:P_CLAIM_CLASS) OR 'All' IN ('All'||:P_CLAIM_CLASS) )
AND ARAA.gl_date <= :P_GL_DATE
-- AND ( REPLACE(ARAA.APPLICATION_REF_REASON,'_',' ') IN (:P_CLAIM_REASON) OR 'All' IN ('All' ||:P_CLAIM_REASON) )
AND (nvl(cca.REASON_CODE_ID,1) IN (:p_claim_reason) or '1' in (:p_claim_reason||'1'))
AND (FBU.bu_id in (:p_org_id) or 'All' in (:p_org_id||'All'))
AND ( HCA.account_number IN (:P_CUSTOMER_ACCOUNT_NUMBER) OR 'All' IN ( 'All' || :P_CUSTOMER_ACCOUNT_NUMBER ) )
)--Subq2 end he
)
GROUP BY
bu_name
, amount
, To_date(P_GL_DATE, 'YYYY-MM-DD') - To_date( rcpt_cl_application_date, 'YYYY-MM-DD' )
, cash_receipt_id
--Subq3 end here
)--Subq4 end here
) MAIN
GROUP BY MAIN.BU_NAMEThe data-warehouse model — one fact surrounded by conformed dimensions (what you slice by) and measures (what you aggregate), expressed as dbt so it migrates with you. Grain: one row per source transaction.
| Element | Type | Definition |
|---|---|---|
| AR_RECEIVABLE_APPLICATIONS_ALL | dimension | dimension |
| HZ_CUST_ACCOUNTS | dimension | dimension |
| HZ_PARTIES | dimension | dimension |
| GL_LEDGERS | dimension | dimension |
| Open Amount | measure | measure |
Every source object behind this report. Each linked table has its own page with full column descriptions, drawn from the Oracle BICC lineage and articulated for practitioners.
| Table | Reporting columns | Subject areas |
|---|---|---|
| AR_CASH_RECEIPTS_ALL | 25 | 9 |
| AR_RECEIVABLE_APPLICATIONS_ALL | 35 | 2 |
| HZ_CUST_ACCOUNTS | 14 | 43 |
| HZ_PARTIES | 81 | 144 |
| GL_LEDGERS | 10 | 104 |