<< Click to Display Table of Contents >> Navigation: iVend Database Database > Tables > TilCountDetail Table |
Navigation: iVend Database Database > Tables >
iVend 6.6 Database Help
TilCountDetail Table
Collapse All Expand All
iVend Database Database : TilCountDetail Table |
Description
Defines the amount details aasociated with the till for each payment type.
Properties
Creation Date |
4/13/2015 12:00 PM |
File Group |
PRIMARY |
Text File Group |
PRIMARY |
System Object |
|
Published for Replication |
|
Rows |
0 |
Data Space Used |
0.00 KB |
Index Space Used |
0.00 KB |
Columns
|
Column Name |
Description |
Datatype |
Length |
Allow Nulls |
Default |
Formula |
TillCountDetailKey |
Primary Key |
VarWChar |
50 |
|
|
|
|
|
TillCountKey |
Reference Key of Till Count. See also Till Count |
VarWChar |
50 |
|
|
|
|
PaymentTypeKey |
Reference Key of Payment Type |
VarWChar |
50 |
|
|
|
|
OpeningAmount |
Opening amount for the last till count for each payment type |
Numeric |
9 (20,5) |
|
|
|
|
CountedAmount |
System amt for the last till count for each payment type |
Numeric |
9 (20,5) |
|
|
|
|
SystemAmount |
Actual amt for the last till count for each payment type |
Numeric |
9 (20,5) |
|
|
|
|
VarianceAmount |
The variance between the System amt & Counted amt for each payment type |
Numeric |
9 (20,5) |
|
|
|
|
DocumentCount |
Document Count for each payment type |
Integer |
4 |
|
|
|
|
ReasonKey |
Reference key of Reason. See also Reason Codes |
VarWChar |
50 |
|
|
|
|
CommentKey |
Reference key of Comment. See also Comments |
VarWChar |
50 |
|
|
|
|
Comments |
Stores comments. |
VarWChar |
4000 |
|
|
Indexes
Index |
Description |
Primary |
Unique |
|
|
|
|
|
SQL
SET ANSI_NULLS ON SET QUOTED_IDENTIFIER ON CREATE TABLE [dbo].[TilCountDetail]( [TillCountDetailKey] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL, [TillCountKey] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL, [PaymentTypeKey] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL, [OpeningAmount] [decimal](20, 5) NOT NULL, [CountedAmount] [decimal](20, 5) NOT NULL, [SystemAmount] [decimal](20, 5) NOT NULL, [VarianceAmount] [decimal](20, 5) NOT NULL, [DocumentCount] [int] NOT NULL, [ReasonKey] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL, [CommentKey] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [Comments] [nvarchar](4000) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, CONSTRAINT [PK_FinTillCountDetail] PRIMARY KEY CLUSTERED ( [TillCountDetailKey] 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
© 2019 All Rights Reserved.
Send comments on this topic.