Mismatched qtys in JobProd.ReceivedQty & Received to Stock in Job Closing Screen

I have developed a BAQ to show the pending jobs for Job receipt to Inventory, For that i have took the reference of JobProd and JobHead table.
While cros checking, I have found the mismatched 'Receved to Stock ’ qtys between Job Closing Screen and JobProd.ReceivedQty for the same job.

Any process to recalculate the same or correction needed ?

1.Closing Screen -

2.ProbProd.ReceivedQty in Database -