GetByKey(Int32,Boolean) Method
- Last UpdatedNov 06, 2025
- 1 minute read
The GetByKey() method retrieves the specified entity's OEE exec record from the Oee_Exec table.
This overload of the method includes the getCurrentOee parameter.
'Declaration
Public Overloads Shared Function GetByKey( _
ByVal entId As Integer, _
ByVal getCurrentOee As Boolean _
) As DataSet
public static DataSet GetByKey(
int entId,
bool getCurrentOee
)
Parameters
- entId
- Required. Holds the ID of the entity whose OEE exec record is being retrieved.
- getCurrentOee
- Required. Holds a flag that, if set to false, specifies that the system will not be triggered to recalculate the current OEE value. Defaults to true.
Return Value
Returns a DataSet that contains the DataRow of the specified entity's OEE exec record in the OEE_Exec table. If no matching record for the specified OEE exec is found, an empty DataSet is returned.