GetAll Method (LaborReasLink)
- Last UpdatedNov 06, 2025
- 2 minute read
The GetAll() method retrieves one or more labor reason link records from the Labor_Reas_Link table, as specified by the filter parameters. Passing no filter parameters will retrieve all labor reason link records from the table.
'Declaration
Public Shared Function GetAll( _
ByVal entId As Nullable(Of Integer), _
ByVal rawReasCd As String, _
ByVal labCd As String, _
ByVal lastEditBy As String, _
ByVal lastEditAt As Nullable(Of Date) _
) As DataSet
'Usage
Dim entId As Nullable(Of Integer)
Dim rawReasCd As String
Dim labCd As String
Dim lastEditBy As String
Dim lastEditAt As Nullable(Of Date)
Dim value As DataSet
value = LaborReasLink.GetAll(entId, rawReasCd, labCd, lastEditBy, lastEditAt)
public static DataSet GetAll(
Nullable<int> entId,
string rawReasCd,
string labCd,
string lastEditBy,
Nullable<DateTime> lastEditAt
)
Parameters
- entId
- Optional filter parameter. Holds the ID of an entity.
- rawReasCd
- Optional filter parameter. Holds the code of a raw reason.
- labCd
- Optional filter parameter. Holds the code of a labor category.
- lastEditBy
- Optional filter parameter. Holds the user who added or last updated this record.
- lastEditAt
- Optional filter parameter. Holds the date/time when this record was added or last updated.
Return Value
Returns a DataSet that contains all the records in the Labor_Reas_Link 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 that is linked to this raw reason code. |
|
raw_reas_cd |
A string that is the raw reason code, from the Labor_Reas_Link table. |
|
lab_cd |
A string that is the labor category code. |
|
ent_name |
A string that is the entity name, from the ent.ent_name column linked to this entity. |
|
lab_desc |
A string that is the description of the labor category, from the lab_cat.lab_desc column linked to this labor code. |
|
last_edit_comment |
A string that contains comments about why the record was added or updated. |
|
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 indicates when the record was added or last updated. |