RetailTransactionService::retailServerStaffLogOff Method [AX 2012]
Method deletes the record from RetailStaffLoginLog table.
Syntax
client server public static container retailServerStaffLogOff(
RetailStaffId _staffId,
RetailChannelRecId _storeRecId,
RefRecId _terminalRecId,
[boolean _logoffFromStore])
Run On
Called
Parameters
- _staffId
Type: RetailStaffId Extended Data Type
ID of the RetailStaffLoginLog.staffId field.
- _storeRecId
Type: RetailChannelRecId Extended Data Type
RecID of the RetailStaffLoginLog.storeId field.
- _terminalRecId
Type: RefRecId Extended Data Type
RecID of the RetailStaffLoginLog.terminalId field.
- _logoffFromStore
Type: boolean
True to logoff from store, false otherwise
Return Value
Type: container
The status as a container.
Exceptions
Exception | Condition |
---|---|
Error | Throws error if fails to delete. |