How to confirm Purchase Return Voucher if following error ‘item series was not set’ or ‘Invalid Item series’ occurs on confirm button click?

Cause:
System will not allow to confirm Purchase Return voucher if item series is not set in the header.
Remedies:
User should select valid item series in the header part and before saving the Purchase return record.