Share via


RetailTransactionServiceEmployee::staffLogOff Method [AX 2012]

Method deletes the record from RetailStaffLoginLog table.

Syntax

client server public static container staffLogOff(
    RetailStaffId _staffId, 
    RetailStoreId _storeId, 
    RetailTerminalId _terminalId, 
   [boolean _logoffFromStore])

Run On

Called

Parameters

  • _logoffFromStore
    Type: boolean
    ID of the RetailStaffLoginLog.terminalId field.

Return Value

Type: container
The status as a container.

Exceptions

Exception Condition
Error

Throws error if fails to delete.

See Also

Reference

RetailTransactionServiceEmployee Class