Skip to main content

Invoice donations fact table columns

bi_factinvoicedonations

Field

Field Type

Description

PrimaryKey

MappedDimensionTable

DimensionTableField

factinvoicedonationswid 

BIGINT

Unique identifier for the record. Primary key

yes

FactDonationID 

NUMERIC(19,0)

Unique identifier for the donation

bi_dimdonations

donationid

PaymentCenterwid

BIGINT

Unique identifier for the center where payment is received

Bi_DimCenter

centerwid

Userwid

BIGINT

unique identifier for the guest who made the donation

Bi_DimUser

userwid

InvoiceId

VARCHAR(36)

Unique identifier for the invoice generated. Unique within organization

InvoiceItemId

VARCHAR(36)

unique identifier for individual line item within invoice

TransactionId

VARCHAR(36)

A unique non-blank identifier for each transaction.

For example, if an invoice is paid by using two swipes of a credit card, then two unique transaction IDs get associated with the invoice.

There is an exception in case of group invoices. Even if they are paid through a single transaction, the 'transaction ID' is different against each of the group invoices.

Donationwid

BIGINT

Unique identifier for a donation type. Unique for a center

bi_dimdonations

donationwid

DonationAmount

DECIMAL(19,4)

Amount donated

void

BOOLEAN

indicates if the row is void or not. 1- void, 0- not void

PaymentModeNumber

VARCHAR(200)

Indicates the payment mode used to make transaction

orgpaymentoptionwid

BIGINT

A unique identifier for Payment type option used for the payment(bi_dimorgpaymentoption).

Bi_DimOrgPaymentOption

paymentoptiontype

PaymentDate

TIMESTAMP

Date on which payment is made

OrganizationId

varchar(36)

A unique identifier for the organition for which this data belongs

Bi_DimCenter

Organizationid

etlcreatedby

NUMERIC(19,0)

ETL system admin user who inserted or updated the corresponding record in this table.

etlcreateddate

TIMESTAMP

Latest timestamp at which the corresponding record was either inserted or updated in this table.

podname

VARCHAR(20)

Internal to the ETL, says from which POD data is being synced the table

groupid

Internal to Zenoti. Used for data processing.

BIGINT

InvoiceNo

VARCHAR(160)

Invoice number that helps in identifying and tracking the invoice.

EnglishEspañolEspañol (América Latina)FrançaisFrançais (Canada)
Powered by Localize
Localize