Table

WHSWorkUserSession

Work User Session

Holds one session record for each warehouse work user on a mobile device. It stores the login time, last action time, warehouse, language and company. It also keeps the current work processing mode and step, with navigation and pass-through data. The key is the user ID.

Table name
WHSWorkUserSession
Module
Inventory
Table group
Transaction
Table type
Regular
Data per company
Yes
Configuration key
WHSandTMS
Primary index
UserIdIdx
Replacement key
UserIdIdx
Key fields
UserId
Model
Foundation

Fields (25)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
UserIdID of the work user. It points to a work user record.String
WHSUserId
YesWHSWorkUser.UserIdNone
CompanyIdCompany (legal entity) that the session is working in.String
CompanyId
YesNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
InventLocationIdWarehouse the user is working in. It points to a warehouse record.String
InventLocationId
YesInventLocation.InventLocationIdNone
LanguageIdLanguage code used for the user's session. It points to a language record.String (7)
LanguageId
NoLanguageTable.LanguageIdNone
LastActionDateTimeDate and time of the user's most recent action in the session.UtcDateTime
WHSLastActionDateTime
NoNone
LastPrintedLicensePlateLicense plate ID that was printed last in this session.String (25)
WHSLastPrintedLicensePlate
NoWHSLicensePlate.LicensePlateIdNone
LoginDateTimeDate and time when the user logged in.UtcDateTime
WHSLoginDateTime
NoNone
MenuBreadcrumbsStored trail of the menu steps the user has taken.Container
WHSMenuBreadcrumbs
NoNone
ModifiedByThe user who last changed the record. System field.String (20)
ModifiedBy
NoNone
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PrevPassStored data from the previous pass through the work process.low confidenceContainer
WHSPrevPass
NoNone
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
ResetNavigationYes or no flag for resetting navigation. The label is empty, so the exact meaning is not stated.low confidenceEnum
NoYes (enum)
YesNone
RFErrorLogStored error log data from the mobile device.Container
WHSRFErrorLog
NoNone
SessionStateCheckText string used to check the state of the session.low confidenceString (-1)
WHSWorkUserSessionStateCheck
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
UserSessionIdUnique identifier (GUID) of the session.Guid
WHSWorkUserSessionId
NoNone
VersionNumberBuild number stored with the session.String (30)
SysBuildNo
NoNone
WorkExecuteModeCurrent work processing mode, such as login, menu, shipping or cycle counting.Enum
WHSWorkExecuteMode (enum)
NoNone
WorkExecutePassThroughStored data passed between steps of work processing.Container
WHSWorkExecutePassThrough
NoNone
WorkExecuteStepNumber of the current work processing step.Integer
WHSWorkExecuteStep
NoNone
XMLXML document stored for the session.String (-1)
XML
NoNone

Indexes (1)

  • UserIdIdxPrimary indexReplacement key

    UserId

    Unique, alternate key.

Relations (5)

Each relation joins WHSWorkUserSession to another table on the fields shown.

  • DataArea → DataArea

    Join on CompanyId = DataArea.id, DataArea.isVirtual = null

    One or more WHSWorkUserSession records → exactly one DataArea record

  • InventLocation → InventLocation

    Join on InventLocationId = InventLocation.InventLocationId

    One or more WHSWorkUserSession records → exactly one InventLocation record

  • LanguageTable → LanguageTable

    Join on LanguageId = LanguageTable.LanguageId, LanguageTable.LabelFile = 1

    Many WHSWorkUserSession records → zero or one LanguageTable record

  • WHSLicensePlate → WHSLicensePlate

    Join on LastPrintedLicensePlate = WHSLicensePlate.LicensePlateId

    Many WHSWorkUserSession records → exactly one WHSLicensePlate record

  • WHSWorkUser → WHSWorkUser

    Join on UserId = WHSWorkUser.UserId

    Exactly one WHSWorkUserSession record → exactly one WHSWorkUser record

Get this data out

No public entity reads from WHSWorkUserSession. Its data is only reachable through the application, a custom entity or a database export.

Need help with WHSWorkUserSession in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk