Change aging.scm report intervals (0-30,31-60,...)

Derek Atkins warlord at MIT.EDU
Fri Aug 25 10:23:39 EDT 2017


Hi,

Eric Wheeler <gnucash-devel at lists.ewheeler.net> writes:

> Hello all,
>
> I'm trying to understand the aging.scm report and how it generates the 
> receivable aging.  Specifically, I would like to split the 31-60 range 
> into two ranges of 31-45 and 46-60.  Or, if simpler, just make the buckets 
> 15 days apart instead of 30 days apart.  
>
> We have notification policies around the 45-day mark and it would be great 
> to make this easier for our AR.
>
> Can someone point me in the right direction here?  Any help would be 
> greatly appreciated!

This is the code in aging.scm that sets it up:

(define (make-interval-list to-date)
  (let ((begindate to-date))
    (set! begindate (decdate begindate ThirtyDayDelta))
    (set! begindate (decdate begindate ThirtyDayDelta))
    (set! begindate (decdate begindate ThirtyDayDelta))
    (gnc:make-date-list begindate to-date ThirtyDayDelta)))

-derek
-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available


More information about the gnucash-devel mailing list