GetConsData Method
- Last UpdatedNov 06, 2025
- 1 minute read
The GetConsData() method retrieves the consumption data for the current job. The consumption data can be filtered by user and by shift.
'Declaration
Public Function GetConsData( _
ByVal filterByUser As Boolean, _
ByVal shiftStart As String _
) As DataSet
public DataSet GetConsData(
bool filterByUser,
string shiftStart
)
Parameters
- filterByUser
- Required. Holds the filter flag that determines whether the consumption data for the current user (true) or for all users (false) should be retrieved.
- shiftStart
- Optional. Holds the shift start that identifies the shift for which the consumption data should be retrieved. Set to null to retrieve the consumption data for all shifts.
Return Value
Returns a DataSet containing rows for all the consumption records matching
the filter criteria.