BALANCE calculation in pending customers