GetAllTopLevel Method
- Last UpdatedMar 17, 2026
- 2 minute read
'Declaration
Public Shared Function GetAllTopLevel() As DataSet
public static DataSet GetAllTopLevel()
Return Value
Returns a DataSet that contains all of the top-level entity records in the Ent table. If no matching records are found, an empty DataSet is returned.
The columns of the returned DataSet are described below.
|
Column Names |
Description |
|---|---|
|
ent_id |
An integer that is the ID of the entity, from the Ent table. |
|
ent_name |
A string that is the entity name, from the Ent table. |
|
description |
A string that is the description for the entity, from the Ent table |
|
parent_ent_id |
An integer that is the default preferred parent entity ID, null for a top-level entity. If an entity has multiple parents, this is the parent entity from which will inherit elements that can only be inherited from one parent entity (e.g., shift schedule). |
|
hourly_cost |
A float that is the hourly cost of running this entity, from the Ent table. |
|
can_sched_jobs |
A Boolean flag that indicates whether the jobs can be scheduled to this entity. |
|
can_run_jobs |
A Boolean flag that indicates whether the jobs can be run on this entity. |
|
can_capture_util |
A Boolean flag that indicates whether the utilization data can be captured on this entity. |
|
can_capture_labor |
A Boolean flag that indicates whether the labor data can be captured on this entity. |
|
can_do_dnc |
Not used. Will always return False. |
|
can_track_oee |
A Boolean flag that indicates whether the OEE statistics can be captured on this entity |
|
can_sched_shifts |
A Boolean flag that indicates whether shifts can be scheduled for this entity. |
|
can_store |
A Boolean flag that indicates whether this entity can be a “warehouse” or storage location. |
|
can_log_data |
A Boolean flag that indicates whether this entity can log data. |
|
cur_shift_id |
An integer that is the ID of the current shift on this entity. |
|
cur_shift_start_time |
A datetime that is the current shift start time for this entity in UTC. |
|
last_domain_change |
A datetime that indicates when the last domain was changed, from the Ent table. |
|
cree_icon |
A string that is the graphic to use for tree icon. |
|
flow_dlg_img |
A string that is the graphic to use for flow diagram image. |
|
identical_jobs_execs |
An integer that is the number of identical ‘positions’ that can run independent jobs on this entity (e.g., used for batching jobs in a furnace, etc.). |