If I'm understanding correctly, you are trying to ...
# suitescript
e
If I'm understanding correctly, you are trying to delete all Work Orders that were created from a Sales Order which was created by a Web Services request.