Share via


RetailTransactionService::getWorkerCurrentTimeRegistrationState Method [AX 2012]

Gets an information about the current worker's time registration status.

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 getWorkerCurrentTimeRegistrationState(HcmPersonnelNumberId _personnelNumber, [RetailTerminalId _terminalId])

  Microsoft Dynamics AX 2012 R2 (SYS)
          client server public static container getWorkerCurrentTimeRegistrationState(HcmPersonnelNumberId _personnelNumber)

Run On

Called

Parameters

Return Value

Type: container
A container having information about the type of latest worker's time registration.

Remarks

If time registration fails, returned container will also have an error message.

See Also

Reference

RetailTransactionService Class