Qty To Manufacture

When I click submit for job card, there’s message “Completed Qty cannot be greater than ‘Qty to Manufacture’” but, after I set Completed Qty to 0, there’s message " The Total Completed Qty(0.0 ) must be equal to Qty to Manufacture(1 )". How to fix this ?