DeleteStorageLocation
Deletes a StorageLocation record from the material database.
Syntax
MaterialSvr
.DeleteStorageLocation
(StorageLocation
As StorageLocation, [ActivityDescription
As String])The
DeleteStorageLocation
method syntax has these parts:Part | Description |
---|---|
MaterialSvr | Instance of the MaterialServer Interface to which the method is directed. |
StorageLocation | An instance of a StorageLocation object. |
ActivityDescription | Adds descriptive text to the activity journal for this operation. ( Optional ) |
Remarks
A StorageLocation can only be deleted if there are no Containers using it. There is no provision in this method to override this functionality, nor is there a way to unassociate the Containers that are using the StorageLocation.
Provide Feedback