WHSWorkUserSession::createOrUpdate Method
Creates or updates the RF user session.
Syntax
client server public static WHSWorkUserSession createOrUpdate(
WHSUserId _userId,
WHSWorkExecuteMode _workExecuteMode,
WHSWorkExecuteStep _workExecuteStep,
WHSWorkExecutePassThrough _workExecutePassThrough,
LanguageId _languageId,
XML _xml,
[InventLocationId _inventLocationId])
Run On
Called
Parameters
- _userId
Type: WHSUserId Extended Data Type
Current user id.
- _workExecuteMode
Type: WHSWorkExecuteMode Enumeration
Current value of execute mode.
- _workExecuteStep
Type: WHSWorkExecuteStep Extended Data Type
Current work execute mode step.
- _workExecutePassThrough
Type: WHSWorkExecutePassThrough Extended Data Type
Current packed value of work execute pass-through.
- _languageId
Type: LanguageId Extended Data Type
The language ID of the associated worker.
- _xml
Type: XML Extended Data Type
XML from RF.
- _inventLocationId
Type: InventLocationId Extended Data Type
Warehouse currently used.
Return Value
Type: WHSWorkUserSession Table
Active user session.