GetUtilLogData Method (Util)
- Last UpdatedNov 06, 2025
- 1 minute read
The GetUtilLogData() method retrieves data from the Util_Log table for the specified entity and start time. All data with a starting time equal to or after the specified start time is returned.
A flag determines whether the Util_Log table's shift_start field or event_time field is used to filter the data. If the shift_start field is used, then only Util_Log records whose shift_start is greater than or equal to the provided startTime parameter is returned. Similarly, if the data is filtered by event_time, then only Util_Log records whose event_time is greater than or equal to startTime is returned.
Parameters
- entID
- Required. Holds the ID of the entity for which the utilization log data is being retrieved.
- startTime
- Holds the start time on which the utilization log data retrieval is based. Records with a start time at or after this start time will be retrieved.
- useShiftStartTime
- Required. Holds the flag that, if set to true, indicates that the start time is the start of the shift. Set the flag to false to indicate that the start time is the start of the event.
Return Value
Returns a DataSet containing a row from the Util_Log table for the specified
entity and start time.