Struggling with vendor payments

Andrew Sackville-West andrew at farwestbilliards.com
Wed Aug 10 13:02:26 EDT 2005



Andrew Sackville-West wrote:
> 

> A quick look at aging.scm suggest that lines 232 - 238 or so might help. 
> there's specific reference to listing "0" companies. basically, it looks 
> at the bill and if its closed, then it skips it. if its not closed then 
> it calls "do-update" which is the function that does the work (line 
> 179-). Try just "do-update"ing all values instead of not(is-paid?) ones...

try something like:

(if (and is-paid? optname-showzero-totals [or whatever you call the 
boolean])
  (do-update value)
  (if (not is-paid?)
  (do-update value)))

I think that will add in the company when its paid and the option is on 
or whne its not paid, and no other time. make sense?

Andrew
> 
> A
> 
>>
>> PS  I'm working on the script from the source tree of 1.8.11
> 
> 
> me too.
> 
> 
>> _______________________________________________
>> gnucash-user mailing list
>> gnucash-user at gnucash.org
>> https://lists.gnucash.org/mailman/listinfo/gnucash-user
>>
> _______________________________________________
> gnucash-user mailing list
> gnucash-user at gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> 


More information about the gnucash-user mailing list