<< Click to Display Table of Contents >> Navigation: iVend Database Database > Tables > InvProductMarginCalculation Table |
Navigation: iVend Database Database > Tables >
iVend 6.6 Database Help
InvProductMarginCalculation Table
Collapse All Expand All
iVend Database Database : InvProductMarginCalculation Table |
Description
Defines the information regerding the Margins setup for the products
Properties
Creation Date |
9/18/2015 10:05 AM |
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 |
ProductMarginCalculationKey |
Primary Key |
VarWChar |
50 |
|
|
|
|
|
PriceListKey |
Reference Key of Price List. See also PrcPriceList. |
VarWChar |
50 |
|
|
|
|
ProductKey |
Reference Key of Product. See also InvProduct. |
VarWChar |
50 |
|
|
|
|
CurrentCost |
Hold the cost of the product |
Numeric |
9 (20,5) |
|
|
|
|
MarginPercentage |
Hold the value of margin percenatge to calculate product price |
Numeric |
9 (20,5) |
|
|
|
|
Markup |
Hold the value of mark up to calculate product price |
Numeric |
9 (20,5) |
|
|
|
|
Projection |
Hold the value of projection |
Numeric |
9 (20,5) |
|
|
|
|
Price |
Hold the product price |
Numeric |
9 (20,5) |
|
|
|
|
Active |
Value is True if the specified product margin calculation is marked as Active |
Boolean |
1 |
|
|
|
|
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 created this record. See also Security User |
VarWChar |
50 |
|
|
|
|
Modified |
Date of last modification of this record |
DBTimeStamp |
4 |
|
|
|
|
IsDeleted |
Value is True if the record has been deleted from the system. Record is always Soft Deleted |
Boolean |
1 |
|
|
|
Indexes
Index |
Description |
Primary |
Unique |
|
SQL
SET ANSI_NULLS ON SET QUOTED_IDENTIFIER ON CREATE TABLE [dbo].[InvProductMarginCalculation]( [ProductMarginCalculationKey] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL, [PriceListKey] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL, [ProductKey] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL, [CurrentCost] [decimal](20, 5) NOT NULL, [MarginPercentage] [decimal](20, 5) NOT NULL, [Markup] [decimal](20, 5) NOT NULL, [Projection] [decimal](20, 5) NOT NULL, [Price] [decimal](20, 5) NOT NULL, [Active] [bit] 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, [IsDeleted] [bit] NOT NULL, CONSTRAINT [PK_InvProductMarginCalculation] PRIMARY KEY CLUSTERED ( [ProductMarginCalculationKey] 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.