SAP Message RE239 - Document &1 has document type &3 instead of the required doc. type &2

Diagnosis
You want to process a value adjustment document. However, this is notpossible since the original document specified has another documenttype (&V3&) than the one you have specified (&V2&).

Procedure
Enter either another document or another document type.