GetDescLocs(String,String) Method
- Last UpdatedNov 06, 2025
- 2 minute read
The GetDescLocs() method retrieves the top two storage locations contained within the supplied entity hierarchy.
For this overload of the method, the entity is identified by its entity name and site name.
'Declaration
Public Overloads Shared Function GetDescLocs( _
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.GetDescLocs(entName, siteName)
Parameters
- entName
- Required. Holds the name of the entity to which the locations belong.
- siteName
- Optional. Holds the site name of the entity to which the locations belong.
Return Value
Returns a DataSet that contains a record for each of the top two storage locations with the entity's hierarchy. If no matching records for the specified entity is 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 movable entity, from the Storage_Exec.ent_id column. |
|
ent_name |
A string that is the name of the movable entity, from the ent.ent_name column linked to this Storage_Exec.ent_id. |
|
description |
A string that is the description of the movable entity, from the ent.description column linked to this Storage_Exec.ent_id |
|
source_ent_id |
An integer that is the container entity for this entity, from the Storage_Exec.source_ent_id column. |
|
source_ent_name |
A string that is the name of the container entity, from the ent.ent_name column linked to this Storage_Exec.storage_ent_id column. |
|
source_ent_description |
A string that is the description of the container entity, from the ent.ent_name column linked to this Storage_Exec.storage_ent_id column. |
|
inv_level |
An integer that is the hierarchy of movable entities that is contained within the supplied entity. |