TilSession Table

<< Click to Display Table of Contents >>

Navigation:  iVend Database Database > Tables >

TilSession Table

Navigation: iVend Database Database > Tables >

hm_btn_navigate_prevhm_btn_navigate_tophm_btn_navigate_next

iVend 6.6 Database Help

TilSession Table

Collapse All Expand All

iVend Database Database : TilSession Table

Description

Defines all the till sessions from the time a till is assigned to a POS till the time it is finalized.

Properties

Creation Date

4/13/2015 12:00 PM

File Group

PRIMARY

Text File Group

 

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

TillSessionKey

Primary Key

VarWChar

50

 

 

 

 

TillKey

Refers to the till key. See also Till

VarWChar

50

 

 

 

 

StoreKey

Refers to the store key. See also Store

VarWChar

50

 

 

 

 

POSKey

Refers to the POS key. See also POS

VarWChar

50

 

 

 

 

UserKey

Refers to the user key. See also User.

VarWChar

50

 

 

 

 

BusinessDate

Refers to the businedd date of the system

DBTimeStamp

4

 

 

 

 

StartDate

Refers to the start date of the session.

DBTimeStamp

4

 

 

 

 

EndDate

Refers to the end date of the session.

DBTimeStamp

4

dbimages_tick

 

 

 

Status

Refers to the till session status (Open,Close)

Integer

4

 

 

 

 

StartingAmount

The starting amount of the till

Numeric

9 (20,5)

 

 

 

 

TransactionAmount

The total transaction amount of the till

Numeric

9 (20,5)

 

 

 

 

SystemClosingAmount

The system closing amount of the till

Numeric

9 (20,5)

 

 

 

 

ClosingAmount

The closing amount of the till

Numeric

9 (20,5)

 

 

 

 

Created

Date of creation of this record

DBTimeStamp

4

 

 

 

 

Modified

Date of last modification of this record

DBTimeStamp

4

 

 

 

 

CreatedBy

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

VarWChar

50

 

 

 

 

ModifiedBy

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

VarWChar

50

 

 

 

 

CashDrawerId

Refers to the cash drawer Id.

Integer

4

 

 

 

Indexes

Index

Description

Primary

Unique

IX_TilSession

 

 

 

PK_FinTillSession

 

dbimages_tick

dbimages_tick

Objects that depend on TilSession

 

Database Object

Object Type

Description

Dep Level

AssignTill procedure

AssignTill

Stored Procedure

Assigns a Till to the selected POS

1

CreateTillCount procedure

CreateTillCount

Stored Procedure

 

1

RemoveTill procedure

RemoveTill

Stored Procedure

Removes a Till from the selected POS

1

TrxCompleteTransactionUpdates procedure

TrxCompleteTransactionUpdates

Stored Procedure

 

1

UpdateTillAfterPaymentInsert procedure

UpdateTillAfterPaymentInsert

Stored Procedure

Handles updates to Till once payment against a particular payment type has been taken

1

UpdateTillAmounts procedure

UpdateTillAmounts

Stored Procedure

Handles updates to Till once payment against a transaction has been taken

1

UseDrawer procedure

UseDrawer

Stored Procedure

Creates a valid Till User session depending on the Cash drawer selected by the user

1

uspTapeReport procedure

uspTapeReport

Stored Procedure

 

1

ZTapeReport procedure

ZTapeReport

Stored Procedure

 

1

SQL

SET ANSI_NULLS ON

SET QUOTED_IDENTIFIER ON

CREATE TABLE [dbo].[TilSession](

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

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

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

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

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

[BusinessDate] [datetime] NOT NULL,

[StartDate] [datetime] NOT NULL,

[EndDate] [datetime] NULL,

[Status] [int] NOT NULL,

[StartingAmount] [decimal](20, 5) NOT NULL,

[TransactionAmount] [decimal](20, 5) NOT NULL,

[SystemClosingAmount] [decimal](20, 5) NOT NULL,

[ClosingAmount] [decimal](20, 5) NOT NULL,

[Created] [datetime] NOT NULL,

[Modified] [datetime] NOT NULL,

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

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

[CashDrawerId] [int] NOT NULL,

CONSTRAINT [PK_FinTillSession] PRIMARY KEY CLUSTERED

(

[TillSessionKey] 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.