GetAll Method (LineEntLink)
- Last UpdatedNov 06, 2025
- 3 minute read
'Declaration
Public Shared Function GetAll( _
ByVal lineId As Nullable(Of Integer), _
ByVal entId As Nullable(Of Integer), _
ByVal lineIsChild As Nullable(Of Boolean), _
ByVal segmentNumber As Nullable(Of Integer), _
ByVal canBeBottleneck As Nullable(Of Boolean), _
ByVal lastEditBy As String, _
ByVal lastEditAt As Nullable(Of Date) _
) As DataSet
'Usage
Dim lineId As Nullable(Of Integer)
Dim entId As Nullable(Of Integer)
Dim lineIsChild As Nullable(Of Boolean)
Dim segmentNumber As Nullable(Of Integer)
Dim canBeBottleneck As Nullable(Of Boolean)
Dim lastEditBy As String
Dim lastEditAt As Nullable(Of Date)
Dim value As DataSet
value = LineEntLink.GetAll(lineId, entId, lineIsChild, segmentNumber, canBeBottleneck, lastEditBy, lastEditAt)
public static DataSet GetAll(
Nullable<int> lineId,
Nullable<int> entId,
Nullable<bool> lineIsChild,
Nullable<int> segmentNumber,
Nullable<bool> canBeBottleneck,
string lastEditBy,
Nullable<DateTime> lastEditAt
)
Parameters
- lineId
- Optional filter parameter. Holds the ID of a production line or line class.
- entId
- Optional filter parameter. Holds the ID of an entity or entity class.
- lineIsChild
- Optional filter parameter. Holds the flag that specifies whether the line is a child.
- segmentNumber
- Optional filter parameter. Holds an entity segment number.
- canBeBottleneck
- Optional filter parameter. Holds the flag that specifies whether the entity can be considered as a bottleneck entity for a line.
- lastEditBy
- Optional filter parameter. Holds the name of the user who added or last changed an entity record.
- lastEditAt
- Optional filter parameter. Holds a date/time of when an entity record was added or last changed.
Return Value
Returns a DataSet that contains all the records in the Line_Ent_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 |
|---|---|
|
line_id |
An integer that is the ID of the line or line class. |
|
ent_id |
An integer that is the ID of the entity or entity class. |
|
child_order |
An integer that returns the relative order number of the entity in a line, or of the entity class in a line class. |
|
input_pct |
A double value indicating for parallel entities in a line how much of the outflow from the set of child entities with the same parent and a child_order that is the next lower value to this one goes to the child entity. |
|
line_is_child |
A Boolean that indicates whether the entity belongs to the line. If true, the entity belongs to the line. If false, the entity is the parent of the line (e.g., the entity is a building or a site). |
|
segment_no |
An integer that is the line segment number of the line of which the entity is a part. This value will be null (the default) if the entity is not part of a line segment. It will always be null if the line_is_child flag is true. For line classes, if the value is 1, it indicates that when multiple entities are identified from this entity class for lines instantiated from this line class, the entities should by default be placed in separate segments. It should not be possible to save a line or a line class for which this value is not null for at least two adjacent child_order values (i.e., no segments that are only one position long). |
|
can_be_bottleneck |
A flag that, if true (the default), indicates that the entity is to be considered when determining the bottleneck entity for a line. If the entity cannot run jobs, then the flag will be false. This flag is not meaningful if line_is_child is true. For an entity class, this flag's setting serves as a default setting for entities selected from that class. |
|
ent_enabled |
A flag that, if true (the default), indicates that the entity is not to be bypassed by work orders and, if false, it is to be bypassed by work orders. This flag is meaningless for line classes or when line_is_child is true. |
|
last_edit_comment |
A string that is the comment about why the record was added or changed. |
|
last_edit_by |
A string that is the user ID of the user who added or last edited this record. |
|
last_edit_at |
A datetime that identifies when the record was added or last modified. |