GetLotList

Returns a list of Lots. This is a string representing the material name that is used by the ContainerFilter to filter on in a multi-dimensioned array.
Syntax
vResult
=
MaterialSvr
.
GetLotList
(ByVal
LotFilter As
LotFilterEnum
,
ByVal
FilterValue
As String)
The
GetLotList
method syntax has these parts:
Part
Description
vResult
The data returned by the Material Server.
MaterialSvr
Instance of the MaterialServer Batch Interface to which the method is directed.
LotFilter
An enumeration representing a set of pre-defined filters:
0 = GetAllLots
1 = ByMaterialName
FilterValue
Where
vResult
is:
Part
Description
vResult
Is a two-dimensional array containing
<Empty Array> | <LotData>
LotData
Array Element [0] = PKid
Array Element [1] = Lot Name
Array Element [2] = Description
Array Element [3] = ControllerID
Remarks
In order to test for an empty array, you must test the upper and lower bounds of the
vContainerList
array. If both bounds are zero, then the array is empty and can be treated as such.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal