Delete Resources
This command is used to delete all resources in the specified class including the dependent data, quantity values and relations.
If the class is a component that forms part of an Allocation, the related Allocation resources and the quantities for those Allocation are also deleted. This applies recursively, such that if a deleted resource is a component of an Allocation, and that Allocation is also a component of another Allocation, all the related resources are deleted.
- Syntax
-
Delete Resources: <class>;
- Example
- Delete all resources for class
“Products”
Delete Resources: Products;
- Exceptions
- If class is invalid, an error is reported, and nothing is
deleted.
APACS110=There is no class defined with name "{0}".
{0} = class name.