Versions Compared

Key

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

...

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

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

Dispute Details

Decision

VARCHAR(64)

Multiexcerpt include
MultiExcerptNameglossary_description
PageWithExcerptClaim Decision
shouldDisplayInlineCommentsInIncludesfalse

CONDITIONAL

Paid, Denied

Dispute Details

DenyReason

VARCHAR

Multiexcerpt include macro
macro_uuid2e92bee9-0ad2-4bd4-a47b-9c6aee2a8ac7
nameglossary_description
templateDataeJyLjgUAARUAuQ==
pageDeny Reason
addpanelfalse

CONDITIONAL

No Error

Transaction Details

TransactionDate

DATE

Multiexcerpt include macro
macro_uuidf9b82b6c-1d48-4821-afec-d7c7a4493a68
nameglossary_description
templateDataeJyLjgUAARUAuQ==
pageTransaction Date
addpanelfalse

ALWAYS

2023-09-09

Claim Details

CreateDateContactDate

DATE

Multiexcerpt include
Multiexcerpt include
macro_uuid45c8dff0-944f-4e53-8ee3-da245af4a176
templateDataeJyLjgUAARUAuQ==
MultiExcerptNameglossary_description
addpanelfalse
PageWithExcerptCREATEDATETIME

CONDITIONAL

2023-09-09

Claim Details

CustomerContactDate

DATE

macro_uuidd99ef6b8-ca27-4139-8c27-79c2824a1215
templateDataeJyLjgUAARUAuQ==
MultiExcerptNameglossary_description
addpanelfalse
PageWithExcerptCustomer Contact Date

CONDITIONALALWAYS

2023-09-09

Claim Dispute Details

ClaimAmount

NUMBER(20,2)CreateDate

DATE

Multiexcerpt include
macro_uuid261deb9e45c8dff0-b155944f-44f14e53-9f3e-b8d10e211bcd
MultiExcerptNameglossary_description
PageWithExcerptClaim Amount
shouldDisplayInlineCommentsInIncludesfalse

CONDITIONAL

123.45

Claim Details

ClaimState

VARCHAR

Multiexcerpt include
macro_uuid261deb9e-b155-44f1-9f3e-b8d10e211bcd
8ee3-da245af4a176
templateDataeJyLjgUAARUAuQ==
MultiExcerptNameglossary_description
addpanelfalse
PageWithExcerptClaim Status TypeCREATEDATETIME

ALWAYSOPEN

Dispute Details

Decision

VARCHAR(64)

Multiexcerpt include
MultiExcerptNameglossary_description
PageWithExcerptClaim Decision
shouldDisplayInlineCommentsInIncludesfalse

CONDITIONAL

Paid, Denied

Claim Details

DiscoveryDate

DATE

Multiexcerpt include
MultiExcerptNameglossary_description
PageWithExcerptCustomer Discovery Date
shouldDisplayInlineCommentsInIncludesfalse

CONDITIONAL

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 Details

ResolutionDeadline

TIMESTAMP_NTZ(9)

Multiexcerpt include macro
macro_uuid027fa8ef-0adf-4d64-8d22-eb934d764d70
nameglossary_description
templateDataeJyLjgUAARUAuQ==
pageRegulatory Resolution Deadline
addpanelfalse

CONDITIONAL

2023-09-09 21:00:00

Claim Dispute Details

ResolvedDate

TIMESTAMP_NTZ(9)

Multiexcerpt include
MultiExcerptNameglossary_description
PageWithExcerptResolution Date
shouldDisplayInlineCommentsInIncludesfalse

CONDITIONAL

2023-09-09 21:00:00

Transaction Details

AuthorizationStatus

VARCHAR(32)

Multiexcerpt include
MultiExcerptNameglossary_description
PageWithExcerptAuthorization Status
shouldDisplayInlineCommentsInIncludesfalse

ALWAYS

Pending, Posted

Transaction Details

MerchantCategoryCode

VARCHAR(6)

Multiexcerpt include
MultiExcerptNameglossary_description
PageWithExcerptMerchant Category Code
shouldDisplayInlineCommentsInIncludesfalse

CONDITIONAL

48298999

Risk Transaction Details

PotentialAbuseMerchant

BOOLEAN

Multiexcerpt include
MultiExcerptNameglossary_description
PageWithExcerptPotential Abuse
shouldDisplayInlineCommentsInIncludesfalse

CONDITIONAL

FALSE

Risk Details

EmployeeClaim

BOOLEAN

Multiexcerpt include-macro
shouldDisplayInlineCommentsInIncludes
macro_uuid91afd1e2de3e24ca-a292565a-4a5941c8-a8a4b800-669839e9b53ac2659d0922c2
MultiExcerptNamenameglossary_description
PageWithExcerptPotential Abuse
templateDataeJyLjgUAARUAuQ==
pageMerchant Name
addpanelfalse

CONDITIONALALWAYS

falsePAYPAL

Claim Transaction Details

