SAP Message QM009 - Enter both purchasing document number and item

Diagnosis
You have specified a purchasing document item but no
purchasing document number.

Procedure
Enter the purchasing document number in addition to the item number.