Posted/Under Posted amount compare between PC Sorted and ERP Sorted Values.

Hello guys I have a condition that I'm trying to get my posted amount is matching with posted/under post amount or not Please help me to solve my problem thanks.

Posted/Under Posted amount compare between PC Sorted and ERP Sorted Values