GetStorageLocationsForItem Method
- Last UpdatedNov 06, 2025
- 1 minute read
The GetStorageLocationsForItem() method retrieves one or more storage records from the Ent table, as specified by the filter parameters. Passing no filter parameters will retrieve all storage records from the table.
This method returns a DataSet containing a row for each entity which stores a particular item optionally for a particular work order.
Parameters
- itemID
- Required. Holds the item ID.
- woID
- Required. Holds the work order ID or a null if the work order is not to be considered.
Return Value
Returns a DataSet that contains all the records in the YYY 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.
| Exception | Description |
|---|---|
| System.Exception | Thrown if an error occurs retrieving the information from the database. |