GetUniqueEntsByUser Method
- Last UpdatedNov 06, 2025
- 2 minute read
Parameters
- userId
- Required. Holds the ID of the user whose entities are being retrieved.
Return Value
Returns a DataSet that contains all the records in the Ent_Logon table for the entities that can capture labor and that the specified user is logged onto. If no matching records are found, an empty DataSet is returned.
The columns of the returned DataSet are described below.
|
Column Name |
Description |
|---|---|
|
ent_id |
An integer that is the ID of the entity that the user has logged onto. |
|
ent_name |
A string that is the name of the entity, from the ent.ent_name column linked to this entity. |
|
description |
A string that is the description of the entity, from the ent.description column linked to this entity. |
|
pct_lab_to_apply |
A double that is the percentage of labor time applied for this entity. |
|
cur_lab_cd |
A string that is the current labor code. |
|
cur_lab_desc |
A string that is the labor description, from the labor_cat.lab_desc linked to this cur_lab_cd column. |
|
color |
An integer that indicates the background color that should be displayed on the user interface when this labor code is selected. |
|
cur_lab_dept_id |
A string that is the ID of the current department. |
|
cur_lab_dept_desc |
A string that is the description of the labor department, from the labor_dept.dept_desc linked to this cur_lab_dept_id column. |