Try ERPNext Buy Support Partners Foundation

Quality Inspection Status Issue

Hi Team,

I observed that if i set rejected for the one parameter in the Quality Inspection Reading table and set accepted status on QI form it is getting submitted. This scenario is ok for me because it is fine to get rejected in one parameter of reading table that’s why i put the status of the QI form as accepted.

But when i am trying to submit the delivery note with reference to this quality inspection, it throws error as rejected QI is attached to DN. Here erp code is checking status of reading table parameters of QI form not the status which i set for the form.

Logically on delivery note for the referenced quality inspection form only status which i set on the QI form have to be checked not the reading table status.

Looking for the help in logic correction.