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

Claim Details

ClaimChannel

VARCHAR(32)

The Claim Channel defines the intake channel where the claim originated. This channel can include various avenues such as online banking, back office users, contact centers, or external 3rd party contact centers. 

ALWAYS

Back Office, Contact Center, Online Banking

Key

ClaimId

VARCHAR(32)

Multiexcerpt include
MultiExcerptNameglossary_description
PageWithExcerptClaim ID
shouldDisplayInlineCommentsInIncludesfalse

ALWAYS

2306060014C

Claim Details

ClaimStatus

VARCHAR(64)

Multiexcerpt include
MultiExcerptNameglossary_description
PageWithExcerptStatus Work
shouldDisplayInlineCommentsInIncludesfalse

ALWAYS

RESOLVED-PAID

Key

DisputeId

VARCHAR(32)

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

ALWAYS

2306060014D

Dispute Details

DisputeStatus

VARCHAR(64)

Multiexcerpt include
MultiExcerptNameglossary_description
PageWithExcerptStatus Work
shouldDisplayInlineCommentsInIncludesfalse

ALWAYS

RESOLVED-PAID

Correspondence Details

Direction

VARCHAR

Multiexcerpt include macro
macro_uuidbc19f4bf-d9b8-4b9c-af6d-a293dc0f3357
nameglossary_description
templateDataeJyLjgUAARUAuQ==
pageINBOUNDOUTBOUND
addpanelfalse

ALWAYS

Inbound, Outbound

Correspondence Details

Channel

VARCHAR(64)

Multiexcerpt include
MultiExcerptNameglossary_description
PageWithExcerptChannel
shouldDisplayInlineCommentsInIncludesfalse

ALWAYS

Email, Mail, Verbal

Correspondence Details

Type

VARCHAR(32)

Multiexcerpt include
macro_uuidea82507a-b5a9-43df-8084-d9bebbf0ccc8
MultiExcerptNameglossary_description
PageWithExcerptLetter Type
shouldDisplayInlineCommentsInIncludesfalse

CONDITIONAL

Confirmation, Denied, Paid, Provisional Credit, Other

Correspondence Details

Name

VARCHAR(128)

Multiexcerpt include
macro_uuid81b1706d-a006-4eb8-9ab7-cc2e8fbe41bf
MultiExcerptNameglossary_description
PageWithExcerptPurpose
shouldDisplayInlineCommentsInIncludesfalse

ALWAYS

Provisional Credit

Correspondence Details

Vendor

VARCHAR(32)

Multiexcerpt include
macro_uuide1d16ba0-5fbc-4c31-8560-bf40c2330ff1
templateDataeJyLjgUAARUAuQ==
MultiExcerptNameglossary_description
addpanelfalse
PageWithExcerptPrint Vendor

CONDITIONAL

Lob

Correspondence Details

PageCount

NUMBER(38,0)

Multiexcerpt include
macro_uuid94989f89-c64b-4e4d-a449-a64341c26b10
templateDataeJyLjgUAARUAuQ==
MultiExcerptNameglossary_description
addpanelfalse
PageWithExcerptPage Count

CONDITIONAL

2

Correspondence Details

IsDoubleSided

BOOLEAN

Multiexcerpt include
macro_uuidea82507a-b5a9-43df-8084-d9bebbf0ccc8
templateDataeJyLjgUAARUAuQ==
MultiExcerptNameglossary_description
addpanelfalse
PageWithExcerptDouble Sided

CONDITIONAL

TRUE, FALSE

Correspondence Details

IsReturnMailRequested

BOOLEAN

Multiexcerpt include
macro_uuid94989f89-c64b-4e4d-a449-a64341c26b10
templateDataeJyLjgUAARUAuQ==
MultiExcerptNameglossary_description
addpanelfalse
PageWithExcerptReturn Mail Requested

CONDITIONAL

TRUE, FALSE

Correspondence Details

IsColor

BOOLEAN

Multiexcerpt include
macro_uuidea82507a-b5a9-43df-8084-d9bebbf0ccc8
templateDataeJyLjgUAARUAuQ==
MultiExcerptNameglossary_description
addpanelfalse
PageWithExcerptColor

CONDITIONAL

TRUE, FALSE

Correspondence Details

Status

VARCHAR(64)

Multiexcerpt include
MultiExcerptNameglossary_description
PageWithExcerptTransmission Status
shouldDisplayInlineCommentsInIncludesfalse

ALWAYS

In Transit

Metadata

CreateDateTime

TIMESTAMP_NTZ(9)

Multiexcerpt include
MultiExcerptNameglossary_description
PageWithExcerptCREATEDATETIME
shouldDisplayInlineCommentsInIncludesfalse

