RetailTransactionService::getManagerHistoryUtc Method [AX 2012]

Gets a logbook of time registrations for the manager in UTC time zone.

Syntax

client server public static container getManagerHistoryUtc(
   [HcmPersonnelNumberId _personnelNumber, 
    str _storeIds, 
    str _regTypesStr, 
    utcdatetime _fromDate, 
    utcdatetime _toDate, 
    str _jobIds, 
    int64 _top, 
    int64 _skip, 
    str _orderByField, 
    SortOrder _sortOrder])

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.
  • _jobIds
    Type: str
    Job Ids of the break activities (comma separated value CSV of store IDs).
  • _top
    Type: int64
    The top count, i.e. the number of employee activities to get.
  • _skip
    Type: int64
    The skip number, i.e. the number of employee activities to skip.
  • _orderByField
    Type: str
    The order by field name.

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