Lot Constructor(String,Boolean)
- Last UpdatedNov 06, 2025
- 1 minute read
The Lot() method is the constructor used to instantiate a lot. This overload of the method loads the specified lot from the database and, optionally, the lot's attribute data if the loadAttributes flag is true. The overload uses a lot number to identify the lot.
'Declaration
Public Function New( _
ByVal lotNo As String, _
ByVal loadAttributes As Boolean _
)
public Lot(
string lotNo,
bool loadAttributes
)
Parameters
- lotNo
- Required. Holds the lot number being used to identify this lot.
- loadAttributes
- Required. Holds a flag that, if set to true, specifies that the item's attributes should also be loaded.