<< Click to Display Table of Contents >> Navigation: iVend Database Database > Tables > PrcSalesPrice Table |
Navigation: iVend Database Database > Tables >
iVend 6.6 Database Help
PrcSalesPrice Table
Collapse All Expand All
iVend Database Database : PrcSalesPrice Table |
Description
Stores the Sales price related details. Used in Navision Integration only
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 |
SalesPriceKey |
Value is the system generated Primary Key of the table. |
VarWChar |
50 |
|
|
|
|
|
Id |
Refers to the SalesPrice's Id |
VarWChar |
20 |
|
|
|
|
SalesType |
Specifies the Sales type for the Discount Group. Valid values are: Customer = 0 CustomerPriceGroup = 1 AllCustomers = 2 Campaign = 3 |
Integer |
4 |
|
|
|
|
SalesTypeSourceKey |
Source key of the Sales Type depending on the SalesType |
VarWChar |
50 |
|
|
|
|
ProductKey |
Reference key of product. See also Product |
VarWChar |
50 |
|
|
|
|
UOMKey |
Refers to the UOM applicable to the SalesPrice. See also UOM |
VarWChar |
50 |
|
|
|
|
MinimumQuantity |
Minimum Quantity on which SalesPrice applicable |
Numeric |
9 (20,5) |
|
|
|
|
CurrencyKey |
Refers to the Currency applicable to the SalesPrice. See also Currency |
VarWChar |
50 |
|
|
|
|
Price |
Price of product |
Numeric |
9 (20,5) |
|
|
|
|
StartDate |
Date from which the Sales price would be applicable |
DBTimeStamp |
4 |
|
|
|
|
EndDate |
Date to which the SalesPrice would be applicable |
DBTimeStamp |
4 |
|
|
|
|
IsInclusive |
Flag to check the price is includes all taxes or not |
Boolean |
1 |
|
|
|
|
AllowInvoiceDiscount |
Flag to allow or not Discount at Invoice level |
Boolean |
1 |
|
|
|
|
AllowLineDiscount |
Flag to allow or not Discount at Line level |
Boolean |
1 |
|
|
|
|
VariantCode |
Unique Code for SalesPrice |
VarWChar |
20 |
|
|
|
|
Created |
Date of creation of this record |
DBTimeStamp |
4 |
|
|
|
|
CreatedBy |
Reference of user who has created this record. See also Security User |
VarWChar |
50 |
|
|
|
|
Modified |
Date of last modification of this record |
DBTimeStamp |
4 |
|
|
|
|
ModifiedBy |
Reference of user who has created 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 |
|
|
|
Indexes
Index |
Description |
Primary |
Unique |
|
Objects that depend on PrcSalesPrice
|
Database Object |
Object Type |
Description |
Dep Level |
Stored Procedure |
|
1 |
||
Stored Procedure |
|
1 |
SQL
SET ANSI_NULLS ON SET QUOTED_IDENTIFIER ON CREATE TABLE [dbo].[PrcSalesPrice]( [SalesPriceKey] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL, [Id] [nvarchar](20) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL, [SalesType] [int] NOT NULL, [SalesTypeSourceKey] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [ProductKey] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [UOMKey] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [MinimumQuantity] [decimal](20, 5) NOT NULL, [CurrencyKey] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [Price] [decimal](20, 5) NOT NULL, [StartDate] [datetime] NULL, [EndDate] [datetime] NULL, [IsInclusive] [bit] NOT NULL, [AllowInvoiceDiscount] [bit] NOT NULL, [AllowLineDiscount] [bit] NOT NULL, [VariantCode] [nvarchar](20) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [Created] [datetime] NOT NULL, [CreatedBy] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL, [Modified] [datetime] NOT NULL, [ModifiedBy] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL, [IsDeleted] [bit] NOT NULL, CONSTRAINT [PK_PrcSalesPrice] PRIMARY KEY CLUSTERED ( [SalesPriceKey] 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.