GetByKey Method (UtilReasLink)
- Last UpdatedNov 06, 2025
- 2 minute read
'Declaration
Public Shared Function GetByKey( _
ByVal entId As Integer, _
ByVal rawReasCd As String, _
ByVal reasCd As Integer _
) As DataSet
'Usage
Dim entId As Integer
Dim rawReasCd As String
Dim reasCd As Integer
Dim value As DataSet
value = UtilReasLink.GetByKey(entId, rawReasCd, reasCd)
Parameters
- entId
- Required filter parameter. Holds the ID of the entity whose utilization reason links are being retrieved.
- rawReasCd
- Required filter parameter. Holds the code of the raw reason from I/O whose utilization reason links are being retrieved.
- reasCd
- Required filter parameter. Holds the possible final reason code whose utilization reason links are being retrieved.
Return Value
Returns a DataSet that contains the record in the Util_Reas_Link table that match the specified filters. If no matching record is found, an empty DataSet is returned.
The columns of the returned DataSet are described below.
|
Column Name |
Description |
|---|---|
|
ent_id |
An integer that is the ID of the entity that is linked to this utilization reason. |
|
raw_reas_cd |
A string that is the raw reason code that is linked to this entity and reason. |
|
reas_cd |
An integer that is the reason code that is linked to this entity and raw reason code. |
|
ent_name |
A string that is the entity name, from the ent.ent_name column linked to this entity ID for this utilization reason. |
|
reas_desc |
A string that is the description of the reason, from the util_reas.reas_desc column linked to this reason. |
|
last_edit_comment |
A string that contains comments about why the record was changed. |
|
last_edit_by |
A string that is the ID of the user who added or last updated this record. |
|
last_edit_at |
A datetime that specifies when the record was added or last updated. |