|
<< Click to Display Table of Contents >> Navigation: iVend Database Database > Tables > PrcPriceMatrix Table |
Navigation: iVend Database Database > Tables >
iVend 6.6 Database Help
PrcPriceMatrix Table
Collapse All Expand All
iVend Database Database : PrcPriceMatrix Table |
Description
Defines the list of products that are associated with each price list. It is also integrated through ERP.
Properties
Creation Date |
4/13/2015 12:00 PM |
File Group |
PRIMARY |
Text File Group |
|
System Object |
|
Published for Replication |
|
Rows |
10230 |
Data Space Used |
2,000.00 KB |
Index Space Used |
1,032.00 KB |
Columns
|
Column Name |
Description |
Datatype |
Length |
Allow Nulls |
Default |
Formula |
|
PriceMatrixKey |
Primary Key |
VarWChar |
50 |
|
|
|
|
PriceListKey |
Reference key of price list. See also PriceList |
VarWChar |
50 |
|
|
|
|
ProductKey |
Reference key of product. See also Product |
VarWChar |
50 |
|
|
|
|
Price |
Price of product |
Numeric |
9 (20,5) |
|
|
|
|
Created |
Date of creation of this record |
DBTimeStamp |
4 |
|
|
|
|
Modified |
Date of last modification of this record |
DBTimeStamp |
4 |
|
|
|
|
CreatedBy |
Reference of user who has created this record. See also Security User |
VarWChar |
50 |
|
|
|
|
ModifiedBy |
Reference of user who has modified this record. See also Security User |
VarWChar |
50 |
|
|
|
|
IsDeleted |
Value is True if the record has been deleted from the system. Record is always Soft Deleted |
Boolean |
1 |
|
|
|
|
FromDate |
Date From which the Price List would get applied |
DBTimeStamp |
4 |
|
|
|
|
ToDate |
Date Till which the Price List would be available |
DBTimeStamp |
4 |
|
|
|
|
CurrencyKey |
Refernce key of currency, in which payment would be accepted |
VarWChar |
50 |
|
((0)) |
|
|
Price1 |
FUTURE USE |
Numeric |
9 (20,5) |
|
|
|
|
CurrencyKey1 |
FUTURE USE |
VarWChar |
50 |
|
|
|
|
Price2 |
FUTURE USE |
Numeric |
9 (20,5) |
|
|
|
|
CurrencyKey2 |
FUTURE USE |
VarWChar |
50 |
|
|
|
Indexes
Index |
Description |
Primary |
Unique |
|
|
|
|
|
|
|
Objects that depend on PrcPriceMatrix
|
Database Object |
Object Type |
Description |
Dep Level |
|
Stored Procedure |
|
1 |
|
|
Stored Procedure |
|
1 |
|
|
Stored Procedure |
|
1 |
|
|
Stored Procedure |
|
1 |
|
|
Trigger |
|
1 |
|
|
Stored Procedure |
|
1 |
|
|
Stored Procedure |
Determines the price of the Product for the customer specified and other parameters |
1 |
SQL
SET ANSI_NULLS ON SET QUOTED_IDENTIFIER ON CREATE TABLE [dbo].[PrcPriceMatrix]( [PriceMatrixKey] [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, [Price] [numeric](20, 5) NOT NULL, [Created] [datetime] NOT NULL, [Modified] [datetime] NOT NULL, [CreatedBy] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL, [ModifiedBy] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL, [IsDeleted] [bit] NOT NULL, [FromDate] [datetime] NULL, [ToDate] [datetime] NULL, [CurrencyKey] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL, [Price1] [numeric](20, 5) NULL, [CurrencyKey1] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [Price2] [numeric](20, 5) NULL, [CurrencyKey2] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, CONSTRAINT [PK_PrcPriceMatrix] PRIMARY KEY CLUSTERED ( [PriceMatrixKey] 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].[PrcPriceMatrix] ADD CONSTRAINT [DF_PrcPriceMatrix_CurrencyKey] DEFAULT ((0)) FOR [CurrencyKey] |
See Also
© 2019 All Rights Reserved.
Send comments on this topic.