Versions Compared

Key

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

Name

Disputes

Type

View

Description

Provides most of the same information as the Dispute table, though more consolidated, as well as additional columns from various other tables that are relevant in the context of a disputed transaction.

Data Category

Event Field/Column Name

Data Type

Description

Applicability

Sample Value

Notes

Key

TenantId

VARCHAR(32)

Multiexcerpt include
MultiExcerptNameglossary_description
PageWithExcerptTenant ID
shouldDisplayInlineCommentsInIncludesfalse

ALWAYS

qvo-stg

Key

Tenant

VARCHAR(64)

Multiexcerpt include macro
macro_uuid92aefef2-6d9d-4064-a29c-4aff6b6b5512
nameglossary_description
templateDataeJyLjgUAARUAuQ==
pageTenant
addpanelfalse

ALWAYS

Default

Key

ClientId

VARCHAR(64)

Multiexcerpt include
MultiExcerptNameglossary_description
PageWithExcerptClient ID
shouldDisplayInlineCommentsInIncludesfalse

ALWAYS

Default

Key

Client

VARCHAR(64)

Multiexcerpt include macro
macro_uuid92aefef2-6d9d-4064-a29c-4aff6b6b5512
nameglossary_description
templateDataeJyLjgUAARUAuQ==
pageClient
addpanelfalse

ALWAYS

Default

Claim Details

ClaimType

VARCHAR(64)

Multiexcerpt include
MultiExcerptNameglossary_description
PageWithExcerptClaim Type
shouldDisplayInlineCommentsInIncludesfalse

CONDITIONAL

Card-Pinless

Claim Details

ClaimCategory

VARCHAR(64)

Multiexcerpt include
MultiExcerptNameglossary_description
PageWithExcerptClaim Category
shouldDisplayInlineCommentsInIncludesfalse

CONDITIONAL

Fraud

Claim Details

ClaimReason

VARCHAR(64)

Multiexcerpt include
MultiExcerptNameglossary_description
PageWithExcerptClaim Reason
shouldDisplayInlineCommentsInIncludesfalse

CONDITIONAL

Stolen

Compliance Details

RegulatoryCoverage

VARCHAR

Multiexcerpt include
macro_uuid5685cd1e-99c2-40db-9a77-74d274228986
MultiExcerptNameglossary_description
PageWithExcerptClaim Reason
shouldDisplayInlineCommentsInIncludesfalse

CONDITIONAL

Reg E

Dispute

Transaction Details

Network

VARCHAR(64)

Multiexcerpt include
MultiExcerptNameglossary_description
PageWithExcerptNetwork
shouldDisplayInlineCommentsInIncludesfalse

CONDITIONAL

Mastercard, Visa

Claim Details

ClaimChannel

VARCHAR(32)

Multiexcerpt include
macro_uuid5685cd1e-99c2-40db-9a77-74d274228986
templateDataeJyLjgUAARUAuQ==
MultiExcerptNameglossary_description
addpanelfalse
PageWithExcerptClaim Channel

ALWAYS

Online Banking

Card Details

CardType

VARCHAR(16)

Multiexcerpt include
macro_uuid97e89f13-1c2e-41c7-925f-3c97f32515db
MultiExcerptNameglossary_description
PageWithExcerptBIN
shouldDisplayInlineCommentsInIncludesfalse

CONDITIONAL

Debit

Card Details

BIN

VARCHAR(8)

Multiexcerpt include
MultiExcerptNameglossary_description
PageWithExcerptBIN
shouldDisplayInlineCommentsInIncludesfalse

CONDITIONAL

412356, 41235678

Transaction Details

TransactionType

VARCHAR

Multiexcerpt include macro
macro_uuid3195254b-6a01-4d6a-9f3d-3dfe0f7f14a1
nameglossary_description
templateDataeJyLjgUAARUAuQ==
pageTransaction Type
addpanelfalse

ALWAYS

ATM

Key

ClaimId

VARCHAR(32)

Multiexcerpt include
MultiExcerptNameglossary_description
PageWithExcerptClaim ID
shouldDisplayInlineCommentsInIncludesfalse

ALWAYS

2306060014C

Key

DisputeId

VARCHAR(32)

Multiexcerpt include macro
macro_uuida3e31307-8cb9-40d8-8eef-f74f27879680
nameglossary_description
templateDataeJyLjgUAARUAuQ==
pageDispute ID
addpanelfalse

ALWAYS

2306060014D

Claim Details

ClaimStatus

VARCHAR(64)

Multiexcerpt include
MultiExcerptNameglossary_description
PageWithExcerptStatus Work
shouldDisplayInlineCommentsInIncludesfalse

ALWAYS

