GetAll Method (UtilRawReas)
- Last UpdatedNov 06, 2025
- 2 minute read
'Declaration
Public Shared Function GetAll( _
ByVal entId As Nullable(Of Integer), _
ByVal rawReasCd As String, _
ByVal defReasCd As Nullable(Of Integer), _
ByVal prompt As Nullable(Of Boolean), _
ByVal lastEditBy As String, _
ByVal lastEditAt As Nullable(Of Date) _
) As DataSet
'Usage
Dim entId As Nullable(Of Integer)
Dim rawReasCd As String
Dim defReasCd As Nullable(Of Integer)
Dim prompt As Nullable(Of Boolean)
Dim lastEditBy As String
Dim lastEditAt As Nullable(Of Date)
Dim value As DataSet
value = UtilRawReas.GetAll(entId, rawReasCd, defReasCd, prompt, lastEditBy, lastEditAt)
public static DataSet GetAll(
Nullable<int> entId,
string rawReasCd,
Nullable<int> defReasCd,
Nullable<bool> prompt,
string lastEditBy,
Nullable<DateTime> lastEditAt
)
Parameters
- entId
- Optional filter parameter. Holds the ID of the entity whose utilization raw reason codes are being retrieved.
- rawReasCd
- Optional filter parameter. Holds the name of a utilization raw reason code whose record is being retrieved.
- defReasCd
- Optional filter parameter. Holds the code of a default reason for an entity.
- prompt
- Optional filter parameter. Holds a flag that indicates whether there will be a user prompt to select the reason for the raw reason code from a list of allowable reasons.
- lastEditBy
- Optional filter parameter. Holds the user who added or last changed this record.
- lastEditAt
- Optional filter parameter. Holds the date/time when this record was added or last edited.
Return Value
Returns a DataSet that contains the records in the Util_Raw_Reas table that satisfy the specified filters. If no matching records are 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, from the Util_Raw_Reas table. |
|
raw_reas_cd |
A string that is the raw reason code, from the Util_Raw_Reas table. |
|
ent_name |
A string that is the name of the entity, from the ent.ent_name column linked to this entity ID for this utilization raw reason. |
|
def_reas_cd |
An integer that is the default reason code for this entity when this raw reason code is selected. |
|
def_reas_desc |
A string that is the description for the default reason, from util_reas.reas_desc linked to this entity ID for this raw reason code. |
|
prompt |
A Boolean that is a flag that indicates whether there will be a user prompt to select the reason for the raw reason code from a list of allowable reasons, from the Util_Raw_Reas table. |
|
last_edit_comment |
A string that contains comments about why the record was added or 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. |