Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagesql
select 
d.clientid,
client.commonname as "Client",
c.claimtype as "Claim Type",
c.reasontype as "Claim Category",
c.reason as "Claim Reason",
d.claimid as "Claim ID",
d.disputeid as "Dispute ID",
c.customercontactdate as "Contact Date",
d.acquirernetwork as "Network",
d.status as "Dispute Status",
d.disputeamount as "Dispute Amount",
to_date(cb.performedondatetime) as "Chargeback Date",
cb.amount as "Chargeback Amount"
from
dispute as d
join claim as c
on d.tenantid = c.tenantid and d.claimid = c.claimid
join client as client
on d.tenantid = client.tenantid and d.clientid = client.clientid
join recoveryaction as cb
on d.tenantid = cb.tenantid and d.disputeid = cb.disputeid and cb.actionname in ('Dispute Submitted', 'Rapid Dispute Resolution') and cb.cycle = '1' 
where 
cb.performedondatetime is not null -- only disputes with chargebacks 
where 
    d.tenantid = 'YOURTENANTIDHERE'
    AND chargebackdate=:daterange

...

FieldDefinition
Client
Multiexcerpt include macro
macro_uuid105b9e81-14d5-44ec-9511-2e0bd16a167e
nameglossary_description
templateDataeJyLjgUAARUAuQ==
pageCommon Name
addpanelfalse
Claim Type
Multiexcerpt include macro
macro_uuid105b9e81-14d5-44ec-9511-2e0bd16a167e
nameglossary_description
templateDataeJyLjgUAARUAuQ==
pageClaim Type
addpanelfalse
Claim Category
Multiexcerpt include macro
macro_uuid105b9e81-14d5-44ec-9511-2e0bd16a167e
nameglossary_description
templateDataeJyLjgUAARUAuQ==
pageClaim Category
addpanelfalse
Claim Reason
Multiexcerpt include macro
macro_uuid105b9e81-14d5-44ec-9511-2e0bd16a167e
nameglossary_description
templateDataeJyLjgUAARUAuQ==
pageClaim Reason
addpanelfalse
Network
Multiexcerpt include macro
macro_uuid105b9e81-14d5-44ec-9511-2e0bd16a167e
nameglossary_description
templateDataeJyLjgUAARUAuQ==
pageNetwork
addpanelfalse
Claim ID
Multiexcerpt include macro
macro_uuid105b9e81-14d5-44ec-9511-2e0bd16a167e
nameglossary_description
templateDataeJyLjgUAARUAuQ==
pageClaim ID
addpanelfalse
Dispute ID
Multiexcerpt include macro
macro_uuid105b9e81-14d5-44ec-9511-2e0bd16a167e
nameglossary_description
templateDataeJyLjgUAARUAuQ==
pageDispute ID
addpanelfalse
Dispute Status
Contact Date
Multiexcerpt include macro
macro_uuid105b9e81-14d5-44ec-9511-2e0bd16a167e
nameglossary_description
templateDataeJyLjgUAARUAuQ==
pageDispute StatusCustomer Contact Date
addpanelfalse
Contact Date
Dispute Status
Multiexcerpt include macro
macro_uuid105b9e81-14d5-44ec-9511-2e0bd16a167e
nameglossary_description
templateDataeJyLjgUAARUAuQ==
pageCustomer Contact DateDispute Status
addpanelfalse
Dispute Amount
Multiexcerpt include macro
macro_uuid105b9e81-14d5-44ec-9511-2e0bd16a167e
nameglossary_description
templateDataeJyLjgUAARUAuQ==
pageDispute Amount
addpanelfalse
Chargeback DateDate the chargeback was performed.
Chargeback AmountAmount of the chargeback.

...