RESOLVED-PAID

Dispute Details

DisputeStatus

VARCHAR(64)

Multiexcerpt include
MultiExcerptNameglossary_description
PageWithExcerptStatus Work
shouldDisplayInlineCommentsInIncludesfalse

ALWAYS

RESOLVED-PAID

Dispute Details

DisputeStatusType

VARCHAR(64)

Multiexcerpt include
MultiExcerptNameglossary_description
PageWithExcerptStatus Work
shouldDisplayInlineCommentsInIncludesfalse

ALWAYS

Claim DATE

Dispute Details

CreateDate

Decision

VARCHAR(64)

Multiexcerpt include

macro_uuid45c8dff0-944f-4e53-8ee3-da245af4a176templateDataeJyLjgUAARUAuQ==

MultiExcerptNameglossary_description

addpanel

PageWithExcerpt

false

Claim Decision

PageWithExcerpt

shouldDisplayInlineCommentsInIncludes

CREATEDATETIMEClaim

false

CONDITIONAL

2023-09-09

Paid, Denied

Dispute Details

CustomerContactDate

DenyReason

DATE

VARCHAR

Multiexcerpt include-macro
macro_uuid

d99ef6b8

2e92bee9-

ca27

0ad2-

4139

4bd4-

8c27-79c2824a1215

a47b-9c6aee2a8ac7
nameglossary_description
templateDataeJyLjgUAARUAuQ==

MultiExcerptNameglossary_description

pageDeny Reason
addpanelfalse

PageWithExcerptCustomer Contact DateClaim

CONDITIONAL

2023-09-09

NUMBER(20,2)

No Error

Transaction Details

ClaimAmount

TransactionDate

DATE

Multiexcerpt include-macro
macro_uuid

261deb9e

f9b82b6c-

b155

1d48-

44f1

4821-

9f3e

afec-

b8d10e211bcd

d7c7a4493a68

MultiExcerptName

nameglossary_description

PageWithExcerptClaim AmountshouldDisplayInlineCommentsInIncludes123.45

templateDataeJyLjgUAARUAuQ==
pageTransaction Date
addpanelfalse

CONDITIONAL

ALWAYS

2023-09-09

Claim Details

ClaimState

ContactDate

VARCHAR

DATE

Multiexcerpt include
macro_uuid

261deb9e

d99ef6b8-

b155

ca27-

44f1

4139-

9f3e

8c27-

b8d10e211bcd

79c2824a1215
templateDataeJyLjgUAARUAuQ==
MultiExcerptNameglossary_description
addpanelfalse
PageWithExcerpt

Claim Status SummaryClaim

Customer Contact Date

ALWAYS

OPEN

VARCHAR(64)

2023-09-09

Dispute Details

Decision

CreateDate

DATE

Multiexcerpt include

MultiExcerptNameglossary

macro_

descriptionPageWithExcerptClaim DecisionshouldDisplayInlineCommentsInIncludesfalse

CONDITIONAL

Paid, Denied

Claim Details

DiscoveryDate

DATE

Multiexcerpt include

uuid45c8dff0-944f-4e53-8ee3-da245af4a176
templateDataeJyLjgUAARUAuQ==
MultiExcerptNameglossary_description

PageWithExcerpt

addpanel

Customer Discovery Date

false

shouldDisplayInlineCommentsInIncludes

PageWithExcerpt

false

CREATEDATETIME

CONDITIONAL

ALWAYS

2023-09-09

Compliance

Dispute Details

InvestigationDate

TIMESTAMP_NTZ(9)

Multiexcerpt include
MultiExcerptNameglossary_description
PageWithExcerptInvestigation Completed Date
shouldDisplayInlineCommentsInIncludesfalse

CONDITIONAL

2023-09-09 21:00:00

Compliance

Dispute Details

ResolutionDeadline

ResolvedDate

TIMESTAMP_NTZ(9)

Multiexcerpt include

-macroname

macro_uuid027fa8ef-0adf-4d64-8d22-eb934d764d70addpanel

MultiExcerptNameglossary_description

templateDataeJyLjgUAARUAuQ==pageRegulatory Resolution Deadline

PageWithExcerptResolution Date
shouldDisplayInlineCommentsInIncludesfalse

CONDITIONAL

2023-09-09 21:00:00

Claim

Transaction Details

ResolvedDate

AuthorizationStatus

TIMESTAMP_NTZ

VARCHAR(

9

32)

Multiexcerpt include
MultiExcerptNameglossary_description
PageWithExcerpt

Resolution Date

Risk Details

PotentialAbuse

BOOLEAN

Authorization Status
shouldDisplayInlineCommentsInIncludesfalse

CONDITIONAL

2023-09-09 21:00:00

