GetAll Method (LaborRawReas)
- Last UpdatedNov 06, 2025
- 2 minute read
The GetAll() method retrieves one or more labor raw reason records from the Labor_Raw_Reas table, as specified by the filter parameters. Passing no filter parameters will retrieve all labor raw reason records from the table.
'Declaration
Public Shared Function GetAll( _
ByVal entId As Nullable(Of Integer), _
ByVal rawReasCd As String, _
ByVal prompt As Nullable(Of Boolean), _
ByVal defLabCd 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 prompt As Nullable(Of Boolean)
Dim defLabCd As String
Dim lastEditBy As String
Dim lastEditAt As Nullable(Of Date)
Dim value As DataSet
value = LaborRawReas.GetAll(entId, rawReasCd, prompt, defLabCd, lastEditBy, lastEditAt)
public static DataSet GetAll(
Nullable<int> entId,
string rawReasCd,
Nullable<bool> prompt,
string defLabCd,
string lastEditBy,
Nullable<DateTime> lastEditAt
)
Parameters
- entId
- Optional filter parameter. Holds the ID of an entity.
- rawReasCd
- Optional filter parameter. Holds a raw reason code from I/O.
- prompt
- Optional filter parameter. Holds the flag that specifies whether there is a prompt for the final labor category.
- defLabCd
- Optional filter parameter. Holds the code for a default labor category for a raw reason.
- 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_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 Labor_Raw_Reas table. |
|
raw_reas_cd |
A string that is the raw reason code, from the Labor_Raw_Reas table. |
|
prompt |
A Boolean that is a flag that indicates whether this reason should be flagged or not, from the Labor_Raw_Reas table. |
|
def_lab_cd |
A string that is the default labor code. |
|
lab_desc |
A string that is the description of labor category, from the labor_cat.lab_desc column linked to the Labor_Raw_Reas record. |
|
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. |