LbrLaborSession Table

<< Click to Display Table of Contents >>

Navigation:  iVend Database Database > Tables >

LbrLaborSession Table

Navigation: iVend Database Database > Tables >

hm_btn_navigate_prevhm_btn_navigate_tophm_btn_navigate_next

iVend 6.6 Database Help

LbrLaborSession Table

Collapse All Expand All

iVend Database Database : LbrLaborSession Table

Description

Stores information regarding a particular session. New Session starts when the employee Clocks In and ends when the employee Clocks out.

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

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

LaborSessionKey

Primary Key

VarWChar

50

 

 

 

 

StoreKey

Reference Key of Store. See also Store

VarWChar

50

 

 

 

 

UserKey

Reference key of User. See also User

VarWChar

50

 

 

 

 

JobCodeKey

Reference Key of JobCode. See also JobCode

VarWChar

50

 

 

 

 

BusinessDate

Store Business Date

DBTimeStamp

4

 

 

 

 

StartDate

Captures the Clock-In Time

DBTimeStamp

4

 

 

 

 

EndDate

Captures the Clock-Out Time

DBTimeStamp

4

dbimages_tick

 

 

 

BreakCount

Gives the count of breaks

BigInt

8

 

 

 

 

TotalBreakTime

Gives the total time on which user is on break

BigInt

8

 

 

 

 

TotalTime

Gives the total time elapsed between the Clock-In - Clock-Out or Clock-In - Break - Out (in minutes)

BigInt

8

 

 

 

 

Status

Current status of the employee

Valid values are:

None = 0

ClockedIn = 1

OnBreak = 2

ClockedOut = 3

Integer

4

 

 

 

 

LastBreakTime

Gives the last break out time of user

DBTimeStamp

4

dbimages_tick

 

 

 

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

 

 

 

Indexes

Index

Description

Primary

Unique

PK_LbrLaborSession

 

dbimages_tick

dbimages_tick

SQL

SET ANSI_NULLS ON

SET QUOTED_IDENTIFIER ON

CREATE TABLE [dbo].[LbrLaborSession](

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

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

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

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

[BusinessDate] [datetime] NOT NULL,

[StartDate] [datetime] NOT NULL,

[EndDate] [datetime] NULL,

[BreakCount] [bigint] NOT NULL,

[TotalBreakTime] [bigint] NOT NULL,

[TotalTime] [bigint] NOT NULL,

[Status] [int] NOT NULL,

[LastBreakTime] [datetime] 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,

CONSTRAINT [PK_LbrLaborSession] PRIMARY KEY CLUSTERED

(

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