ALWAYS

Pending, Posted

Transaction Details

MerchantCategoryCode

VARCHAR(6)

Multiexcerpt include
MultiExcerptNameglossary_description
PageWithExcerpt

Potential Abuse

Merchant Category Code
shouldDisplayInlineCommentsInIncludesfalse

CONDITIONAL

FALSE

8999

Risk BOOLEAN

Transaction Details

EmployeeClaim

Merchant

Multiexcerpt include-macro
macro_uuid

91afd1e2

de3e24ca-

a292

565a-

4a59

41c8-

a8a4

b800-

669839e9b53a

c2659d0922c2

MultiExcerptName

nameglossary_description

PageWithExcerptPotential AbuseshouldDisplayInlineCommentsInIncludes

templateDataeJyLjgUAARUAuQ==
pageMerchant Name
addpanelfalse

CONDITIONAL

ALWAYS

false

PAYPAL

Claim VARCHAR(16)

Transaction Details

PCDecision

POSEntryMode

Multiexcerpt include-macro
macro_uuid

91afd1e2

de3e24ca-

a292

565a-

4a59

41c8-

a8a4-669839e9b53a

b800-c2659d0922c2
nameglossary_description
templateDataeJyLjgUAARUAuQ==

MultiExcerptNameglossary_description

pagePOS Entry Mode
addpanelfalse

PageWithExcerptPC Decision

CONDITIONAL

Grant

81

Claim

Transaction Details

PCDate

TIMESTAMP_NTZ(9)

TransactionDescription

Multiexcerpt include-macro

MultiExcerptNameglossary

macro_

descriptionPageWithExcerptPROVISIONALCREDITDATETIMEshouldDisplayInlineCommentsInIncludesfalse

CONDITIONAL

2023-09-09 21:00:00

Claim Details

Reclassifications

NUMBER(3,0)

Multiexcerpt includeMultiExcerptName

CONDITIONAL

1

Claim Details

RequiredDocuments

NUMBER(3,0)

Multiexcerpt include
MultiExcerptNameglossary_description
PageWithExcerptRequired Document Count
shouldDisplayInlineCommentsInIncludesfalse

CONDITIONAL

1

Metadata

CreatedBy

VARCHAR(64)

The username of the user that created the claim.

CONDITIONAL

devan.robertson@quavo.com

Available in 24.01.03.

Dispute Details

DisputeCount

