|
<< Click to Display Table of Contents >> Navigation: iVend Database Database > Tables > InvProductGrossMarginDetail Table |
Navigation: iVend Database Database > Tables >
iVend 6.6 Database Help
InvProductGrossMarginDetail Table
Collapse All Expand All
iVend Database Database : InvProductGrossMarginDetail Table |
Description
Defines the details related to the gross margin defined on the products such as Percentage, UOM ..
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 |
|
ProductGrossMarginDetailKey |
Primary Key |
VarWChar |
50 |
|
|
|
|
ProductGrossMarginKey |
Reference Key of ProductGrossMargin. See also InvProductGrossMargin. |
VarWChar |
50 |
|
|
|
|
PriceMatrixKey |
Reference Key of PriceMatrix. See also PrcPriceMatrix. |
VarWChar |
50 |
|
|
|
|
UOMPriceMatrixKey |
Reference Key of UOMPriceMatrix. See also PrcUOMPriceMatrix. |
VarWChar |
50 |
|
|
|
|
ProductKey |
Reference Key of Product. See also InvProduct. |
VarWChar |
50 |
|
|
|
|
CurrentCost |
Hold the cost of the product |
Numeric |
9 (20,5) |
|
|
|
|
WhatIfCost |
Hold the Assumed product cost to calculate the product price |
Numeric |
9 (20,5) |
|
|
|
|
CurrentPrice |
Hold the current price of 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) |
|
|
|
|
SuggestedPrice |
Hold the product price after calculation |
Numeric |
9 (20,5) |
|
|
|
|
UOMKey |
Reference Key of UOM. See also InvUOM. |
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 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].[InvProductGrossMarginDetail]( [ProductGrossMarginDetailKey] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL, [ProductGrossMarginKey] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [PriceMatrixKey] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [UOMPriceMatrixKey] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [ProductKey] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [CurrentCost] [decimal](20, 5) NOT NULL, [WhatIfCost] [decimal](20, 5) NOT NULL, [CurrentPrice] [decimal](20, 5) NOT NULL, [MarginPercentage] [decimal](20, 5) NOT NULL, [Markup] [decimal](20, 5) NOT NULL, [Projection] [decimal](20, 5) NOT NULL, [SuggestedPrice] [decimal](20, 5) NOT NULL, [UOMKey] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS 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_InvProductGrossMarginDetail] PRIMARY KEY CLUSTERED ( [ProductGrossMarginDetailKey] 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.