Versions Compared

Key

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

Name

Claims

Type

View

Description

The Claims view provides most of the same data information as the Claim table, though more consolidated, as well as additional columns that are useful in the context of claims, such as dispute count, dispute amount, recovered amount, etc.

...

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

DefaultKey

Claim Details

ClaimIdClaimType

VARCHAR(3264)

Multiexcerpt include
MultiExcerptNameglossary_description
PageWithExcerptClaim IDType
shouldDisplayInlineCommentsInIncludesfalse

ALWAYSCONDITIONAL

2306060014C

Key

ClaimTypeCard-Pinless

Claim Details

ClaimCategory

VARCHAR(64)

Multiexcerpt include
MultiExcerptNameglossary_description
PageWithExcerptClaim TypeCategory
shouldDisplayInlineCommentsInIncludesfalse

CONDITIONAL

Card-PinlessFraud

Account Claim Details

CustomerIdClaimReason

VARCHAR(64)

Multiexcerpt include
MultiExcerptNameglossary_description
PageWithExcerptcustomer idClaim Reason
shouldDisplayInlineCommentsInIncludesfalse

CONDITIONAL

123456Stolen

Account Compliance Details

IsEmployeeClaim

BOOLEAN

RegulatoryCoverage

VARCHAR

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

CONDITIONALfalse

Reg E

Account Claim Details

AccountNumberClaimChannel

VARCHAR(6432)

Multiexcerpt include
macro_uuid5685cd1e-99c2-40db-9a77-74d274228986
templateDataeJyLjgUAARUAuQ==
MultiExcerptNameglossary_description
PageWithExcerptAccount ID
shouldDisplayInlineCommentsInIncludesaddpanelfalse
CONDITIONAL
PageWithExcerpt
0000123456
Claim Channel

Account DetailsALWAYS

IsEnrolledInAutopayOnline Banking

BOOLEANKey

CONDITIONAL

TRUE

Account Details

NextPaymentDate

DATE

CONDITIONAL

2023-09-09

Account Details

StatementCycleDate

DATE

CONDITIONAL

2023-09-09

Account Details

AccountOpenDateClaimId

VARCHAR(32)

Multiexcerpt include
MultiExcerptNameglossary_description
PageWithExcerptClaim ID
shouldDisplayInlineCommentsInIncludesfalse

ALWAYS

2306060014C

Claim Details

CreateDate

DATE

Multiexcerpt include
Account Open Date
macro_uuid8539b45145c8dff0-d921944f-460e4e53-8dd18ee3-53050f3060a7
nameglossary_description
da245af4a176
templateDataeJyLjgUAARUAuQ==page
MultiExcerptNameglossary_description
addpanelfalse
PageWithExcerptCREATEDATETIME

CONDITIONAL

2023-09-09

Available in 24.01.03.

Account Claim Details

AccountType

VARCHAR(32)CustomerContactDate

DATE

Card Details

CardBIN

VARCHAR(8

Multiexcerpt include
Account Open Date
macro_uuid8539b451d99ef6b8-d921ca27-460e4139-8dd1-53050f3060a7nameglossary_description8c27-79c2824a1215
templateDataeJyLjgUAARUAuQ==page
MultiExcerptNameglossary_description
addpanelfalse

CONDITIONAL

“Deposit”, “Credit Card”

Available in 24.01.03.

Card Details

CardType

VARCHAR(16)

CONDITIONAL

Debit

PageWithExcerptCustomer Contact Date

CONDITIONAL

2023-09-09

Claim Details

ClaimAmount

NUMBER(20,2)

Multiexcerpt include
macro_uuid261deb9e-b155-44f1-9f3e-b8d10e211bcd
MultiExcerptNameglossary_description
PageWithExcerptBINClaim Amount
shouldDisplayInlineCommentsInIncludesfalse

CONDITIONAL

412356, 41235678

Card Details

CardNumberLast4

VARCHAR(4)

Last 4 digits of the Card Number.

CONDITIONAL

5555

123.45

Claim Details

ReasonTypeClaimState

VARCHAR(64)

Multiexcerpt include
macro_uuid261deb9e-b155-44f1-9f3e-b8d10e211bcd
templateDataeJyLjgUAARUAuQ==
MultiExcerptNameglossary_description
addpanelfalse
PageWithExcerptClaim CategoryStatus Type
shouldDisplayInlineCommentsInIncludesfalse

CONDITIONAL

FraudALWAYS

OPEN

Claim Details

ReasonClaimStatus

VARCHAR(64)

Multiexcerpt include
MultiExcerptNameglossary_description
PageWithExcerptClaim ReasonStatus Work
shouldDisplayInlineCommentsInIncludesfalse

CONDITIONALALWAYSStolen

RESOLVED-PAID

Claim Card Details

ChannelOriginBIN

VARCHAR(32)

ALWAYS

Online Banking

Claim Details

ClaimAmount

NUMBER(20,28)

Multiexcerpt include
MultiExcerptNameglossary_description
PageWithExcerptClaim AmountBIN
shouldDisplayInlineCommentsInIncludesfalse

CONDITIONAL

123.45

Claim 412356, 41235678

Card Details

TotalClaimAmountCardType

NUMBERVARCHAR(20,216)

Multiexcerpt include
macro_uuid97e89f13-1c2e-41c7-925f-3c97f32515db
MultiExcerptNameglossary_description
PageWithExcerptTotal Claim AmountBIN
shouldDisplayInlineCommentsInIncludesfalse

CONDITIONAL

123.45Debit

Claim Details

CustomerContactDate

DATEDecision

VARCHAR(64)

Multiexcerpt include
MultiExcerptNameglossary_description
PageWithExcerptContact DateClaim Decision
shouldDisplayInlineCommentsInIncludesfalse

CONDITIONAL2023-09-09

Paid, Denied

Claim Details

CustomerDiscoveryDateDiscoveryDate

DATE

Multiexcerpt include
MultiExcerptNameglossary_description
PageWithExcerptCustomer Discovery Date
shouldDisplayInlineCommentsInIncludesfalse

CONDITIONAL

2023-09-09

Claim Details

IsPotentialAbuse

BOOLEANInvestigationCompleteDateTime

TIMESTAMP_NTZ(9)

Multiexcerpt include
MultiExcerptNameglossary_description
PageWithExcerptPotential AbuseInvestigation Completed Date
shouldDisplayInlineCommentsInIncludesfalse

CONDITIONAL

FALSE

Claim 2023-09-09 21:00:00

Compliance Details

StatusInvestigationDate

VARCHARTIMESTAMP_NTZ(649)

Multiexcerpt include
MultiExcerptNameglossary_description
PageWithExcerptStatus WorkInvestigation Completed Date
shouldDisplayInlineCommentsInIncludesfalse

ALWAYSCONDITIONAL

RESOLVED-PAID

Claim Details

ProvisionalCreditDateTime2023-09-09 21:00:00

Compliance Details

ResolutionDeadline

TIMESTAMP_NTZ(9)

Multiexcerpt include
macro_uuid7ed218f1-494b-472c-8051-82d520c4434a
MultiExcerptNameglossary_description
PageWithExcerptPROVISIONALCREDITDATETIMEInvestigation Completed Date
shouldDisplayInlineCommentsInIncludesfalse

CONDITIONAL

2023-09-09 21:00:00

Claim Details

PCDecisionResolvedDate

VARCHARTIMESTAMP_NTZ(169)

CONDITIONAL

Grant

Claim Details

Decision

VARCHAR(64)

Multiexcerpt include
MultiExcerptNameglossary_description
PageWithExcerptClaim DecisionResolution Date
shouldDisplayInlineCommentsInIncludesfalse

CONDITIONAL

Paid, Denied

Claim Details

HasIdentifiedSuspect2023-09-09 21:00:00

Risk Details

PotentialAbuse

BOOLEAN

db9d0b0b-3d45-4a33-9637-e2c1a4e0c2df
Multiexcerpt include
macro_uuid
MultiExcerptNameglossary_description
PageWithExcerptResolution DatePotential Abuse
shouldDisplayInlineCommentsInIncludesfalse

ALWAYSCONDITIONAL

TRUE, FALSE

Available in 24.01.03.

Claim Risk Details

PCDecisionFromIIDPreSubmission

VARCHAR(16)EmployeeClaim

BOOLEAN

Multiexcerpt include
macro_uuiddb9d0b0b91afd1e2-3d45a292-4a334a59-9637-e2c1a4e0c2dftemplateDataeJyLjgUAARUAuQ==a8a4-669839e9b53a
MultiExcerptNameglossary_description
addpanelPageWithExcerptfalsePotential Abuse
PageWithExcerptPC Decision From IID PreSubmission

ALWAYS

AutoPay, Review

Available in 24.01.03.

shouldDisplayInlineCommentsInIncludesfalse

CONDITIONAL

false

Claim Details

PCDecisionReasonPCDecision

VARCHAR(25516)

Multiexcerpt include
macro_uuiddb9d0b0b91afd1e2-3d45a292-4a334a59-9637a8a4-e2c1a4e0c2df669839e9b53a
templateDataeJyLjgUAARUAuQ==
MultiExcerptNameglossary_description
addpanelfalse
PageWithExcerptPC Decision Reason

CONDITIONAL

Available in 24.01.03.Grant

Claim Details

ResolvedDateTimePCDate

TIMESTAMP_NTZ(9)

Multiexcerpt include
MultiExcerptNameglossary_description
PageWithExcerptResolution DatePROVISIONALCREDITDATETIME
shouldDisplayInlineCommentsInIncludesfalse

CONDITIONAL

2023-09-09 21:00:00

Claim Details

InvestigationCompleteDateTime

TIMESTAMP_NTZ(9)

Multiexcerpt include
MultiExcerptNameglossary_description
PageWithExcerptInvestigation Completed Date
shouldDisplayInlineCommentsInIncludesfalse

CONDITIONAL

2023-09-09 21:00:00

Claim Details

ReclassificationCount

Reclassifications

NUMBER(3,0)

Multiexcerpt include
MultiExcerptNameglossary_description
PageWithExcerptReclassification Count
shouldDisplayInlineCommentsInIncludesfalse

CONDITIONAL

1

Claim Details

RequiredDocumentCountRequiredDocuments

NUMBER(3,0)

Multiexcerpt include
MultiExcerptNameglossary_description
PageWithExcerptRequired Document Count
shouldDisplayInlineCommentsInIncludesfalse

CONDITIONAL

1

Claim DetailsMetadata

TimeZoneCreatedBy

VARCHAR(4864)

ALWAYS

America/Los_Angeles

Claim Details

WasPCManuallyWithheld

BOOLEAN

Multiexcerpt include
macro_uuid110346a1-c1f8-45bd-bf93-efc782936b02
MultiExcerptNameglossary_description
PageWithExcerptReclassification Count
shouldDisplayInlineCommentsInIncludesfalse

ALWAYS

TRUE, FALSEThe username of the user that created the claim.

CONDITIONAL

devan.robertson@quavo.com

Available in 24.01.03.

Compliance Dispute Details

RegE10DateTimeDisputeCount

TIMESTAMP_NTZ(9)

Multiexcerpt include
MultiExcerptNameglossary_description
PageWithExcerptReg E 10 DateTime
shouldDisplayInlineCommentsInIncludesfalse

CONDITIONAL

2023-09-09 21:00:00

Compliance Details

PCDocRequirementSatisifedDateTime

TIMESTAMP_NTZ(9NUMBER(3,0)

Compliance Details

RegE10ThresholdDateTime

TIMESTAMP_NTZ(9)

CONDITIONAL

2023-09-09 21:00:00

Compliance Details

RegE45DateTime

TIMESTAMP_NTZ(9

Multiexcerpt include
macro_uuid69e181af6e32305a-8ebb3507-4e9648ee-b6b2-96aebc3aa1e59aa3-09af5eaba4e5
templateDataeJyLjgUAARUAuQ==
MultiExcerptNameglossary_description
PageWithExcerptReg E 10 DateTime
shouldDisplayInlineCommentsInIncludesaddpanelfalse

CONDITIONAL

2023-09-09 21:00:00

Available in 24.01.03.

PageWithExcerptDispute Count

CONDITIONAL

2

Dispute Details

DisputeAmount

NUMBER(20,2)

Multiexcerpt include

Compliance Details

RegEThresholdDateTime

TIMESTAMP_NTZ(9)

CONDITIONAL

2023-09-09 21:00:00

Compliance Details

RegZ30DateTime

TIMESTAMP_NTZ(9)

Multiexcerpt include
glossarydescription
MultiExcerptNamemacro_
PageWithExcerptReg E DateTime
shouldDisplayInlineCommentsInIncludesfalse

CONDITIONAL

2023-09-09 21:00:00

Compliance Details

RegE90DateTime

TIMESTAMP_NTZ(9)

CONDITIONAL

2023-09-09 21:00:00

Compliance Details

RegZ90DateTime

TIMESTAMP_NTZ(9)

Multiexcerpt include
uuid103f1606-1b62-436a-81bb-d17588afd4cb
templateDataeJyLjgUAARUAuQ==
MultiExcerptNameglossary_description
PageWithExcerptReg Z 30 DateTime
shouldDisplayInlineCommentsInIncludesfalse

CONDITIONAL

2023-09-09 21:00:00

Compliance Details

RegZ30ThresholdDateTime

TIMESTAMP_NTZ(9)

CONDITIONAL

2023-09-09 21:00:00

MultiExcerptNameaddpanelfalse
PageWithExcerptDispute Amount

CONDITIONAL

123.59

Dispute Details

MerchantCreditAmount

NUMBER(20,2)

TIMESTAMP_NTZ(9

Multiexcerpt include macro
macro_uuid27d56e9c-828f-40d8-8c30-5ae5841cecd6
nameglossary_description
PageWithExcerptReg Z DateTime
shouldDisplayInlineCommentsInIncludesfalse

CONDITIONAL

2023-09-09 21:00:00

Compliance Details

RegZ90ThresholdDateTime

TIMESTAMP_NTZ(9)

CONDITIONAL

2023-09-09 21:00:00

Compliance Details

RegZPCThresholdDateTime

templateDataeJyLjgUAARUAuQ==
pageMerchant Credit Balance
addpanelfalse

CONDITIONAL

123.59

Dispute Details

RecoveredAmount

NUMBER(20,2)

Multiexcerpt include
glossary_description
macro_uuid8205c5795835dccc-7f38cf95-45074910-b8b9-68628f59264f9bc2-9c45ad829860
nameglossary_description
templateDataeJyLjgUAARUAuQ==MultiExcerptName
pageRecovered Amount
addpanelfalsePageWithExcerptReg Z Withholding Threshold Date

CONDITIONAL

2023-09-09 21:00:00

Available in 24.01.03.

Compliance Details

RegZPCDateTime

TIMESTAMP_NTZ(9123.59

Dispute Details

LossAmount

NUMBER(20,2)

Multiexcerpt include
glossary_description
macro_uuid8205c579bec857fa-7f38cc36-45074255-b8b9-68628f59264fa95d-491416e54f60
nameglossary_description
templateDataeJyLjgUAARUAuQ==MultiExcerptName
pageLoss Balance
addpanelfalse
PageWithExcerptReg Z Withholding Date

CONDITIONAL

2023-09-09 21:00:00

Available in 24.01.03.

Compliance Details

IsFCRA

BOOLEAN

Indicates whether the FCRA Override was applied to the claim.

CONDITIONAL

FALSE

Metadata

CreatedbyUserId

VARCHAR(64)

The username of the user that created the claim.

CONDITIONAL

devan.robertson@quavo.com

Available in 24.01.03.

Metadata

SaveDateTime

TIMESTAMP_NTZ(9)

ALWAYS

2023-09-09 21:00:00

Metadata

CreateDateTime

TIMESTAMP_NTZ(9)

Multiexcerpt include
MultiExcerptNameglossary_description
PageWithExcerptCREATEDATETIME
shouldDisplayInlineCommentsInIncludesfalse

ALWAYS

2023-09-09 21:00:00CONDITIONAL

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
    c.tenantid,
    t.name,
    c.clientid,
    cl.legalname,
    c.claimtype,
    c.reasontype,
    c.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,
    c.channelorigin,
    c.claimid,
    TO_TIMESTAMP_TZ(c.createdatetime::varchar || ' +0000'),
    c.customercontactdate,
    c.totalclaimamount,
    cs.state,
    c.status,
    c.cardbin,
    c.cardtype,
    c.decision,
    c.customerdiscoverydate,
    TO_TIMESTAMP_TZ(c.investigationcompletedatetime::varchar || ' +0000'),
    (CASE
        WHEN regethresholddatetime IS NOT NULL THEN regethresholddatetime
        ELSE regz90thresholddatetime
    END) AS ResolutionDeadline,
    TO_TIMESTAMP_TZ(c.resolveddatetime::varchar || ' +0000'),
    c.ispotentialabuse,
    c.isemployeeclaim,
    c.pcdecision,
    TO_TIMESTAMP_TZ(c.provisionalcreditdatetime::varchar || ' +0000'),
    c.reclassificationcount,
    c.requireddocumentcount,
    (CASE
        WHEN c.createdbyuserid= 'System' or c.createdbyuserid is NULL THEN 'System'  -- QPS-9986
        ELSE CONCAT(LEFT(u.firstname, 1), '. ', u.lastname)
    END) AS CreatedBy,
    (SELECT COUNT(*) FROM dispute AS d WHERE d.tenantid = c.tenantid AND d.claimid = c.claimid AND d.status != 'Resolved-PostedDisputeCreated') AS DisputeCount,
    (SELECT SUM(d.disputeamount) FROM dispute AS d WHERE d.tenantid = c.tenantid AND d.claimid = c.claimid AND d.status != 'Resolved-PostedDisputeCreated') AS DisputeAmount,
    IFNULL((SELECT SUM(mc.appliedamount) FROM merchantcredit AS mc WHERE mc.tenantid = c.tenantid AND mc.claimid = c.claimid), 0) AS MerchantCreditAmount,
    IFNULL((SELECT SUM(d.merchanttotal) FROM dispute AS d WHERE d.tenantid = c.tenantid AND d.claimid = c.claimid AND (d.status = 'Resolved-Paid' OR d.status = 'Resolved-Denied')), 0) * -1 AS RecoveredAmount,
    IFNULL((SELECT SUM(d.losstotal) FROM dispute AS d WHERE d.tenantid = c.tenantid AND d.claimid = c.claimid), 0) * -1 AS LossAmount,
    to_date(t.golivedatetime) as TenantProductionDate
FROM claim AS c
JOIN tenant AS t ON c.tenantid = t.tenantid
JOIN client AS cl ON c.tenantid = cl.tenantid AND c.clientid = cl.clientid
LEFT JOIN claim_state AS cs ON cs.status = c.status
LEFT JOIN userprofile as u ON u.tenantid = c.tenantid AND u.userid = c.createdbyuserid
ORDER BY
    c.createdatetime DESC

Change Log

Date

Change Summary

11/26/2024

Added SQL

12/11/2024

Converted timestamps from NTZ to TZ format for compatibility