Share via


RetailTransactionService::getManagerHistory Method [AX 2012]

Gets a logbook of time registrations for the manager.

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 getManagerHistory(
           [HcmPersonnelNumberId _personnelNumber, 
            str _storeIds, 
            str _regTypesStr, 
            utcdatetime _fromDate, 
            utcdatetime _toDate, 
            JmgJobId _jobId])

  Microsoft Dynamics AX 2012 R2 (SYS)
          client server public static container getManagerHistory(
           [HcmPersonnelNumberId _personnelNumber, 
            RetailStoreId _storeId, 
            str _regTypesStr, 
            utcdatetime _fromDate, 
            utcdatetime _toDate, 
            JmgJobId _jobId])

Run On

Called

Parameters

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

Return Value

Type: container
A container having history of time registrations.

Remarks

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

See Also

Reference

RetailTransactionService Class