DeleteContainer

Deletes a Container from the material database.
Syntax
MaterialSvr
.
DeleteContainer
(
Container
As Container, [
ActivityDescription
As String])
The
DeleteContainer
method syntax has these parts:
Part
Description
MaterialSvr
Instance of the MaterialServer Interface to which the method is directed.
Container
An instance of a Container object.
ActivityDescription
Adds descriptive text to the activity journal for this operation. (
Optional
)
Remarks
Along with the deletion of the Container, all associated ContainerProperties, ContainerPriorities, ContainerMaterials and Promises are deleted from the database when this method is executed.
Containers cannot be deleted if they are in use by any SubLot in the material database.
The ‘Virtual Container’ is a system-defined Container that cannot be deleted via this method or any other means.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal