CfgCustomSeries Table

<< Click to Display Table of Contents >>

Navigation:  iVend Database Database > Tables >

CfgCustomSeries Table

Navigation: iVend Database Database > Tables >

hm_btn_navigate_prevhm_btn_navigate_tophm_btn_navigate_next

iVend 6.6 Database Help

CfgCustomSeries Table

Collapse All Expand All

iVend Database Database : CfgCustomSeries Table

Description

Stores the custom numbering details for a Store/Enterprise.

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

7

Data Space Used

8.00 KB

Index Space Used

8.00 KB

Columns

 

Column Name

Description

Datatype

Length

Allow Nulls

Default

Formula

Primary Key

CustomSeriesKey

Value is the system generated Primary Key of the table.

VarWChar

50

 

 

 

 

Prefix

Stores the prefix to be concatenated to the number generated

VarWChar

8

 

 

 

 

StartNumber

Number from which the series should be started. Signifies the first number to be allocated

Integer

4

 

 

 

 

Length

Lenght of the code to be generated including the Prefix.

Integer

4

 

 

 

 

SourceType

Type for which the custom series details have been defined.

Valid values are:

Customer = 0

Vendor = 1

Product = 2

Integer

4

 

 

 

 

SiteId

Site id for which this information is applied to. Prefix have to be unique for each site for each Source type

Integer

4

 

 

 

 

POSKey

Reference Key for the POS

VarWChar

50

 

((0))

 

Indexes

Index

Description

Primary

Unique

PK_CfgCustomSeries

 

dbimages_tick

dbimages_tick

Objects that depend on CfgCustomSeries

 

Database Object

Object Type

Description

Dep Level

GetNextAutoGeneratedCode procedure

GetNextAutoGeneratedCode

Stored Procedure

Generates the next code depending on the Source Type

1

SQL

SET ANSI_NULLS ON

SET QUOTED_IDENTIFIER ON

CREATE TABLE [dbo].[CfgCustomSeries](

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

[Prefix] [nvarchar](8) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,

[StartNumber] [int] NOT NULL,

[Length] [int] NOT NULL,

[SourceType] [int] NOT NULL,

[SiteId] [int] NOT NULL,

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

CONSTRAINT [PK_CfgCustomSeries] PRIMARY KEY CLUSTERED

(

[CustomSeriesKey] 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].[CfgCustomSeries] ADD CONSTRAINT [DF_CfgCustomSeries_POSKey] DEFAULT ((0)) FOR [POSKey]

See Also

Related Objects

iVend Database Database

 

 


© 2019 All Rights Reserved.

Send comments on this topic.