PCDecision

VARCHAR(16)POSEntryMode

Multiexcerpt include
glossary_descriptionPageWithExcerpt
macro_uuid91afd1e2de3e24ca-a292565a-4a5941c8-a8a4-669839e9b53ab800-c2659d0922c2
nameglossary_description
templateDataeJyLjgUAARUAuQ==MultiExcerptName
pagePOS Entry Mode
addpanelfalsePC Decision

CONDITIONAL

Grant81

Claim Transaction Details

PCDate

TIMESTAMP_NTZ(9)TransactionDescription

Multiexcerpt include
Multiexcerpt include
glossarydescription
MultiExcerptNamemacro_
PageWithExcerptPROVISIONALCREDITDATETIME
shouldDisplayInlineCommentsInIncludesfalse

CONDITIONAL

2023-09-09 21:00:00

Claim Details

Reclassifications

NUMBER(3,0)

Dispute Details

DisputeCount

NUMBER(3,0

MultiExcerptNameuuidde3e24ca-565a-41c8-b800-c2659d0922c2
nameglossary_description
PageWithExcerptReclassification Count
shouldDisplayInlineCommentsInIncludesfalse

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.

templateDataeJyLjgUAARUAuQ==
pageTransaction Description
addpanelfalse

ALWAYS

PAYPAL *CASHAPP0777701 402-935-7733 CA

Dispute Details

DisputeAmount

NUMBER(20,2)

Multiexcerpt include
macro_uuid6e32305a103f1606-35071b62-48ee436a-9aa381bb-09af5eaba4e5d17588afd4cb
templateDataeJyLjgUAARUAuQ==
MultiExcerptNameglossary_description
addpanelfalse
PageWithExcerptDispute CountAmount

CONDITIONAL2

123.59

Dispute Transaction Details

DisputeAmountTransactionAmount

NUMBER(20,2)

Multiexcerpt include
glossary_descriptionPageWithExcerpt
macro_uuid103f160623775cb8-1b62919d-436a4041-81bb-d17588afd4cb90f7-115777927901
nameglossary_description
templateDataeJyLjgUAARUAuQ==MultiExcerptName
pageTransaction Amount
addpanelfalse

ALWAYS

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 RegulatoryCoverage,
    d.acquirernetwork"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.transactiontypeclaimid,
    d.claimiddisputeid,
    c.status,
    d.disputeidstatus,
    csd.statedecision,
    CAMEL_CASE_TO_STRING(d.statusdenyreason), AS "DenyReason",
  (CASE  c.customercontactdate,
      WHEN d.status LIKE CONCAT('%','-','%') THEN SUBSTRING(d.status, 1, CHARINDEX('-', d.status)-1   TO_TIMESTAMP_TZ(d.createdatetime::varchar || ' +0000'),
    TO_TIMESTAMP_TZ(d.investigationcompletedatetime::varchar || ' +0000'),
    TO_TIMESTAMP_TZ(d.resolveddatetime::varchar || ' +0000'),
    )(CASE
        ELSEWHEN d.status = 'Resolved-Paid' THEN 'Paid'
  END) as statustype,    WHEN d.decision,
 status = 'Resolved-Denied' THEN 'Denied'
  CAMEL_CASE_TO_STRING(d.denyreason) AS DenyReason,    WHEN d.transactiondate,
    c.customercontactdate,status = 'Resolved-NoPosting' THEN 'Never Posted'
    END)  d.createdatetimeas "Resolution",
    to_dateDATEDIFF(d.investigationcompletedatetime, d.createdatetime, d.resolveddatetime) AS InvestigationDate"ResolutionTimeDays",
    DATEDIFF(d, c.customercontactdate, to_date(d.resolveddatetimeinvestigationcompletedatetime)) AS ResolvedDateCustomerResolutionTimeDays,
    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.statustransactiontype ILIKE= '%resolved%ACH' THEN (SELECT COUNT(*) FROM recoveryaction as r WHERE r.tenantid = d.merchanttotaltenantid * -1
        ELSE 0
    END) AS RecoveredAmount,
    d.losstotal * -1 AS LossAmount,
    (CASE
        WHEN d.status ILIKE '%resolved%' AND d.originaldisputeamount IS NOT NULL THEN d.originaldisputeamount - d.accountholdertotal - MerchantCreditAmount
        WHEN d.status ILIKE '%resolved%' THENAND 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",
 ELSE 0  (CASE
  END) AS DeniedAmount,    WHEN d.isreopened = TRUE THEN TRUE
        ELSE FALSE
    END) AS "Reopened"
FROM dispute AS d
JOIN tenant AS t
    onON d.tenantid = t.tenantid
JOIN claim AS c
    onON d.tenantid = c.tenantid andAND d.claimid = c.claimid
JOIN client AS cl
    onON d.tenantid = cl.tenantid andAND d.clientid = cl.clientid
LEFTWHERE
JOIN claim_state AS cs ON csd.status = c.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