DeleteLotState
Deletes a LotState from the material database.
Syntax
MaterialSvr
.DeleteLotState
(LotState
As LotState)The
DeleteLotState
method syntax has these parts:Part | Description |
MaterialSvr | Instance of the MaterialServer Interface to which the method is directed. |
LotState | An instance of a LotState object. |
Remarks
A LotState can only be deleted if no Lots are using it. There is no provision in this method to override this functionality, nor is there a way to unassociate the Lots that are using the LotState.
The ‘Ready To Use’ LotState is system-defined and cannot be deleted.
Provide Feedback