NUMBER(3,0

uuidde3e24ca-565a-41c8-b800-c2659d0922c2
nameglossary_description

PageWithExcerptReclassification CountshouldDisplayInlineCommentsInIncludesfalse

templateDataeJyLjgUAARUAuQ==
pageTransaction Description
addpanelfalse

ALWAYS

PAYPAL *CASHAPP0777701 402-935-7733 CA

Dispute Details

DisputeAmount

NUMBER(20,2)

Multiexcerpt include
macro_uuid

6e32305a

103f1606-

3507

1b62-

48ee

436a-

9aa3

81bb-

09af5eaba4e5

d17588afd4cb
templateDataeJyLjgUAARUAuQ==
MultiExcerptNameglossary_description
addpanelfalse
PageWithExcerptDispute

Count

Amount

CONDITIONAL

2

123.59

Dispute

Transaction Details

DisputeAmount

TransactionAmount

NUMBER(20,2)

Multiexcerpt include-macro
macro_uuid

103f1606

23775cb8-

1b62

919d-

436a

4041-

81bb-d17588afd4cb

90f7-115777927901
nameglossary_description
templateDataeJyLjgUAARUAuQ==

MultiExcerptNameglossary_description

pageTransaction Amount
addpanelfalse

ALWAYS

PageWithExcerpt

123.59

Dispute Details

AccoundholderAmount

NUMBER(20,2)

Amount of all accountholder adjustments.

CONDITIONAL

123.59

Dispute Details

MerchantCreditAmount

NUMBER(20,2)

Multiexcerpt include macro
macro_uuid27d56e9c-828f-40d8-8c30-5ae5841cecd6
nameglossary_description
templateDataeJyLjgUAARUAuQ==
pageMerchant Credit Balance
addpanelfalse

CONDITIONAL

123.59

Dispute Details

RecoveredAmount

NUMBER(20,2)

Multiexcerpt include macro
macro_uuid5835dccc-cf95-4910-9bc2-9c45ad829860
nameglossary_description
templateDataeJyLjgUAARUAuQ==
pageRecovered Amount
addpanelfalse

CONDITIONAL

123.59

Dispute Details

LossAmount

NUMBER(20,2)

Multiexcerpt include macro
macro_uuidbec857fa-cc36-4255-a95d-491416e54f60
nameglossary_description
templateDataeJyLjgUAARUAuQ==
pageLoss Balance
addpanelfalse

CONDITIONAL

123.59

Dispute Details

DeniedAmount

NUMBER(20,2)

Total amount denied.

CONDITIONAL

123.59

SQL

For greater transparency, and to provide clients with a “jumping off” point for their own queries, the SQL used to generated this view is provided below.

Code Block
breakoutModefull-width
languagesql
SELECT --top 2500
    d.tenantid,
    t.name,
    d.clientid,
    cl.commonname,
    c.claimtype,
    c.reasontype,
    CAMEL_CASE_TO_STRING(c.reason) AS "REASON",
    (CASE
        WHEN c.rege45datetime IS NOT NULL THEN 'Reg E'
        WHEN c.rege90datetime IS NOT NULL THEN 'Reg E'
        WHEN c.regz90datetime IS NOT NULL THEN 'Reg Z'
        WHEN c.isfcra = TRUE THEN 'FCRA'
        ELSE 'No Coverage'
    END) AS "Regulatory Coverage",
    (CASE
        WHEN d.acquirernetwork = 'MasterCard' THEN 'Mastercard'
        WHEN d.acquirernetwork = 'Debit Mastercard' THEN 'Mastercard Debit'
        WHEN d.acquirernetwork IS NULL THEN 'Unknown'
        ELSE d.acquirernetwork
    END) AS "Network",
    c.channelorigin,
    c.cardtype,
    c.cardbin,
    d.claimid,
    d.disputeid,
    c.status,
    d.status,
    d.decision,
    CAMEL_CASE_TO_STRING(d.denyreason) AS "DenyReason",
    c.customercontactdate,
    TO_TIMESTAMP_TZ(d.createdatetime::varchar || ' +0000'),
    TO_TIMESTAMP_TZ(d.investigationcompletedatetime::varchar || ' +0000'),
    TO_TIMESTAMP_TZ(d.resolveddatetime::varchar || ' +0000'),
    (CASE
        WHEN d.status = 'Resolved-Paid' THEN 'Paid'
        WHEN d.status = 'Resolved-Denied' THEN 'Denied'
        WHEN d.status = 'Resolved-NoPosting' THEN 'Never Posted'
    END) as "Resolution",
    DATEDIFF(d, d.createdatetime, d.resolveddatetime) AS "ResolutionTimeDays",
    DATEDIFF(d, c.customercontactdate, to_date(d.investigationcompletedatetime)) AS CustomerResolutionTimeDays,
    d.authorizationstatus,
    d.merchantcategorycode,
    d.merchantname,
    d.posentrymode,
    d.description,
    d.disputeamount,
    d.amount,
    d.accountholdertotal,
    IFNULL((SELECT SUM(mc.appliedamount) FROM merchantcredit AS mc WHERE mc.tenantid = d.tenantid AND mc.disputeid = d.disputeid), 0) AS "MerchantCreditAmount",
    IFNULL((CASE
        WHEN d.transactiontype = 'ACH' THEN (SELECT COUNT(*) FROM recoveryaction as r WHERE r.tenantid = d.tenantid AND r.disputeid = d.disputeid AND r.actionname = 'Recovery Pursued') - (SELECT COUNT(*) FROM recoveryaction as r WHERE r.tenantid = d.tenantid AND r.disputeid = d.disputeid AND r.actionname = 'Recovery Cancelled')
        ELSE (SELECT max(r.cycle) FROM recoveryaction as r WHERE r.tenantid = d.tenantid AND r.disputeid = d.disputeid)
    END), 0) AS "Recovery Attempts",
    d.merchanttotal * -1 AS "RecoveredAmount",
    d.losstotal * -1 AS "LossAmount",
    d.disputeamount - d.accountholdertotal - "MerchantCreditAmount" AS "DeniedAmount",
    "MerchantCreditAmount" + "RecoveredAmount" + "DeniedAmount" AS "RecapturedAmount",
    (CASE
        WHEN d.isreopened = TRUE THEN TRUE
        ELSE FALSE
    END) AS "Reopened"
FROM dispute AS d
JOIN tenant AS t
    ON d.tenantid = t.tenantid
JOIN claim AS c
    ON d.tenantid = c.tenantid AND d.claimid = c.claimid
JOIN client AS cl
    ON d.tenantid = cl.tenantid AND d.clientid = cl.clientid
WHERE
    d.status IN ('Resolved-Paid', 'Resolved-Denied', 'Resolved-NoPosting')

Change Log

Date

Change Summary

11/26/2024

  • Added TransactionDate column

  • Added SQL Reference

12/11/2024

Converted timestamps from NTZ to TZ format for compatibility