Outstanding balance query

Need some help?