UpdateUtilReason(String,String,String,String,String,String,String,String,String,String,String,String) Method
- Last UpdatedNov 06, 2025
- 2 minute read
The UpdateUtilReason() method updates the data of the specified utilization reason. This overload of the method uses a string to specify the reason code.
'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 _
)
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
)
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.