RetailTransactionServiceEmployee::getManagerHistory Method [AX 2012]

Gets a logbook of time registrations for the manager.

client server public static container getManagerHistory(
   [HcmPersonnelNumberId _personnelNumber, 
    str _storeIds, 
    str _regTypesStr, 
    utcdatetime _fromDate, 
    utcdatetime _toDate, 
    JmgJobId _jobId])

Run On

Called

Parameters

_personnelNumber
Type: HcmPersonnelNumberId Extended Data Type
Personnel number of the worker.
_storeIds
Type: str
Ids of stores, where time registration can be viewed (comma separated value CSV of store IDs).
_regTypesStr
Type: str
The type of time registration (comma seperated value CSV of filters - up to 10 len).
_fromDate
Type: utcdatetime
Lower bound of the history returned.
_toDate
Type: utcdatetime
Upper bound of the history returned.
_jobId
Type: JmgJobId Extended Data Type
Job Id of the specific break.

Return Value

Type: container
A container having history of time registrations.

_jobId parameter is used only if _regType == JmgTermRegType::BrkFlowStart, otherwise it will be skipped if _regType == JmgTermRegType::BrkFlowStart and _jobId param is empty or not set, the method will return all the records with break activity disregarding the kind of break

Show: