|
<< Click to Display Table of Contents >> Navigation: iVend Database Database > Tables > InvProductSurcharge Table |
Navigation: iVend Database Database > Tables >
iVend 6.6 Database Help
InvProductSurcharge Table
Collapse All Expand All
iVend Database Database : InvProductSurcharge Table |
Description
Stores the surcharge information applied for a product
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 |
|
ProductSurchargeKey |
Primary Key |
VarWChar |
50 |
|
((0)) |
|
|
ProductKey |
Reference Key of Product. See also Product. |
VarWChar |
50 |
|
|
|
|
SurchargeKey |
Reference Key of Surcharge. See also Surcharge. |
VarWChar |
50 |
|
|
|
|
CreatedBy |
Reference of user who has created this record. See also Security User |
VarWChar |
50 |
|
|
|
|
Created |
Date of creation of this record |
DBTimeStamp |
4 |
|
|
|
|
ModifiedBy |
Reference of user who has modified this record. See also Security User |
VarWChar |
50 |
|
|
|
|
Modified |
Date of last modification of this record |
DBTimeStamp |
4 |
|
|
|
|
ProductSurchargeType |
Valid values are: Sale = 0, Return = 1 |
Integer |
4 |
|
((1)) |
|
Indexes
Index |
Description |
Primary |
Unique |
|
|
|
SQL
SET ANSI_NULLS ON SET QUOTED_IDENTIFIER ON CREATE TABLE [dbo].[InvProductSurcharge]( [ProductSurchargeKey] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL, [ProductKey] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL, [SurchargeKey] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL, [CreatedBy] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL, [Created] [datetime] NOT NULL, [ModifiedBy] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL, [Modified] [datetime] NOT NULL, [ProductSurchargeType] [int] NOT NULL, CONSTRAINT [PK_InvProductSurcharge] PRIMARY KEY CLUSTERED ( [ProductSurchargeKey] ASC )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] ) ON [PRIMARY] ALTER TABLE [dbo].[InvProductSurcharge] ADD CONSTRAINT [DF_InvProductSurcharge_ProductSurchargeKey] DEFAULT ((0)) FOR [ProductSurchargeKey] ALTER TABLE [dbo].[InvProductSurcharge] ADD CONSTRAINT [DF_InvProductSurcharge_ProductSurchargeType] DEFAULT ((1)) FOR [ProductSurchargeType] |
See Also
© 2019 All Rights Reserved.
Send comments on this topic.