yeah you are doing it correct.
you need to select all those lines, which need to settle and click settle button as shown in 1st screen.
and then you need to click Update Button, as we can see in your image2(lower image)
in your case system is asking you take action by clicking at Mark Payment to calculate discounts