RetailTransactionService::staffLogout Method [AX 2012]
Deletes a record from RetailStaffLoginLog table.
Syntax
client server public static container staffLogout(
RetailStaffId _staffId,
RetailStoreId _storeId,
RetailTerminalId _terminalId)
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.
Return Value
Type: container
A container that contains a Boolean value that indicates whether the record was deleted successfully.
Exceptions
Exception | Condition |
---|---|
Error | Throws error if does not delete. |