OZF Claims and Deductions

Description

Categories
Enginatics
Repository
GitHub
Trade Management claims, deductions and overpayments with their type, reason, status, customer, amounts, owner, source transaction and settlement.

Days Past Due and Aging Bucket are calculated from the due date as of today, for claims in status New, Open, Complete or Rejected, the claims that Oracle Trade Management ages. Aging Bucket uses the Receivables aging bucket selected in the parameter of the same name. Open Only restricts the report to these claims.

The template Pivot: Aging by Customer shows the accounted remaining amount of the open claims by customer and aging bucket, as the claims aging view.

SQL 71 lines

Parameters 9

ParameterTypeList of values SQL
Operating UnitLOV
oca.org_id in (select hou.organization_id from hr_operating_units hou where hou.name=:operating_unit)
Claim ClassLOV
oca.claim_class=xxen_util.lookup_code(:claim_class,'OZF_CLAIM_CLASS',682)
StatusLOV
oca.user_status_id in (select ausv.user_status_id from ams_user_statuses_vl ausv where ausv.name=:status)
Open OnlyLOV
and oca.status_code in ('NEW','OPEN','COMPLETE','REJECTED')
CustomerLOV
hp.party_name=:customer_name
Claim Date FromDate
oca.claim_date>=:claim_date_from
Claim Date ToDate
oca.claim_date<:claim_date_to+1
ReasonLOV
oca.reason_code_id in (select orcav.reason_code_id from ozf_reason_codes_all_vl orcav where orcav.name=:reason)
Aging BucketLOV