ConTrxTransaction Table

<< Click to Display Table of Contents >>

Navigation:  iVend Database Database > Tables >

ConTrxTransaction Table

Navigation: iVend Database Database > Tables >

hm_btn_navigate_prevhm_btn_navigate_tophm_btn_navigate_next

iVend 6.6 Database Help

ConTrxTransaction Table

Collapse All Expand All

iVend Database Database : ConTrxTransaction Table

Description

Stores the Consolidated Transaction detail values

Properties

Creation Date

4/13/2015 12:00 PM

File Group

PRIMARY

Text File Group

PRIMARY

System Object

dbimages_boolean-false

Published for Replication

dbimages_boolean-false

Rows

0

Data Space Used

0.00 KB

Index Space Used

0.00 KB

Columns

 

Column Name

Description

Datatype

Length

Allow Nulls

Default

Formula

Primary Key

TransactionKey

System generated Primary Key

VarWChar

50

 

 

 

 

StoreKey

Reference Key of Store at which the POS is connected. See also Store

VarWChar

50

dbimages_tick

 

 

 

POSKey

Reference Key of POS at which the transaction is made. See also POS

VarWChar

50

dbimages_tick

 

 

 

UserKey

Reference Key of User who made this transaction. See also User

VarWChar

50

dbimages_tick

 

 

 

ActualDate

The date on which the transaction is done.

DBTimeStamp

4

dbimages_tick

 

 

 

BusinessDate

Business date of the store

DBTimeStamp

4

dbimages_tick

 

 

 

TransactionId

A number is generated according to the Transaction Numbering Settings at RetailProfile

VarWChar

50

dbimages_tick

 

 

 

CustomerRefNumber

Any reference number that needs to be stored against the transaction

VarWChar

50

dbimages_tick

 

 

 

CustomerKey

Reference Key of Customer for which the transaction is made. See also Customer

VarWChar

50

dbimages_tick

 

 

 

ContactKey

Reference Key of Contact. If the customer is the company, then the contact for the company is stored. See also Contact

VarWChar

50

dbimages_tick

 

 

 

DepartmentKey

Reference Key of Department. See also Department

VarWChar

50

dbimages_tick

 

 

 

IsTaxExempt

If the TaxCode is of the exempt type for the transaction, then this flag set to true

Boolean

1

dbimages_tick

 

 

 

HasSignature

For future use

Boolean

1

dbimages_tick

 

 

 

HasTaxCodeOverride

If the tax is overriden at the transaction level, then this flag is true, else false

Boolean

1

dbimages_tick

 

 

 

TaxCodeKey

Reference Key of Tax. See also Tax

VarWChar

50

dbimages_tick

 

 

 

SubTotal

Total of all the line level totals + Line-level surcharges (excluding the line-level taxes)

Numeric

9 (20,5)

dbimages_tick

 

 

 

DiscountType

Discount type applicable.

Integer

4

dbimages_tick

 

 

 

DiscountAmount

Discount in amount given at the transaction level

Numeric

9 (20,5)

dbimages_tick

 

 

 

DiscountPercent

Discount in percentage given at the transaction level

Numeric

9 (20,5)

dbimages_tick

 

 

 

SystemDiscount

System-calculated discount. (the discount applied on PriceLists/Promotion)

Numeric

9 (20,5)

dbimages_tick

 

 

 

TaxableDiscountAmount

For future use

Numeric

9 (20,5)

dbimages_tick

 

 

 

StoreTaxableDiscountAmount

For future use

Numeric

9 (20,5)

dbimages_tick

 

 

 

Tax

Total of all the taxes for the transaction (like line-level taxes, surcharge taxes, layaway taxes)

Numeric

9 (20,5)

dbimages_tick

 

 

 

PostTaxDiscount

For future use

Numeric

9 (20,5)

dbimages_tick

 

 

 

PostTaxDiscountLiability

For future use

Numeric

9 (20,5)

dbimages_tick

 

 

 

PostTaxDiscountStoreLiability

For future use

Numeric

9 (20,5)

dbimages_tick

 

 

 

Total

Subtotal + Sale- level surcharges + Tax - Sale-level discount

Numeric

9 (20,5)

dbimages_tick

 

 

 

AgeVerificationDate

This is the DOB of customer who buys the product (having the check of age verification) in the transaction

DBTimeStamp

4

dbimages_tick

 

 

 

EventKey

Reference Key of Event. See also Event

VarWChar

50

dbimages_tick

 

 

 

CommentKey

Reference Key of Comment. The comment given at the SaleEdit screen. See also Comment

VarWChar

50

dbimages_tick

 

 

 

IsSuspended

Signifies whether the transaction is a suspended transaction or not

Boolean

1

dbimages_tick

 

 

 

HasSurcharges

Flag for checking the surcharges has been given at the transaction, if given this flag will be true

Boolean

1

dbimages_tick

 

 

 

SurchargesTotal

Total of the sale-level surcharges after discount & tax

Numeric

9 (20,5)

dbimages_tick

 

 

 

PayableAmount

The amount which needs to be paid by the customer.

Numeric

9 (20,5)

dbimages_tick

 

 

 

HasManagerOverride

Whether manager override was done during this transaction or not

Boolean

1

dbimages_tick

 

 

 

ManagerKey

Reference Key of Manager in case of manager override. See also Security User

VarWChar

50

dbimages_tick

 

 

 

HasLayaways

Whether any layaway type of item is added to this transaction

Boolean

1

dbimages_tick

 

 

 

HasLayawaysCancellations

Whether any layaway cancellation type of item is added to this transaction

Boolean

1

dbimages_tick

 

 

 

HasSales

Whether any sales type of item is added to this transaction

Boolean

1

dbimages_tick

 

 

 

HasSaleExchanges

Whether any sales exchange type of item is added to this transaction

Boolean

1

dbimages_tick

 

 

 

HasDeliveries

Whether any delivery type of item is added to this transaction

Boolean

1

dbimages_tick

 

 

 

HasRefunds

Whether any refund type of item is added to this transaction

Boolean

1

dbimages_tick

 

 

 

HasOrders

Whether any order type of item is added to this transaction

Boolean

1

dbimages_tick

 

 

 

HasFulFillments

Whether any fulfillment type of item is added to this transaction

Boolean

1

dbimages_tick

 

 

 

HasARPayments

Whether any AR payment type of item is added to this transaction

Boolean

1

dbimages_tick

 

 

 

TillKey

Refers to the till. See also Till

VarWChar

50

dbimages_tick

 

 

 

Created

Date of creation of this record

DBTimeStamp

4

dbimages_tick

 

 

 

CreatedBy

Reference of user who has created this record. See also Security User

VarWChar

50

dbimages_tick

 

 

 

Modified

Date of last modification of this record

DBTimeStamp

4

dbimages_tick

 

 

 

ModifiedBy

Reference of user who has modified this record. See also Security User

VarWChar

50

dbimages_tick

 

 

 

HasQuotations

Whether any quotation item is added to this transaction

Boolean

1

dbimages_tick

 

 

 

QuotationValidityDate

Quotation validity date.

DBTimeStamp

4

dbimages_tick

 

 

 

ActualDiscountPercent

Discount in percentage given at the transaction level

Numeric

9 (20,5)

dbimages_tick

 

 

 

HasGiftCertificates

Whether any Gift certificates type of item is added to this transaction

Boolean

1

dbimages_tick

 

 

 

Comments

 

VarWChar

4000

dbimages_tick

 

 

Indexes

Index

Description

Primary

Unique

PK_ConTrxTransaction

 

dbimages_tick

dbimages_tick

Objects that depend on ConTrxTransaction

 

Database Object

Object Type

Description

Dep Level

Integration_Consolidated_Transaction procedure

Integration_Consolidated_Transaction

Stored Procedure

 

1

Integration_Consolidated_TransactionPayment procedure

Integration_Consolidated_TransactionPayment

Stored Procedure

 

1

Integration_Consolidated_TransactionSurcharge procedure

Integration_Consolidated_TransactionSurcharge

Stored Procedure

 

1

SQL

SET ANSI_NULLS ON

SET QUOTED_IDENTIFIER ON

CREATE TABLE [dbo].[ConTrxTransaction](

[TransactionKey] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,

[StoreKey] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,

[POSKey] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,

[UserKey] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,

[ActualDate] [datetime] NULL,

[BusinessDate] [datetime] NULL,

[TransactionId] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,

[CustomerRefNumber] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,

[CustomerKey] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,

[ContactKey] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,

[DepartmentKey] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,

[IsTaxExempt] [bit] NULL,

[HasSignature] [bit] NULL,

[HasTaxCodeOverride] [bit] NULL,

[TaxCodeKey] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,

[SubTotal] [decimal](20, 5) NULL,

[DiscountType] [int] NULL,

[DiscountAmount] [decimal](20, 5) NULL,

[DiscountPercent] [decimal](20, 5) NULL,

[SystemDiscount] [decimal](20, 5) NULL,

[TaxableDiscountAmount] [decimal](20, 5) NULL,

[StoreTaxableDiscountAmount] [decimal](20, 5) NULL,

[Tax] [decimal](20, 5) NULL,

[PostTaxDiscount] [decimal](20, 5) NULL,

[PostTaxDiscountLiability] [decimal](20, 5) NULL,

[PostTaxDiscountStoreLiability] [decimal](20, 5) NULL,

[Total] [decimal](20, 5) NULL,

[AgeVerificationDate] [datetime] NULL,

[EventKey] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,

[CommentKey] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,

[IsSuspended] [bit] NULL,

[HasSurcharges] [bit] NULL,

[SurchargesTotal] [decimal](20, 5) NULL,

[PayableAmount] [decimal](20, 5) NULL,

[HasManagerOverride] [bit] NULL,

[ManagerKey] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,

[HasLayaways] [bit] NULL,

[HasLayawaysCancellations] [bit] NULL,

[HasSales] [bit] NULL,

[HasSaleExchanges] [bit] NULL,

[HasDeliveries] [bit] NULL,

[HasRefunds] [bit] NULL,

[HasOrders] [bit] NULL,

[HasFulFillments] [bit] NULL,

[HasARPayments] [bit] NULL,

[TillKey] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,

[Created] [datetime] NULL,

[CreatedBy] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,

[Modified] [datetime] NULL,

[ModifiedBy] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,

[HasQuotations] [bit] NULL,

[QuotationValidityDate] [datetime] NULL,

[ActualDiscountPercent] [decimal](20, 5) NULL,

[HasGiftCertificates] [bit] NULL,

[Comments] [nvarchar](4000) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,

CONSTRAINT [PK_ConTrxTransaction] PRIMARY KEY CLUSTERED

(

[TransactionKey] ASC

)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]

) ON [PRIMARY]

See Also

Related Objects

iVend Database Database

 

 


© 2019 All Rights Reserved.

Send comments on this topic.