PrcDiscountGroup Table

<< Click to Display Table of Contents >>

Navigation:  iVend Database Database > Tables >

PrcDiscountGroup Table

Navigation: iVend Database Database > Tables >

hm_btn_navigate_prevhm_btn_navigate_tophm_btn_navigate_next

iVend 6.6 Database Help

PrcDiscountGroup Table

Collapse All Expand All

iVend Database Database : PrcDiscountGroup Table

Description

Stores the Discount group related details. Used in Navision Integration only

Properties

Creation Date

9/18/2015 10:05 AM

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

DiscountGroupKey

Refers to the DiscountGroup applicable to the DiscountGroup. See also DiscountGroup

VarWChar

50

 

 

 

 

Id

Refers to the DiscountGroup's Id

VarWChar

20

 

 

 

 

SalesType

Specifies the Sales type for the Discount Group. Valid values are: Customer = 0 CustomerDiscountGroup = 1 AllCustomers = 2 Campaign = 3

Integer

4

 

 

 

 

SalesTypeSourceKey

Source key of the Sales Type depending on the SalesType

VarWChar

50

 

 

 

 

CurrencyKey

Refers to the Currency applicable to the Discount.See also Currency

VarWChar

50

dbimages_tick

 

 

 

LineDiscountPercent

Discount Percent applicable on a Item

Numeric

9 (20,5)

dbimages_tick

 

 

 

MinimumQuantity

Minimum Quantity on which Discount applicable

Numeric

9 (20,5)

dbimages_tick

 

 

 

StartDate

Date from which the Discount would be applicable

DBTimeStamp

4

dbimages_tick

 

 

 

EndDate

Date to which the Discount would be applicable

DBTimeStamp

4

dbimages_tick

 

 

 

DiscountGroupType

Specifies the Discount Group type for the Discount Group. Valid values are: Product = 0 ProductDiscountGroup = 1

Integer

4

 

 

 

 

DiscountGroupTypeSourceKey

Source key of the DiscountGroup depending on the DiscountGroup Type

VarWChar

50

 

 

 

 

UOMKey

Refers to the UOM applicable to the DiscountGroup. See also UOM

VarWChar

50

dbimages_tick

 

 

 

VariantCode

Unique Code for DiscounGroup

VarWChar

20

dbimages_tick

 

 

 

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

PK_PrcDiscountGroup

 

dbimages_tick

dbimages_tick

Objects that depend on PrcDiscountGroup

 

Database Object

Object Type

Description

Dep Level

GetMobileReplicationData procedure

GetMobileReplicationData

Stored Procedure

 

1

SQL

SET ANSI_NULLS ON

SET QUOTED_IDENTIFIER ON

CREATE TABLE [dbo].[PrcDiscountGroup](

[DiscountGroupKey] [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 NOT NULL,

[CurrencyKey] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,

[LineDiscountPercent] [decimal](20, 5) NULL,

[MinimumQuantity] [decimal](20, 5) NULL,

[StartDate] [datetime] NULL,

[EndDate] [datetime] NULL,

[DiscountGroupType] [int] NOT NULL,

[DiscountGroupTypeSourceKey] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,

[UOMKey] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS 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_PrcDiscountGroup] PRIMARY KEY CLUSTERED

(

[DiscountGroupKey] 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

Related Objects

iVend Database Database

 

 


© 2019 All Rights Reserved.

Send comments on this topic.