InvProductSurcharge Table

<< Click to Display Table of Contents >>

Navigation:  iVend Database Database > Tables >

InvProductSurcharge Table

Navigation: iVend Database Database > Tables >

hm_btn_navigate_prevhm_btn_navigate_tophm_btn_navigate_next

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

dbimages_boolean-false

Published for Replication

dbimages_boolean-false

Rows

0

Data Space Used

0.00 KB

Index Space Used

0.00 KB

Columns

 

Column Name

Description

Datatype

Length

Allow Nulls

Default

Formula

Primary Key

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

PK_InvProductSurcharge

 

dbimages_tick

dbimages_tick

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

Related Objects

iVend Database Database

 

 


© 2019 All Rights Reserved.

Send comments on this topic.