|
<< Click to Display Table of Contents >> Navigation: iVend Database Database > Tables > TilCountDenomination Table |
Navigation: iVend Database Database > Tables >
iVend 6.6 Database Help
TilCountDenomination Table
Collapse All Expand All
iVend Database Database : TilCountDenomination Table |
Description
Defines the details for each denominations defined in the system against a particular currency
Properties
Creation Date |
4/13/2015 12:00 PM |
File Group |
PRIMARY |
Text File Group |
|
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 |
|
TillCountDenominationKey |
Primary Key |
VarWChar |
50 |
|
|
|
|
TillCountDetailKey |
Reference Key of TillCountDetail. See also Till Count Detail |
VarWChar |
50 |
|
|
|
|
CurrencyDenominationKey |
Reference Key of Currency Denomination. See also Currency Denomination |
VarWChar |
50 |
|
|
|
|
CurrencyKey |
Reference Key of Currency. See also Currency |
VarWChar |
50 |
|
|
|
|
PaymentTypeKey |
Reference Key of Payment Type. See also Payment Type |
VarWChar |
50 |
|
|
|
|
Quantity |
The value entered by the user |
Integer |
4 |
|
|
|
|
DenominationValue |
Reference Value of the CurrencyDenomination |
Numeric |
9 (20,5) |
|
|
|
|
Amount |
The calculated amount (DenominationValue * Quantity |
Numeric |
9 (20,5) |
|
|
|
|
ExchangeRateKey |
For future use |
VarWChar |
50 |
|
|
|
|
ExchangeRate |
For future use |
Numeric |
9 (20,5) |
|
|
|
|
ForeignCurrencyAmount |
For future use |
Numeric |
9 (20,5) |
|
|
|
Indexes
Index |
Description |
Primary |
Unique |
|
|
|
SQL
SET ANSI_NULLS ON SET QUOTED_IDENTIFIER ON CREATE TABLE [dbo].[TilCountDenomination]( [TillCountDenominationKey] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL, [TillCountDetailKey] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL, [CurrencyDenominationKey] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL, [CurrencyKey] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL, [PaymentTypeKey] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL, [Quantity] [int] NOT NULL, [DenominationValue] [decimal](20, 5) NOT NULL, [Amount] [decimal](20, 5) NOT NULL, [ExchangeRateKey] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL, [ExchangeRate] [numeric](20, 5) NOT NULL, [ForeignCurrencyAmount] [numeric](20, 5) NOT NULL, CONSTRAINT [PK_FinTillCountDenomination] PRIMARY KEY CLUSTERED ( [TillCountDenominationKey] 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.