GetDestInvLocs(Nullable<Int32>,String,String) Method
- Last UpdatedNov 06, 2025
- 2 minute read
The GetDestInvLocs() method retrieves a list of all entities, movable and non-movable, that contain inventory.
For this overload of the method, the optional entity filter is identified by its entity ID.
'Declaration
Public Overloads Shared Function GetDestInvLocs( _
ByVal entId As Nullable(Of Integer), _
ByVal woId As String, _
ByVal operId As String _
) As DataSet
'Usage
Dim entId As Nullable(Of Integer)
Dim woId As String
Dim operId As String
Dim value As DataSet
value = StorageExec.GetDestInvLocs(entId, woId, operId)
Parameters
- entId
- Optional filter parameter. Holds the ID of an entity. If a valid ID is passed, any movable entities and their descendants located at this entity are included in the dataset
- woId
- Optional filter parameter. Holds the ID of a work order for a job. Used with the operId parameter to specify entities for which the corresponding job has been scheduled or run. Any movable entities located at any of these entities will be included in the returned DataSet.
- operId
- Optional filter parameter. Holds the ID of an operation for a job. Used with the woId parameter to specify entities for which the corresponding job has been scheduled or run. Any movable entities located at any of these entities will be included in the returned DataSet.
Return Value
Returns a DataSet that contains a record for each entity that contains inventory, according to the filter parameters that were passed. If all of the filters are null, or 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 Storage_Exec.ent_id column, that contains an inventory of serialized parts. |
|
ent_name |
A string that is the name of the entity, from the ent.ent_name column linked to this entity (Storage_Exec.ent_id). |
- A dataset is returned which contains the list of columns specified in the output section. The dataset contains a list of all the moveable and non movable entities that contain the inventory.
- If a non null value for the work order and operation is supplied, then the entities retrieved will be limited to the set of entities to the job to which these selections is scheduled or run, and any movable entities located at any of these entities identified in the previous step are included in the dataset.
- If a non null value for the entity is supplied, any movable entities and their descendants located at this entity are included in the dataset.
- If all of the supplied filters are null, then an empty dataset is returned to the caller of this method. If no rows are found for the specified parameters, an empty dataset will be returned. Any exceptions thrown by the middleware is sent back to the caller who is calling this method.