|
<< Click to Display Table of Contents >> Navigation: iVend Database Database > Tables > RtlPOSDocumentNumberSeries Table |
Navigation: iVend Database Database > Tables >
iVend 6.6 Database Help
RtlPOSDocumentNumberSeries Table
Collapse All Expand All
iVend Database Database : RtlPOSDocumentNumberSeries Table |
Description
Stores the Document Number series details for a POS
Properties
Creation Date |
4/13/2015 12:00 PM |
File Group |
PRIMARY |
Text File Group |
|
System Object |
|
Published for Replication |
|
Rows |
1 |
Data Space Used |
8.00 KB |
Index Space Used |
8.00 KB |
Columns
|
Column Name |
Description |
Datatype |
Length |
Allow Nulls |
Default |
Formula |
|
POSDocumentNumberSeriesKey |
Primary Key |
VarWChar |
50 |
|
((0)) |
|
|
StoreKey |
Reference Key of Store at which the Document Number Series is attached. See also Store |
VarWChar |
50 |
|
|
|
|
POSKey |
Reference Key of POS at which the Document Number Series is attached. See also Store |
VarWChar |
50 |
|
|
|
|
StartDate |
Value is True if the defined Number Series has to reset after the commencement of End Of Day process. |
DBTimeStamp |
4 |
|
|
|
|
EndDate |
Stores the end date from which the document series will be applicable. |
DBTimeStamp |
4 |
|
|
|
|
Prefix |
Stores the Prefix of Document Number. |
VarWChar |
20 |
|
|
|
|
StartNumber |
Stores the value from which the document number series will start. |
VarWChar |
50 |
|
|
|
|
EndNumber |
Stores the value from which the document number series will end. |
VarWChar |
50 |
|
|
|
|
Suffix |
Stores the Suffix of the Document Number. |
VarWChar |
20 |
|
|
|
|
AuthorizationCode |
Stores the Authorization Code that authenticates the Document Number Series defined by the user. |
VarWChar |
50 |
|
|
|
|
IsActive |
True value specifies the defined active number series. |
Boolean |
1 |
|
|
|
|
CurrentNumber |
Stores the Current number of the series for the Document Type |
VarWChar |
50 |
|
|
|
|
DocumentType |
Stores the document type value for which the user wants to generate a number series. Valid values are PurchaseOrder = 0 StockTransfer = 1 GoodsReceipt = 2 GoodsIssue = 3 StockRequisition = 4 Sale = 5 Refund = 6 Exchange = 7 SpecialOrder = 8 Quotation = 9 ARPayment = 10 Layaway = 11 Delivery = 12 GoodsReceiptPO = 13 GoodsReceiptST = 14 DefaultSeries = 15 |
Integer |
4 |
|
|
|
|
Description |
Refers to the description for the Document Number Series |
VarWChar |
100 |
|
|
|
|
ResetAtEndOfDay |
Value is True if the defined Number Series has to reset after the commencement of End Of Day process. |
Boolean |
1 |
|
((0)) |
|
|
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 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 |
|
|
|
|
DocumentNumberSeriesType |
Stores the Value for the Document Number series type Valid Values are: Auto = 0 Manual =1 |
Integer |
4 |
|
((0)) |
|
|
ApplicableForEnterprise |
Value is True if the Document Number series for Enterprise |
Boolean |
1 |
|
((0)) |
|
Indexes
Index |
Description |
Primary |
Unique |
|
|
|
Objects that depend on RtlPOSDocumentNumberSeries
|
Database Object |
Object Type |
Description |
Dep Level |
|
Stored Procedure |
|
1 |
|
|
Stored Procedure |
Generates the next Transaction Number depending on the Parameters provided |
1 |
|
|
Stored Procedure |
|
1 |
SQL
SET ANSI_NULLS ON SET QUOTED_IDENTIFIER ON CREATE TABLE [dbo].[RtlPOSDocumentNumberSeries]( [POSDocumentNumberSeriesKey] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL, [StoreKey] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL, [POSKey] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL, [StartDate] [datetime] NOT NULL, [EndDate] [datetime] NOT NULL, [Prefix] [nvarchar](20) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [StartNumber] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL, [EndNumber] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL, [Suffix] [nvarchar](20) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [AuthorizationCode] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [IsActive] [bit] NOT NULL, [CurrentNumber] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [DocumentType] [int] NOT NULL, [Description] [nvarchar](100) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, [ResetAtEndOfDay] [bit] NOT 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, [DocumentNumberSeriesType] [int] NULL, [ApplicableForEnterprise] [bit] NOT NULL, CONSTRAINT [PK_RtlPOSDocumentNumberSeries] PRIMARY KEY CLUSTERED ( [POSDocumentNumberSeriesKey] 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].[RtlPOSDocumentNumberSeries] ADD CONSTRAINT [DF_RtlPOSDocumentNumberSeries_POSDocumentNumberSeriesKey] DEFAULT ((0)) FOR [POSDocumentNumberSeriesKey] ALTER TABLE [dbo].[RtlPOSDocumentNumberSeries] ADD CONSTRAINT [DF__RtlPOSDoc__Reset__6304A5CD] DEFAULT ((0)) FOR [ResetAtEndOfDay] ALTER TABLE [dbo].[RtlPOSDocumentNumberSeries] ADD CONSTRAINT [DF_RtlPOSDocumentNumberSeries_DocumentNumberSeriesType] DEFAULT ((0)) FOR [DocumentNumberSeriesType] ALTER TABLE [dbo].[RtlPOSDocumentNumberSeries] ADD CONSTRAINT [DF_RtlPOSDocumentNumberSeries_ApplicableForEnterprise] DEFAULT ((0)) FOR [ApplicableForEnterprise] |
See Also
© 2019 All Rights Reserved.
Send comments on this topic.