DeleteTestSpecification

Deletes a QA test specification record from the material database.
Syntax
Material
.
DeleteTestSpecification
(
TestSpecification
As TestSpecification,
ForceDelete
as Boolean)
The
DeleteTestSpecification
method syntax has these parts:
Part
Description
Material
Instance of the Material interface to which the method is directed.
TestSpecification
An instance of a QATestSpec object.
ForceDelete
TRUE | FALSE
TRUE
deletes the test specification and all details.
FALSE
deletes the test specification if there is no detail information. FALSE is the default for the argument, so the user must explicitly set to TRUE to cause a force delete to occur.
Remarks
This interface will not only delete the QA test specification — it will also delete all QA test specification details that are a part of the test specification.
The
ForceDelete
argument allows the user to delete a test specification and all associated test result data by setting the value to TRUE. If the value is set to FALSE and the test specification has associated test results, the test specification cannot be deleted.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal