LogonEnt(String,String,String,Nullable<Double>) Method
- Last UpdatedNov 06, 2025
- 1 minute read
The LogonEnt() method logs the operator on to a single entity and specifies the current labor code and percent labor to apply to this labor code. The labor code is used to specify to what labor category this job is currently assigned or against what labor category the job is collecting labor.
This overload of the method specifies the entity by its site and entity name.
'Declaration
Public Overloads Sub LogonEnt( _
ByVal site As String, _
ByVal entName As String, _
ByVal curLabCd As String, _
ByVal pctToApply As Nullable(Of Double) _
)
public void LogonEnt(
string site,
string entName,
string curLabCd,
Nullable<double> pctToApply
)
Parameters
- site
Optional. Holds the name of the site where the entity is located. This parameter is needed only if there are multiple sites. Set its value to null if this parameter is not needed.
- entName
- Required. Holds the name of the entity to log the user on to.
- curLabCd
- Optional. Holds the current labor code for the user for the entity. Set to null if not required.
- pctToApply
- Optional. Holds the percentage of the user's time that should be applied to this entity. Set to null if not required.