RtlExpense Table

<< Click to Display Table of Contents >>

Navigation:  iVend Database Database > Tables >

RtlExpense Table

Navigation: iVend Database Database > Tables >

hm_btn_navigate_prevhm_btn_navigate_tophm_btn_navigate_next

iVend 6.6 Database Help

RtlExpense Table

Collapse All Expand All

iVend Database Database : RtlExpense Table

Description

Stores the various expense captured at the Store and POS

Properties

Creation Date

4/13/2015 12:00 PM

File Group

PRIMARY

Text File Group

PRIMARY

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

ExpenseKey

Primary Key

VarWChar

50

 

 

 

 

StoreKey

Reference key of the store. See also RtlStore

VarWChar

50

 

 

 

 

POSKey

Reference key of the POS. See also RtlPOS

VarWChar

50

 

 

 

 

TillKey

Reference key of the Till. See also TilTill

VarWChar

50

 

 

 

 

TillSessionKey

Reference key of the Till Session. See also TilSession

VarWChar

50

 

 

 

 

BusinessDate

Refers to the business date of the store

DBTimeStamp

4

 

 

 

 

ReasonCodeKey

Refers to the reason code key. See also Reason Codes

VarWChar

50

 

 

 

 

CommentKey

Refers to the comment key.See also Comment

VarWChar

50

dbimages_tick

 

 

 

Amount

Refers to the amount of the transaction

Numeric

9 (20,5)

 

 

 

 

EntryDate

Date on which the expense was captured

DBTimeStamp

4

 

 

 

 

UserKey

Refers to the user key. See also User

VarWChar

50

 

 

 

 

StoreCurrencyKey

Value is the Key for the defined currency at Store

VarWChar

50

dbimages_tick

 

 

 

StoreCurrencyExchangeRate

Value is the Exchange Rate for the defined currency at Store

Numeric

9 (20,5)

dbimages_tick

 

 

 

Comments

Stores comments.

VarWChar

4000

dbimages_tick

 

 

Indexes

Index

Description

Primary

Unique

PK_PmtExpense

 

dbimages_tick

dbimages_tick

SQL

SET ANSI_NULLS ON

SET QUOTED_IDENTIFIER ON

CREATE TABLE [dbo].[RtlExpense](

[ExpenseKey] [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,

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

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

[BusinessDate] [datetime] NOT NULL,

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

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

[Amount] [decimal](20, 5) NOT NULL,

[EntryDate] [datetime] NOT NULL,

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

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

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

[Comments] [nvarchar](4000) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,

CONSTRAINT [PK_PmtExpense] PRIMARY KEY CLUSTERED

(

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