await jsDocumentDelete(documentname)

Delete a document and set Refresh flag in global variables to "Yes"

Parameters:

- documentname | name of document to delete