CfgReasonCode Table

<< Click to Display Table of Contents >>

Navigation:  iVend Database Database > Tables >

CfgReasonCode Table

Navigation: iVend Database Database > Tables >

hm_btn_navigate_prevhm_btn_navigate_tophm_btn_navigate_next

iVend 6.6 Database Help

CfgReasonCode Table

Collapse All Expand All

iVend Database Database : CfgReasonCode Table

Description

Stores the various reason codes created in the system.

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

16

Data Space Used

8.00 KB

Index Space Used

8.00 KB

Columns

 

Column Name

Description

Datatype

Length

Allow Nulls

Default

Formula

Primary Key

ReasonCodeKey

Value is the system generated Primary Key of the table.

VarWChar

50

 

 

 

 

Id

Value is the id of the reason code.

VarWChar

20

 

 

 

 

Description

Value is the description of the reason code.

VarWChar

100

dbimages_tick

 

 

 

ReasonCodeType

Stores the type of the reason code.

Valid values are:

CashIn = 2

CashOut = 3

ShutdownTerminal = 4

OpenCashDrawer = 5

EditTimeClock = 6

VoidItem = 7 VoidSale = 8

RefundSale = 9

RefundItem = 10

SaleDiscount = 11

ItemDiscount = 12

ItemPriceOverride = 13

ItemTaxOverride = 14

SaleTaxOverride = 15

GoodsReceipt = 16

Integer

4

 

 

 

 

IsActive

Speicifes whether the reason code is active or not. Only active reason codes are allowed to be used for selection.

Boolean

1

 

 

 

 

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

 

 

 

 

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_CfgReasonCode

 

dbimages_tick

dbimages_tick

Objects that depend on CfgReasonCode

 

Database Object

Object Type

Description

Dep Level

GoodsIssueReport procedure

GoodsIssueReport

Stored Procedure

 

1

GoodsReceiptReport procedure

GoodsReceiptReport

Stored Procedure

 

1

Integration_GoodsIssue procedure

Integration_GoodsIssue

Stored Procedure

 

1

Integration_GoodsReceipt procedure

Integration_GoodsReceipt

Stored Procedure

 

1

Integration_GoodsReturn procedure

Integration_GoodsReturn

Stored Procedure

 

1

Integration_PurchaseOrder procedure

Integration_PurchaseOrder

Stored Procedure

 

1

Integration_StockTransfer procedure

Integration_StockTransfer

Stored Procedure

 

1

SQL

SET ANSI_NULLS ON

SET QUOTED_IDENTIFIER ON

CREATE TABLE [dbo].[CfgReasonCode](

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

[Id] [nvarchar](20) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,

[Description] [nvarchar](100) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,

[ReasonCodeType] [int] NOT NULL,

[IsActive] [bit] 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,

[IsDeleted] [bit] NOT NULL,

CONSTRAINT [PK_CfgReasonCode] PRIMARY KEY CLUSTERED

(

[ReasonCodeKey] 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.