RetailTransactionService::staffLogOff Method [AX 2012]
Method deletes the record from RetailStaffLoginLog table.
Syntax
Note
The syntax of this method varies based on the version of Microsoft Dynamics AX that you are using.
Microsoft Dynamics AX 2012 R3
client server public static container staffLogOff(
RetailStaffId _staffId,
RetailStoreId _storeId,
RetailTerminalId _terminalId,
[boolean _logoffFromStore])
Microsoft Dynamics AX 2012 R2 (SYS)
client server public static container staffLogOff(
RetailStaffId _staffId,
RetailStoreId _storeId,
RetailTerminalId _terminalId)
Run On
Called
Parameters
- _staffId
Type: RetailStaffId Extended Data Type
ID of the RetailStaffLoginLog.staffId field.
- _storeId
Type: RetailStoreId Extended Data Type
ID of the RetailStaffLoginLog.storeId field.
- _terminalId
Type: RetailTerminalId Extended Data Type
ID of the RetailStaffLoginLog.terminalId field.
- _logoffFromStore
Type: boolean
Return Value
Type: container
The status as a container.
Exceptions
Exception | Condition |
---|---|
Error | Throws error if fails to delete. |