RetailTransactionService::staffLogin Method [AX 2012]

Creates or updates a RetailStaffLoginLog record by using the specified staffId value.

client server public static container staffLogin(
    RetailStaffId _staffId, 
    RetailStoreId _storeId, 
    RetailTerminalId _terminalId, 
    RetailStaffPassword _password)

Run On

Called

Parameters

_staffId
Type: RetailStaffId Extended Data Type
The value of the staffId field.
_storeId
Type: RetailStoreId Extended Data Type
The value of the storeId field.
_terminalId
Type: RetailTerminalId Extended Data Type
The value of the terminalId field.
_password
Type: RetailStaffPassword Extended Data Type
The RetailStaffPassword value.

Return Value

Type: container
A container that contains a Boolean value that indicates whether the record was updated successfully.

ExceptionCondition
Error

The record is not created or updated.

Show: