GetLocEnts(String,String) Method
- Last UpdatedNov 06, 2025
- 1 minute read
The GetLocEnts() method retrieves a data structure that represents a tree of the specified storage entity and its movable entities. Movable entities can include other movable entities.
For this overload of the method, the entity is identified by its entity name and site name.
'Declaration
Public Overloads Shared Function GetLocEnts( _
ByVal entName As String, _
ByVal siteName As String _
) As DataSet
'Usage
Dim entName As String
Dim siteName As String
Dim value As DataSet
value = StorageExec.GetLocEnts(entName, siteName)
Parameters
- entName
- Optional filter parameter. Holds the name of an entity.
- siteName
- Optional filter parameter. Holds the site name of an entity.
Return Value
Returns a DataSet that contains a record for the specified entity and each of its movable entities. If no matching records are found, an empty DataSet is returned.
The columns of the returned DataSet are described below.
|
Column Name |
Description |
|---|---|
|
t_ent_id |
An integer that is the ID of the entity to which this location belongs, from the Storage_Exec table. |
|
t_ent_name |
A string that is the unique entity name, from the Ent table. |
|
t_storage_ent_id |
An integer that is the ID of the entity to which this location is currently stored, from the Storage_Exec table. |
|
t_storage_ent_name |
A string that is the name of the storage entity, from the Ent table. |