GetStorageLocation

Returns a StorageLocation object populated with the specified StorageLocation data from the material database, based on the Storage Location Name.
Syntax
Set
object
=
MaterialSvr
.
GetStorageLocation
(ByVal
sName
As String,
UseCollection
As Boolean)
The
GetStorageLocation
method syntax has these parts:
Part
Description
object
Reference to a valid StorageLocation object.
MaterialSvr
Instance of the MaterialServer Interface to which the method is directed.
sName
Represents the ID of the StorageLocation record from the material database.
UseCollection
True:
Attempts to locate the specified StorageLocation in a pre-populated collection. If no collection is present, one is created and the record is read from the collection.
False:
Reads the record directly from the database.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal