GetLots

Returns a collection of 1 to N Lot objects.
Syntax
Set
object
=
MaterialSvr
.
GetLots
()
The
GetLot
method syntax has these parts:
Part
Description
object
Reference to a valid Lots collection object.
MaterialSvr
Instance of the MaterialServer Interface to which the method is directed.
TIP:
Because multiple Lots with the same name can exist in the material database this interface will fail if multiple Lots with the duplicate names exist. Because the key of the Lot collection is Name and since each key has to be unique, if duplicate Lot names exist the collection will stop at the first occurrence of a duplicate. If this is the case, consider using the Material.Lots property to get a collection of Lots for a given Material and loop through this collection to find the desired Lot.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal