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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
UserIdID of the work user. It points to a work user record. | StringWHSUserId | Yes | WHSWorkUser.UserId | None |
CompanyIdCompany (legal entity) that the session is working in. | StringCompanyId | Yes | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
InventLocationIdWarehouse the user is working in. It points to a warehouse record. | StringInventLocationId | Yes | InventLocation.InventLocationId | None |
LanguageIdLanguage code used for the user's session. It points to a language record. | String (7)LanguageId | No | LanguageTable.LanguageId | None |
LastActionDateTimeDate and time of the user's most recent action in the session. | UtcDateTimeWHSLastActionDateTime | No | None | |
LastPrintedLicensePlateLicense plate ID that was printed last in this session. | String (25)WHSLastPrintedLicensePlate | No | WHSLicensePlate.LicensePlateId | None |
LoginDateTimeDate and time when the user logged in. | UtcDateTimeWHSLoginDateTime | No | None | |
MenuBreadcrumbsStored trail of the menu steps the user has taken. | ContainerWHSMenuBreadcrumbs | No | None | |
ModifiedByThe user who last changed the record. System field. | String (20)ModifiedBy | No | None | |
ModifiedDateTimeThe date and time when the record was last changed. System field. | UtcDateTimeModifiedDateTime | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PrevPassStored data from the previous pass through the work process.low confidence | ContainerWHSPrevPass | No | None | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
ResetNavigationYes or no flag for resetting navigation. The label is empty, so the exact meaning is not stated.low confidence | EnumNoYes (enum) | Yes | None | |
RFErrorLogStored error log data from the mobile device. | ContainerWHSRFErrorLog | No | None | |
SessionStateCheckText string used to check the state of the session.low confidence | String (-1)WHSWorkUserSessionStateCheck | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
UserSessionIdUnique identifier (GUID) of the session. | GuidWHSWorkUserSessionId | No | None | |
VersionNumberBuild number stored with the session. | String (30)SysBuildNo | No | None | |
WorkExecuteModeCurrent work processing mode, such as login, menu, shipping or cycle counting. | EnumWHSWorkExecuteMode (enum) | No | None | |
WorkExecutePassThroughStored data passed between steps of work processing. | ContainerWHSWorkExecutePassThrough | No | None | |
WorkExecuteStepNumber of the current work processing step. | IntegerWHSWorkExecuteStep | No | None | |
XMLXML document stored for the session. | String (-1)XML | No | None |
Indexes (1)
UserIdIdxPrimary indexReplacement keyUnique, alternate key.
Relations (5)
Each relation joins WHSWorkUserSession to another table on the fields shown.
DataArea→DataAreaJoin on
CompanyId = DataArea.id,DataArea.isVirtual = nullOne or more WHSWorkUserSession records → exactly one DataArea record
InventLocation→InventLocationJoin on
InventLocationId = InventLocation.InventLocationIdOne or more WHSWorkUserSession records → exactly one InventLocation record
LanguageTable→LanguageTableJoin on
LanguageId = LanguageTable.LanguageId,LanguageTable.LabelFile = 1Many WHSWorkUserSession records → zero or one LanguageTable record
WHSLicensePlate→WHSLicensePlateJoin on
LastPrintedLicensePlate = WHSLicensePlate.LicensePlateIdMany WHSWorkUserSession records → exactly one WHSLicensePlate record
WHSWorkUser→WHSWorkUserJoin on
UserId = WHSWorkUser.UserIdExactly 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.