ALWAYS

2023-09-09 21:00:00

Correspondence Details

MailedDateTime

TIMESTAMP_NTZ(9)

Multiexcerpt include
MultiExcerptNameglossary_description
PageWithExcerptMailed DateTime
shouldDisplayInlineCommentsInIncludesfalse

CONDITIONAL

2023-09-09 21:00:00

Metadata

DaysToSend

NUMBER

Multiexcerpt include macro
macro_uuid7bbeb05b-5d8b-4d20-88b2-ba2ad19e7b44
nameglossary_description
templateDataeJyLjgUAARUAuQ==
pageDays to Send
addpanelfalse

CONDITIONAL

2

Metadata

BusinessDaysToSend

NUMBER

Multiexcerpt include macro
macro_uuidcae40921-45e5-4f7a-9951-da0ea5bd6dd8
nameglossary_description
templateDataeJyLjgUAARUAuQ==
pageBusiness Days to Send
addpanelfalse

CONDITIONAL

2

Correspondence Details

Method

VARCHAR(32)

Multiexcerpt include
macro_uuid10c32108-41ea-471c-8f59-9ae31fcb710e
MultiExcerptNameglossary_description
PageWithExcerptExecution Method
shouldDisplayInlineCommentsInIncludesfalse

CONDITIONAL

AUTO

Correspondence Details

Source

VARCHAR(32)

Multiexcerpt include
macro_uuidf46723ae-2eb3-42a8-b3b3-381b5aca5db6
MultiExcerptNameglossary_description
PageWithExcerptLetter Source
shouldDisplayInlineCommentsInIncludesfalse

ALWAYS

Workflow

Correspondence Details

Resend

BOOLEAN

Multiexcerpt include
macro_uuid94989f89-c64b-4e4d-a449-a64341c26b10
MultiExcerptNameglossary_description
PageWithExcerptIs Resend
shouldDisplayInlineCommentsInIncludesfalse

CONDITIONAL

TRUE, FALSE

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,
    tenant.name,
    c.clientid,
    client.commonname,
    claim.claimtype,
    claim.reasontype,
    claim.reason,
    (CASE
        WHEN claim.rege45datetime IS NOT NULL THEN 'Reg E'
        WHEN claim.rege90datetime IS NOT NULL THEN 'Reg E'
        WHEN claim.regz90datetime IS NOT NULL THEN 'Reg Z'
        WHEN claim.isfcra = TRUE THEN 'FCRA'
        ELSE 'No Coverage'
    END) AS RegulatoryCoverage,
    claim.channelorigin,
    claim.claimid,
    claim.status,
    c.disputeid,
    dispute.status,
    c.inboundoutbound,
    CAMEL_CASE_TO_STRING(c.channel),
    (CASE
        WHEN c.lettertype IS NULL THEN 'Other'
        ELSE c.lettertype
    END) AS Type,
    c.purpose,
    c.runtimevendor,
    c.pagecount,
    c.isdoublesided,
    c.isreturnmailrequested,
    c.iscolor,
    c.transmissionstatus,
    TO_TIMESTAMP_TZ(c.transmissionstatusdatetime::varchar || ' +0000'),
    TO_TIMESTAMP_TZ(c.createdatetime::varchar || ' +0000'),
    TO_TIMESTAMP_TZ(c.maileddatetime::varchar || ' +0000'),
    (CASE
        WHEN c.createdatetime IS NOT NULL AND c.maileddatetime IS NOT NULL THEN datediff(d, c.createdatetime, c.maileddatetime)
    END) AS DaysToSend,
    (CASE
        WHEN c.createdatetime IS NOT NULL AND c.maileddatetime IS NOT NULL THEN calculate_business_days_udf(c.createdatetime, c.maileddatetime)
    END) AS BusinessDaysToSend,    
    c.executionmethod,
    c.lettersource,
    c.isresend,
    c.correspondenceid
FROM
    correspondence AS c
JOIN tenant AS tenant
    ON tenant.tenantid = c.tenantid
JOIN claim AS claim
    ON claim.tenantid = c.tenantid AND claim.claimid = c.claimid
LEFT JOIN
    dispute AS dispute ON dispute.tenantid = c.tenantid AND dispute.disputeid = c.disputeid
JOIN client AS client
    ON client.tenantid = c.tenantid AND client.clientid = c.clientid
WHERE
    c.channel IS NOT NULL AND c.channel != 'Verbal'

Change Log

Date

Change Summary

12/11/24

  • Added SQL

  • Converted timestamps from NTZ to TZ format for compatibility