PREC Error after V7 Bench Update

Moved to version 7 for a client. Getting this problem when submitting Purchase Receipt for a Sub Contract Purchase Receipt:

Debit and Credit not equal for Purchase Receipt #PREC-02285. Difference is 8591.96.

Any ideas how to overcome this problem?

Hi @JayRam,

Can you share complete traceback log of an error also if possible please share your scenario

Thanks, Rohit

Thanks. The only traceback I know is when the bench update throws up some errors. The difference (8591.96) is the exact Valuation amount of the raw material related to this transaction. So it looks like some code has gone wrong in the update.

Hi @JayRam,

I have checked sub contract for purchase receipt and it’s working fine. As this is related to specific use case can you please make an issue on Issues · frappe/erpnext · GitHub.

Thanks, Rohit

I did. But I’m certain this is not a problem related to a specific use case.