There is a hierarchical relationship between SampleID, Extraction result ID, Amplification result ID, and Enrichment ID.
The option to [delete] must be disabled if a parent has children. For example, you cannot delete a sample if it is associated with Extractions. To enable the Samples [delete] button, the user would need to delete the extractions first. The Extraction [delete] button would only be enabled if there were no children (Amplifications, Enrichments) and so on
This provides a more secure method to prevent accidental deletion
There is a hierarchical relationship between SampleID, Extraction result ID, Amplification result ID, and Enrichment ID.
The option to [delete] must be disabled if a parent has children. For example, you cannot delete a sample if it is associated with Extractions. To enable the Samples [delete] button, the user would need to delete the extractions first. The Extraction [delete] button would only be enabled if there were no children (Amplifications, Enrichments) and so on
This provides a more secure method to prevent accidental deletion