UpdateUtilReason(String,String,String,String,String,String,String,String,String,String,String,String,Nullable<DateTime>) Method
- Last UpdatedNov 06, 2025
- 2 minute read
'Declaration
Public Overloads Shared Sub UpdateUtilReason( _
ByVal reasCd As String, _
ByVal reasonDesc As String, _
ByVal reasonGrpId As String, _
ByVal stateCd As String, _
ByVal runtime As String, _
ByVal downtime As String, _
ByVal setuptime As String, _
ByVal teardowntime As String, _
ByVal fixedtime As String, _
ByVal vartime As String, _
ByVal defLabCd As String, _
ByVal displaySeq As String, _
ByVal lastEditAt As Nullable(Of Date) _
)
public static void UpdateUtilReason(
string reasCd,
string reasonDesc,
string reasonGrpId,
string stateCd,
string runtime,
string downtime,
string setuptime,
string teardowntime,
string fixedtime,
string vartime,
string defLabCd,
string displaySeq,
Nullable<DateTime> lastEditAt
)
Parameters
- reasCd
- Required. Holds the reason code.
- reasonDesc
- Required. Holds the description.
- reasonGrpId
- Required. Holds the group ID.
- stateCd
- Required. Holds the state code.
- runtime
Required. Holds a value indicating whether the utilization reason counts toward runtime events (acts as a boolean).
- downtime
Required. Holds a value indicating whether the utilization reason counts toward downtime events (acts as a boolean).
- setuptime
Required. Holds a value indicating whether the utilization reason counts toward setup time events (acts as a boolean).
- teardowntime
Required. Holds a value indicating whether the utilization reason counts toward teardown time events (acts as a boolean).
- fixedtime
Required. Holds a value indicating whether the utilization reason counts toward fixed time events (acts as a boolean).
- vartime
Required. Holds a value indicating whether the utilization reason counts toward variable time events (acts as a boolean).
- defLabCd
- Required. Holds the default labor code to be used for the utilization reason being updated. This may be an empty string.
- displaySeq
- Required. Holds the utilization reason's display sequence number.
- lastEditAt
Optional. Holds a DateTime value to avoid data contention. If it is specified, the passed value must match the lastEditAt value in the database for the update to succeed.