DeleteMaterialType

Deletes a MaterialType record from the material database.
Syntax
MaterialSvr
.
DeleteMaterialType
(
MaterialType
As MaterialType)
The
DeleteMaterialType
method syntax has these parts:
Part
Description
MaterialSvr
Instance of the MaterialServer Interface to which the method is directed.
MaterialType
An instance of a MaterialType object.
Remarks
A Material Type can only be deleted if there are no Materials using it. There is no provision in this method to override this functionality or unassociate the Materials that are using the MaterialType. The MaterialTypes ‘Raw’, ‘Intermediate’, and ‘Finished’ are system-defined MaterialTypes and cannot be deleted.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal