Share via


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

  • _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.

See Also

Reference

RetailTransactionService Class