-- Group: desktop
-- Name:  receivables
-- Notes: 
-- Copyright (c) 1999-2015 by OpenMFG LLC, d/b/a xTuple.
-- See www.xtuple.com/CPAL for the full text of the software license.

SELECT formatMoney(sum(araging_cur_val)) AS cur_val,
  formatMoney(sum(araging_thirty_val)) AS thirty_val,
  formatMoney(sum(araging_sixty_val)) AS sixty_val,
  formatMoney(sum(araging_ninety_val)) AS ninety_val,
  formatMoney(sum(araging_plus_val)) AS plus_val,
  formatMoney(sum(araging_total_val)) AS total_val 
FROM araging(current_date, false);
