Unable to delete if material consumption has been already posted automatically in document of
Goods module.
The following error is returned in this case:

Close the window clicking
.
Solution:
1. Unable to delete because automatic posting is already linked to
document.
2. If you want to delete the document nonetheless you first have to delete
all linked documents (automatic posting).