RetailTransactionServiceEmployee::getWorkerCurrentTimeRegistrationState Method [AX 2012]
Gets an information about the current worker's time registration status.
Syntax
client server public static container getWorkerCurrentTimeRegistrationState(HcmPersonnelNumberId _personnelNumber, [RetailTerminalId _terminalId])
Run On
Called
Parameters
- _personnelNumber
Type: HcmPersonnelNumberId Extended Data Type
Personnel number of the worker.
- _terminalId
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.
Remarks
If time registration fails, returned container will also have an error message.