$ 0 0 i have faced this problem before there is a field in purchreqline table make it enable and the problem will solve