RetailTransactionServiceEmployee::getWorkerCurrentTimeRegistrationState Method [AX 2012]

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

client server public static container getWorkerCurrentTimeRegistrationState(HcmPersonnelNumberId _personnelNumber, [RetailTerminalId _terminalId])

Run On



Type: HcmPersonnelNumberId Extended Data Type
Personnel number of the worker.
Type: RetailTerminalId Extended Data Type
Terminal id associated with the time registration.

Return Value

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

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