Versions Compared

Key

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

...

Multiexcerpt include macro
macro_uuid40b8ba4c-84da-465a-bdb3-4a7373cfd13b
nameWhereClauseWarning
templateDataeJyLjgUAARUAuQ==
pageSQL Library
addpanelfalse

SQL

Code Block
languagesql
select SELECT client.commonname asAS "Client",
c.claimtype asAS "Claim Type",
c.reasontype asAS "Claim Category",
c.reason asAS "Claim Reason",
d.claimid asAS "Claim ID",
d.disputeid asAS "Dispute ID",
c.customercontactdate asAS "Contact Date",
d.acquirernetwork asAS "Network",
d.status asAS "Dispute Status",
d.disputeamount asAS "Dispute Amount",
toTo_date(cb.performedondatetime) asAS "Chargeback Date",
cb.amount asAS "Chargeback Amount",
fromFROM dispute asAS d
joinJOIN claim asAS c onON d.tenantid = c.tenantid andAND d.claimid = c.claimid
joinJOIN client asAS client onON d.tenantid = client.tenantid andAND d.clientid = client.clientid
joinJOIN recoveryaction asAS cb onON d.tenantid = cb.tenantid andAND d.disputeid = cb.disputeid andAND cb.actionname inIN ( 'Dispute Submitted', 'Rapid Dispute Resolution' ) andAND cb.cycle = '1'

where 
cb.performedondatetime is not null -- only disputes with chargebacks 
where 
    WHERE d.tenantid = 'YOURTENANTIDHERE' AND cb.performedondatetime =  AND chargebackdate=:daterange 

Field Glossary

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
Contact Date
Multiexcerpt include macro
macro_uuid105b9e81-14d5-44ec-9511-2e0bd16a167e
nameglossary_description
templateDataeJyLjgUAARUAuQ==
pageCustomer Contact Date
addpanelfalse
Dispute Status
Multiexcerpt include macro
macro_uuid105b9e81-14d5-44ec-9511-2e0bd16a167e
nameglossary_description
templateDataeJyLjgUAARUAuQ==
pageDispute 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.

...