-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 hello,
in the customer report, i wanted to change the invoice aging to be determined from the invoice's due date, rather than the post date. note that i have very little programming experience, and do not even know what language the scm file is written in! anyway, in business/business-reports/owner-report.scm of version 2.2.9, i changed line 164 to read: (due-date (gncInvoiceGetDateDue invoice))) and i also changed line 172 to read: (apply-invoice due-date bal)) it seems to work fine for customers that don't have any invoices due in the future. but, when that situation arises, gnucash throws a bunch of errors[1]. warlord says "most likely because the math is assuming all post dates are in the past." and "a future-date doesn't go into the correct bucket." a bucket, i guess, is one of the four categories that the invoices are put into? (like 0-30 days, 31-60 days, 61-90 days, and 90+ days?). so, my question, then, is how do i put the invoices with future due dates into the 0-30 days bucket (which i have altered to read "<30 days")? thank you 1. http://pastebin.com/pHU3p0kX -----BEGIN PGP SIGNATURE----- iEYEAREIAAYFAkwteREACgkQXhfCJNu98qC2WACdGOstJlbel6x/uPWEVhE3wAS5 3z4AnjbQfdKbYXmS9jtqaLA/hbR7bzXP =+Uso -----END PGP SIGNATURE----- _______________________________________________ gnucash-devel mailing list [email protected] https://lists.gnucash.org/mailman/listinfo/gnucash-devel
