SAP Message UCS0215 - Document type &1 is not assigned to any task

Diagnosis
Document type &V1& is not assigned to any task.
Note:
Documents have been posted with document type &V1&. It is possible thatthe associated task has been deleted from the task hierarchy.

Procedure
Do not delete tasks that have already posted documents.