Ent Class Members
- Last UpdatedNov 06, 2025
- 10 minute read
The following tables list the members exposed by Ent.
| Name | Description | |
|---|---|---|
![]() | CanCaptureLabor | The CanCaptureLabor property is a read-only property that contains a flag that indicates if the current entity can capture labor. |
![]() | CanCaptureQMData | The CanCaptureQMData property is a read-only property that contains a flag that indicates if the current entity can capture QM data. |
![]() | CanCaptureUtil | The CanCaptureUtil property is a read-only property that contains a flag that indicates whether this entity can capture utilization. |
![]() | CanDoDNC | The CanDoDNC property is not used. It will always return False. |
![]() | CanLogData | The CanLogData property is a read-only property that contains a flag that indicates if the current entity can log data. |
![]() | CanRunJobs | The CanRunJobs property is a read-only property that contains a flag that indicates whether this entity can run jobs. |
![]() | CanSchedJobs | The CanSchedJobs property is a read-only property that contains a flag that indicates if the current entity can schedule jobs. |
![]() | CanSchedShifts | The CanSchedShifts property is a read-only property that contains a flag that indicates if the current entity can schedule shifts. |
![]() | CanStore | The CanStore property is a read-only property that contains a flag that indicates if the current entity can store inventory. |
![]() | CanTrackOEE | The CanTrackOEE property is a read-only property that contains a flag that indicates whether this entity can track OEE. |
![]() | CertExec | The CertExec property is a read-only property that contains the CertExec object that handles the certification functions for the current entity. If the entity does not have the "Can Run Jobs" capability, this property will be null. |
![]() | CurShiftDesc | The CurShiftDesc property is a read-only property that contains the current shift description. |
![]() | CurShiftID | The CurShiftID property is a read-only property that contains the current shift ID. |
![]() | CurShiftStartTime | The CurShiftStartTime property is a read-only property that contains the current shift start time. |
![]() | EntDesc | The EntDesc property is a read-only property that contains the description of the entity represented by this entity. |
![]() | EntId | The EntID property is a read-only property that contains the ID of the entity represented by this Ent object. |
![]() | EntName | The EntName property is a read-only property that contains the name of the entity represented by the entity object. |
![]() | FoldersExec | The FoldersExec property is a read-only property that contains the FoldersExec object that handles folders functions for this entity. |
![]() | JobExec | The JobExec property is a read-only property that contains the JobExec object that handles job execution functions for this entity. If the entity does not have the "Can Run Jobs" capability, this property will be null. |
![]() | LaborExec | The LaborExec property is a read-only property that contains the LaborExec object that handles the Labor functions for this entity. If the entity does not have the "Can Capture Labor" capability, this property will be null. |
![]() | NumberOfJobsEntCanRun | The NumberOfJobsEntCanRun property is a read-only property that contains the maximum number of jobs the current entity can run consecutively based on its maximum number of defined job_execs. |
![]() | NumberOfRunningJobs | The NumberOfRunningJobs property is a read-only property that contains the number of jobs currently running on the entity. This value is greater than one only if the entity can run more than one job at a time. |
![]() | OEEExec | The OEEExec property is a read-only property that contains the OEE data for the current entity. If the entity does not have the "Can Track OEE" capability, this property will be null. |
![]() | Site | The Site property is a read-only property that contains the entity ID of the site at which the current entity is located. If this property is equal to the EntID of the ent object, this entity is the site. If this property is null, the entity is above sites, or is part of a single-site system. |
![]() | SiteName | The SiteName property is a read-only property that contains the name of the site at which this entity is located. |
![]() | StorageExec | The StorageExec property is a read-only property that contains the StorageExec object that handles the Inventory functions for this Ent object. If the entity does not have the "Can Store" capability, this property will be null. |
![]() | User | The User property is a read-only property that contains the parent User object for the current entity. |
![]() | UtilExec | The UtilExec property is a read-only property that contains the UtilExec object that handles utilization execution functions for this Ent object. If the entity does not have the "Can Capture Util" capability, this property will be null. |
| Name | Description | |
|---|---|---|
![]() | AddDirectory | Overloaded. This overload of the AddDirectory() method adds a directory to the directories of the current entity. A sequence number is passed to indicate whether the directory is an upload or download directory. The directory is saved in the dir table. |
![]() | AddShift | The AddShift() method adds a shift to the entity shift schedule of the current entity if the entity can schedule shifts. Note: This method is no longer supported. Use the corresponding method in the Stateless API ShiftSchedule class. |
![]() | CopyEntityShiftSchedule | The CopyEntityShiftSchedule() method takes a list of entity IDs and a string containing ordered pairs of shifts and copies the shift schedule from the entity defined by this entity object into each entity in the entity list. The shift schedule is copied to a listed entity only if that entity can schedule shifts. Only those shifts that are identified are copied from the shift ID list. If a shift ID list is not available, all shifts defined for the entity are copied. Note: This method is no longer supported. Use the corresponding method in the Stateless API ShiftSchedule class. |
![]() | DeleteShift | The DeleteShift() method removes the shift identified by the input parameters from the shift schedule of the entity identified by the entity object. Note: This method is no longer supported. Use the corresponding method in the Stateless API ShiftSchedule class. |
![]() | EndJob | The EndJob() method ends the job that is identified by the input parameters. If the job is a part of a batch, an attempt is made to end all jobs in the batch. Ending a job changes the job state to Completed. |
![]() ![]() | EntIdFromName | The EntIdFromName() method returns the entity ID of an entity, specified by its name. The entity ID is a unique integer value that represents each entity. If no entity is found, the method returns the value -1. |
![]() ![]() | GetAllEntities | The GetAllEntities() methods retrieves all entities. |
![]() | GetDirectories | Overloaded. This overload of the GetDirectories() method retrieves the directories that are configured for the current entity. If a sequence number is specified, only the directory with a matching sequence number is returned. |
![]() | GetEntAttributes | The GetEntAttributes() method retrieves a DataSet of entity attributes. The DataSet can be filtered by an entity ID and/or an attribute ID. |
![]() ![]() | GetEntitiesWhichCanCaptureQMData | The GetEntitiesWhichCanCaptureQMData() method retrieves a DataSet of all the entities which can capture qm data |
![]() | GetEntityShiftSchedule | The GetEntityShiftSchedule() method retrieves a DataSet containing all shifts defined for the entity by the entity object. |
![]() | GetJobPos | The GetJobPos() method retrieves the job position of the specified job by determining the job exec for the current entity on which the job is running. |
![]() | GetJobString | The GetJobString() method retrieves a string containing the job information for the job that is running at the specified job position. The job information includes the job's work order, operation, and sequence. |
![]() | GetNumberOfJobsOnEntUserLoggedInto | The GetNumberOfJobsOnEntUserLoggedInto() method returns the number of jobs running on the entity into which the current user is logged. |
![]() | GetUsersOnEnt | The GetUsersOnEnt() method retrieves a list of all users who are logged into the current entity. |
![]() | PauseJob | The PauseJob() method pauses the specified job that is currently running on this entity, or changes the paused state to another paused state. The job status is set to New, Suspended, or On Hold. |
![]() | PrepareProductionAttributes | The PrepareProductionAttributes() method accepts a set of values for all production attributes and creates a data entry job to support logging utilization against these attributes. |
![]() | ProcessJobsBeforeLogoff | The ProcessJobsBeforeLogoff() method processes the jobs being logged off by the specified user. The method first checks the system parameter to 'prompt for quantities' to see if it is true. If it is true, for each job the user is logging off, the user is prompted to enter production quantities. The method then determines if the user is the only user currently logged into the job and if the job can run without an operator. If it cannot, the job pauses before logging the user off of the job. |
![]() | PromptForQuantities | Overloaded. This overload of the PromptForQuantities() method prompts the user for production quantities for each running job that the user is logged onto on the entity. |
![]() | SetCurJobExec | Overloaded. This overload of the SetCurJobExec() method sets the current job exec to the job position on which the specified job is running. This sets the specified job as the current job on which the user is working. |
![]() | SetEntAttributes | The SetEntAttributes() method sets the value of the specified entity attribute for the given entity. |
![]() | StartJob | The StartJob() method starts a specified job on the entity. It searches for the first available job position and starts the job at that position. The entity contains multiple job positions if it can run multiple jobs at one time. A job position is available if no job is currently running on the exec. |
![]() | ToString | Returns a string that represents the current object.The ToString() method returns the name of the entity. |
![]() | UpdateEntity | The UpdateEntity() method updates the entity that is identified by the entity object with the new values supplied. |
![]() | UpdateJobExec | The UpdateJobExec() method updates the job exec record for the entity that is identified by this entity object. The method includes a lastEditAt DateTime parameter that can be used for optimistic concurrency control. |
![]() | UpdateShift | The UpdateShift() method updates the shift defined by the input parameters for the entity that is identified by the ent object. The method includes a lastEditAt DateTime parameter that can be used for optimistic concurrency control. Note: This method is no longer supported. Use the corresponding method in the Stateless API ShiftSchedule class. |


