SetRawReason(Int32,String,DateTime,String,DBString,DBString,DBString,DBString) Method
- Last UpdatedNov 06, 2025
- 1 minute read
The SetRawReason() static method logs the change in utilization and sets the raw reason for the current utilization to the raw reason supplied. This overload of the method includes optional spare fields.
'Declaration
Public Overloads Shared Sub SetRawReason( _
ByVal EntID As Integer, _
ByVal RawReasonCode As String, _
ByVal ReasonStart As Date, _
ByVal Comments As String, _
ByVal spare1 As Fact.Common.DBString, _
ByVal spare2 As Fact.Common.DBString, _
ByVal spare3 As Fact.Common.DBString, _
ByVal spare4 As Fact.Common.DBString _
)
public static void SetRawReason(
int EntID,
string RawReasonCode,
DateTime ReasonStart,
string Comments,
Fact.Common.DBString spare1,
Fact.Common.DBString spare2,
Fact.Common.DBString spare3,
Fact.Common.DBString spare4
)
Parameters
- EntID
- Required. Holds the ID of the entity for which the utilization raw reason is being set.
- RawReasonCode
- Required. Holds the raw reason code to set.
- ReasonStart
- Required. Holds the date/time when the raw reason changed.
- Comments
- Required. Holds comments to add to the Util_Log table about the raw reason change.
- spare1
- Optional. Holds a string that is used for additional information.
- spare2
- Optional. Holds a string that is used for additional information.
- spare3
- Optional. Holds a string that is used for additional information.
- spare4
- Optional. Holds a string that is used for additional information.